Operating System - HP-UX
1837239 Members
2132 Online
110115 Solutions
New Discussion

Ethernet adaptor configuration - Full duplex mode

 
SOLVED
Go to solution
dobso
Occasional Contributor

Ethernet adaptor configuration - Full duplex mode

Hi all,

I have just one question, I have to change configuration of some eth. interfaces to full-duplex 100M, autonegotiation = off;

i did it :

lanadmin -X 100fd 0

but this settings will be flushed during the reboot. I checked files /etc/rc.config.d/hpbtlanconf & hpetherconf, but all lines are commented.

Where I may find the proper config file ?
This is not my machine, I am only support person.

Many thanks for your reply.

Best regards,

dobso
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: Ethernet adaptor configuration - Full duplex mode

The correct file depends on the driver for your card - use ioscan to check the driver then match it to this list:

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


Pete

Pete
dobso
Occasional Contributor

Re: Ethernet adaptor configuration - Full duplex mode

Hi, many thanks for your reply. Can you please take a look on this ioscan whole output:


(/etc/rc.config.d)(root)#ioscan -fnClan
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
lan 0 1/0/1/1/0/4/0 igelan CLAIMED INTERFACE HP A6794-60001 PCI 1000Base-T
lan 1 1/0/14/1/0/4/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan1 /dev/ether1 /dev/lan1
lan 2 1/0/14/1/0/5/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan2 /dev/ether2 /dev/lan2
lan 3 1/0/14/1/0/6/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan3 /dev/ether3 /dev/lan3
lan 4 1/0/14/1/0/7/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan4 /dev/ether4 /dev/lan4


what about 'igelan'?

Regards,

dobso
Pete Randall
Outstanding Contributor

Re: Ethernet adaptor configuration - Full duplex mode

That means lan0 is a gigabit interface and the config file will be /etc/rc.config.d/hpigelanconf. In this case you want to set it to auto-negotiate if you are connnected to a Gb switch port.


Pete

Pete
rick jones
Honored Contributor

Re: Ethernet adaptor configuration - Full duplex mode

Unless you know your switches are FUBAR, and have no hope of replacing them, it would be best to leave things on autoneg on both sides. While there have been historical issues with autonet on 100Base-T, when you want to start operating interfaces at gigabit speeds, autoneg is _required_ for gigabit speed.

FWIW, hard-coded on one end, and autoneg on the other is _not_ a valid configuration.
there is no rest for the wicked yet the virtuous have no pillows