1833780 Members
2424 Online
110063 Solutions
New Discussion

duplex settings

 
SOLVED
Go to solution
Shahril M
Frequent Advisor

duplex settings

Hi,

How do I change the setting for my nic?

Current Speed = 100 Half-Duplex Auto-Negotiation-ON

I want to change to full.
Also, if I am experiencing problems with NFS and FTP, will it help if I turn autoneg to off? If so, how to?

TIA,
Shahril
15 REPLIES 15
Michael Tully
Honored Contributor
Solution

Re: duplex settings

# lanadmin -X 100FD 0

Changing this value should certainly help.

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
Anyone for a Mutiny ?
Balaji N
Honored Contributor

Re: duplex settings

hi,

another alternative is to edit the configuration file in /etc/rc.config.d/ to reflect the changes.

dont remember the exact file name.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Michael Tully
Honored Contributor

Re: duplex settings

You'll also need to update the appropriate NIC card file on your system.

One of these files will be the one.
btlan hpbtlanconf
btlan0 hpeisabtconf
btlan1 hpbasetconf
btlan3 hpbase100conf Internal (core) LAN card
btlan4 hpgsc100conf
btlan5 hppci100conf "external" PCI card A5230A
btlan6 hpsppci100conf V-class PCI lan card


Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: duplex settings

On the fly
#lanadmin -X 100FD

check this attachment to update the configuration file for the change.

Balaji N
Honored Contributor

Re: duplex settings

thanks for the doc TG. had it somewhere but have misplaced it.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Sunil Sharma_1
Honored Contributor

Re: duplex settings

Hi,

You can change your NIC setting using SAM or command lanadmin

It may help in your problem you are facing in NFS and NTP.
*** Dream as if you'll live forever. Live as if you'll die today ***
Steven E. Protter
Exalted Contributor

Re: duplex settings

I would not mess with sam on this one.

Also understand that if you are not using a Gigabit card and your HP box is going through a Cisco Switch and router, you must do all of the above AND.

Get the Cisco admin to set the port settings to explicit.

If the max on your card is 100 BaseT Full Duplex, that is what the switch port must be set to.

No autonegotiate or you will continue to have trouble.

Also, March 2003 Service Pack is a must along with NFS patches.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Shahril M
Frequent Advisor

Re: duplex settings

When it says:

Current Speed = 100 Half-Duplex Auto-Negotiation-ON

Does it mean that although, it is autodetect, it is currently 100 half?
Or the "100 Half-" is rendered meaningless?

Coz I have another server which shows:

Current Speed = 100 Full-Duplex Auto-Negotiation-ON

Would this then mean it has auto'd to 100full?
Balaji N
Honored Contributor

Re: duplex settings

hi,
it means it has been auto-negotiated to that speed.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Pete Randall
Outstanding Contributor

Re: duplex settings

It may well be that the port on the switch is set wrong, as well. For non-Gigabit NIC's, you have to set both the NIC and the switch port manually to 100FD, no auto-negotiate!


Pete

Pete
Massimo Bianchi
Honored Contributor

Re: duplex settings

Hi,
if you put the pine in the /etc/rc.config.d/* proper file change will be permanent.

The auto negotiation means the speed is handled by nic and switch, but often autosense switch do not choose the right speed, so it's best to have it fixed at boot time.

I had many troubles with some nic doing many negotiations and nothing else....

For FTP: there sould be an enhancement.

For NFS: there may be many issues, nfs on hpux in not very good. You may tune nfs parameters (nfsd and biod in /etc/rc.config.d/nfsconf) and your mount options (wsize=32768 and rsize=32768 should be sufficient for many applications)

HTH,
Massimo
Shahril M
Frequent Advisor

Re: duplex settings

One impt qn I forgot to ask:

Generally speaking, will changing the speed affect applications that are running?

Shahril
Shahril M
Frequent Advisor

Re: duplex settings

Clarification of my previous question:

I am concerned that changing the speed may cause the network connection to drop momentarily such that apps that are currently running may fail.
T G Manikandan
Honored Contributor

Re: duplex settings

Shahril,

Change in speed or difference in duplex and speed settings between the server and the switch will definitely have a impact on the application.


Higher the rate of speed more outgoing and incoming of packets to the serveri.e.transfer of files or data on the 100Mb should higher than 10Mb.

Also when there is a difference with the duplex and speed settings between the switch and the server the collisions are more and ultimately which affects the network performance,indirectly with the application.

So Just make sure that

1,The card is running at the right speed
2.THe duplex and speed settings on both the server and the switch end are same.

THanks
T G Manikandan
Honored Contributor

Re: duplex settings

If the duplex and speed settings match the switch then there must not be any drop of network connections.

You can change it on the fly.

But when there is a difference in duplex and speed settings with the switch it might drop the network connections for around 5 -10 seconds.

Thanks