Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-13-2011, 03:19 AM
|
#1
|
Member
Registered: May 2008
Location: INDIA
Distribution: RHEL
Posts: 171
Rep:
|
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
|
|
|
03-14-2011, 07:06 AM
|
#2
|
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339
|
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.
|
|
|
03-19-2011, 05:01 PM
|
#3
|
Member
Registered: May 2008
Location: INDIA
Distribution: RHEL
Posts: 171
Original Poster
Rep:
|
Hi Reuti
Hi Reuti,
Thanks a lot for your information. extremely sorry for late response.
Thanks
JNReddy
|
|
|
03-19-2011, 05:05 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally Posted by Reuti
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.
|
|
|
03-19-2011, 09:31 PM
|
#5
|
Member
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 269
Rep:
|
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.
|
|
|
03-20-2011, 11:50 PM
|
#6
|
Member
Registered: May 2008
Location: INDIA
Distribution: RHEL
Posts: 171
Original Poster
Rep:
|
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 06:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|