1834020 Members
2636 Online
110063 Solutions
New Discussion

Modifying lan0

 
SOLVED
Go to solution
Mark Duffy
Advisor

Modifying lan0

On an L Class running HPUX 11.00 I get the following output from a lanadmin ???x lan0

Current Speed = 100 Half Duplex

I need lan0 to run at full-duplex. I???ve tried to modify this using SAM and although it appears to allow the change to be made, whenever I review the settings lan0 still appears to be running at half duplex.
Can this be done on the command line using lanadmin?

While I???m on the subject, the weekend before last, our LAN guys decided to upgrade the OS on our Cisco switches from 5.5 to 6.3.5. This resulted in all our servers that have four port cards and use Auto Port Aggregation software to fail. After 3 days, HP discovered that the OS upgrade had altered the way PAGP works and had to supply me with a yet to be released patch (PHNE_25832).

I???m now concerned that this problem may be affecting the servers which only use lan0. The server I???m trying to set to full duplex is the only one I???ve rebooted since the OS upgrade on the switches. Following the reboot the lan0 card began to run at 10Mb and not 100 and at half duplex. I???ve since managed to get the card back to 100Mb but not full duplex.

Any help appreciated, my network knowledge is not the best!

Mark
7 REPLIES 7
Sanjay_6
Honored Contributor
Solution

Re: Modifying lan0

Hi Mark,

check the port setting on the switch to which your system's lan0 is connected. The port on the switch should be set to 100 FD, fixed, auto-neg off. Once the switch port is set, try to modify the lan0 on your system using sam. Set tha lan port to 100 Full Duplex, auto-ned off. It should work.

Hope this helps.

Regds
S.K. Chan
Honored Contributor
Uday_S_Ankolekar
Honored Contributor

Re: Modifying lan0

Try,

lanadmin -X 100FD ppa # or NMID # for lan 0
lanadmin -x ppa # show you current speed on the card
netstat -in would show you ppa# or NMID #

-USA

Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: Modifying lan0

Oops.. lanscan would show you NMID or PPA
Good Luck..
Tom Geudens
Honored Contributor

Re: Modifying lan0

Hi,
Normally (with direct effect) you would use
#lanadmin -X 100FD 0

Only do this if you're absolutely sure !!!

On a more permanent basis (reboot) you'll have to change your config file in /etc/rc.config.d
This file may differ depending on the type of card you're using, but here's the way to find it (taken from one of our systems)

root/sv00220#ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 0/0/0/0 btlan3 CLAIMED INTERFACE PCI Ethernet (10110019)
/dev/diag/lan0 /dev/ether0

root/sv00220#grep btlan3 /sbin/init.d/*
/sbin/init.d/hpbase100: BTLAN3_DRIVER=btlan3
...

root/sv00220#vi /etc/rc.config.d/hpbase100conf
# Alter the following things ...
HP_BASE100_INTERFACE_NAME[0]=lan0
HP_BASE100_STATION_ADDRESS[0]=
HP_BASE100_SPEED[0]=100FD

Hope this helps ...
Tom Geudens
A life ? Cool ! Where can I download one of those from ?
Mark Duffy
Advisor

Re: Modifying lan0

Thanks all for the quick responses.

The config on the port was set correctly but for some reason I could not make the changes within SAM.

lanadmin -X 100FD 0 worked. I'll now edit the hpbase100conf accordingly.

Thanks again,

Mark
Rita C Workman
Honored Contributor

Re: Modifying lan0

Hi Mark,

You have the info from the others..so I thought I'd add info for which file connects to which lan driver.

After you run ioscan -fkC lan and determine which lan you card is using you need to change (as was mentioned above) the file in /etc/rc.config.d/hp(file)

btlan0 = hpeisabtconf
btlan = hpbtlanconf
btlan1 = hpbasetconf
btlan3 = hpbase100conf
btlan4 = hpgsc100conf
btlan5 = hppci100conf
btlan6 = hpsppci100conf

Hope this helps...
Rgrds,
Rita