Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting NIC to 100 Full Duplex 3

Status
Not open for further replies.

SETRIP

IS-IT--Management
Apr 25, 2007
2
US
Im running Solaris 8. Just a few questions.

How do I set my NIC to 100 full duplex?
How do I verify that the NIC is at 100 full?

Let me know if you need any more information.

Thanks
 
There are different procedures for different interfaces. Here are a few I have dealt with:

Set network switch and network interface to forced 100 full-duplex



Interface in question: eri0



ndd -set /dev/eri instance 0

ndd -set /dev/eri adv_10hdx_cap 0

ndd -set /dev/eri adv_10fdx_cap 0

ndd -set /dev/eri adv_100hdx_cap 0

ndd -set /dev/eri adv_100fdx_cap 1

ndd -set /dev/eri adv_autoneg_cap 0



Note that the "adv_autoneg_cap" should be the LAST entry.



The following system parameters should be added to /etc/system to make permanent



set eri:adv_10fdx_cap=0

set eri:adv_10hdx_cap=0

set eri:adv_100T4_cap=0

set eri:adv_100hdx_cap=0

set eri:adv_100fdx_cap=1

set eri:adv_autoneg_cap=0



***Note that interfaces hem & qfe use different syntax. bge and ce use different procedures:



set hme:hme_adv_autoneg_cap=0

set hme:hme_adv_100fdx_cap=1



ndd -set /dev/hme adv_100fdx_cap 1

ndd -set /dev/hme adv_autoneg_cap 0



The bge interface is not configured via the /etc/system file...



Update or create the file "/platform/sun4u/kernel/drv/bge.conf" with the following contents:



adv_1000fdx_cap=0;

adv_1000hdx_cap=0;

adv_100fdx_cap=1;

adv_100hdx_cap=0;

adv_10fdx_cap=0;

adv_10hdx_cap=0;

adv_autoneg_cap=0;



... and reboot.



This will force all the bge interfaces to 100/Full.





The ce interface can also be configured in the same manner:



Update or create the file "/platform/sun4u/kernel/drv/ce.conf" with the following contents:



adv_1000fdx_cap=0;

adv_1000hdx_cap=0;

adv_100fdx_cap=1;

adv_100hdx_cap=0;

adv_10fdx_cap=0;

adv_10hdx_cap=0;

adv_autoneg_cap=0;



... and reboot.



This will force all the ce interfaces to 100/Full.

 
Hey man, thanks a lot for the information.
 
Spamly

thanks for the link. While I know my way around AIX (and a few other flavors), Sun is largely unknown to me. The script at that URL has lots of good stuff in it.

sbrews
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top