LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NIC-Duplex-Negotiation (https://www.linuxquestions.org/questions/linux-server-73/nic-duplex-negotiation-868246/)

jnreddy 03-13-2011 01:19 AM

NIC-Duplex-Negotiation
 
Hello Friends and Gurus,


I have a task to do,we are having RHEL5,RHEL4,Solaris8,9, and 10 Boxes.

my task is whichever box is running in Half Duplex and Auto-negotiation is off.I need to set them to Full Duplex, Auto-Negotiation = on.

I googled for Linux with ethtool and Mii-tool command we can do the task.

example: for eth0:

ethtool -s eth0 speed 1000 duplex full

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Append following line:
ETHTOOL_OPTS="speed 1000 duplex full autoneg on"

service network restrat.

I need your all suggestions the above procedure will do my tasks, or i need any more things to do.

Please guide for solaris.....


Thanks
jnreddy

Reuti 03-14-2011 06:06 AM

AFAIK auto-negotiation is mandatory for gigabit connections. So it should be sufficient to switch this on. OTOH settting auto-negotiation on and then setting things by hand sounds contradictory.

jnreddy 03-19-2011 04:01 PM

Hi Reuti
 
Hi Reuti,

Thanks a lot for your information. extremely sorry for late response.

Thanks
JNReddy

acid_kewpie 03-19-2011 04:05 PM

Quote:

Originally Posted by Reuti (Post 4290087)
AFAIK auto-negotiation is mandatory for gigabit connections. So it should be sufficient to switch this on. OTOH settting auto-negotiation on and then setting things by hand sounds contradictory.

Yes, my understanding is that gig MUST do negotiations in order to come up properly, as the protocol was written with this in mind, as opposed to 10/100 negotation which was a late addition when 100/full came along without writing a proper standard for it., and so pretty ropey.

ComputerErik 03-19-2011 08:31 PM

You can't have it both ways, speed and duplex configuration need to be either hard coded or set to auto. While it is possible to manually configure speed and duplex (remember you will need to do this at the switch as well as NIC) on some devices it is generally best left set to auto in a gig environment.

jnreddy 03-20-2011 10:50 PM

Hi computerErik
 
Thank you ComputerErik we planned to set both Nic and switch to put auto....


Thanks
JNReddy.


All times are GMT -5. The time now is 02:41 AM.