LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-13-2011, 01:19 AM   #1
jnreddy
Member
 
Registered: May 2008
Location: INDIA
Distribution: RHEL
Posts: 159

Rep: Reputation: 15
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
 
Old 03-14-2011, 06:06 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 1,319

Rep: Reputation: 252Reputation: 252Reputation: 252
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.
 
Old 03-19-2011, 04:01 PM   #3
jnreddy
Member
 
Registered: May 2008
Location: INDIA
Distribution: RHEL
Posts: 159

Original Poster
Rep: Reputation: 15
Thumbs up Hi Reuti

Hi Reuti,

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

Thanks
JNReddy
 
Old 03-19-2011, 04:05 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
Quote:
Originally Posted by Reuti View Post
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.
 
Old 03-19-2011, 08:31 PM   #5
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 268

Rep: Reputation: 42
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.
 
Old 03-20-2011, 10:50 PM   #6
jnreddy
Member
 
Registered: May 2008
Location: INDIA
Distribution: RHEL
Posts: 159

Original Poster
Rep: Reputation: 15
Hi computerErik

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


Thanks
JNReddy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change from half-duplex to full-duplex on a gigabit nic brgsousa Linux - Software 4 05-29-2010 11:03 AM
what is the command to get network interface index, speed, duplex and negotiation? pvkdevi Linux - Networking 1 11-24-2009 03:25 AM
NIC Duplex Mode deeemster Fedora 1 03-21-2006 04:26 PM
Speed/Duplex NIC card dherve Linux - Networking 1 11-23-2005 07:52 PM
NIC link speed and duplex joe_wilkins2001 Linux - Networking 1 03-03-2005 09:07 PM


All times are GMT -5. The time now is 07:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration