1847211 Members
9216 Online
110263 Solutions
New Discussion

Re: Lan duplex

 
SOLVED
Go to solution
kumar82
Occasional Advisor

Lan duplex

Can any one help me in checking the lan duplex
and modify it into full duplex mode.

from 10 hd to 100 fd
5 REPLIES 5
Jollyjet
Valued Contributor
Solution

Re: Lan duplex

kumar,


lanadmin will help you

lanadmin -x 0 ---> will help you to find the duplex version


lanadmin -X 0 100 fd ---> to change the duplex.
mobidyc
Trusted Contributor

Re: Lan duplex

Hello,

lanadmin is good comand for get/set duplex settings as said Jollyjet but it's not permanent, for keep your settings after a reboot:

if your card is btlan edit /etc/rc.config.d/hpbtlanconf
HP_BTLAN_INTERFACE_NAME[0]=lan0
HP_BTLAN_STATION_ADDRESS[0]=
HP_BTLAN_SPEED[0]=100FD
HP_BTLAN_MTU[0]=1500

same for gelan, igelan, iether card, edit /etc/rc.config.d/hpCARDTYPEconf

Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
rick jones
Honored Contributor

Re: Lan duplex

Unless your switch is hardcoded or otherwise broken, 99 times out of 10, a NIC under HP-UX should autoneg to full-duplex when full-duplex is possible. Hardcoding to full-duplex should not be necessary.

Attached is some boilerplate about autoneg.

If you are presently running 10 HD, I will bet that you are using a system which has a core or other NIC that is 10 Mbit/s only. That would include, but not be limited to, the D,E,F,G,H,I,K class servers, and most, but not all of the "three digit" workstations. If the NIC in question is driven by the "lan2" driver that is a 10 Mbit/s HD only interface (see ioscan -fk output)
there is no rest for the wicked yet the virtuous have no pillows
Raj D.
Honored Contributor

Re: Lan duplex

Kumar,

You can check # lanadmin -sx

Where PPA_Number is the lan number, and can be obtain from lanscan output.

To change the settings you have to enter the lan card in the driver file , in /etc/rc.config.d/hpigelanconf or hpietheconf , depending on the type of card.
# use , # ioscan -fnC lan to check.

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
kumar82
Occasional Advisor

Re: Lan duplex

I got a Solution thank's