LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-23-2009, 11:21 AM   #1
Allesmachine
LQ Newbie
 
Registered: May 2007
Distribution: CentOS/RHEL/Fedora
Posts: 6

Rep: Reputation: 0
Question Ethtool settings not applying to CentOS eth interfaces


I have an issue with a few CentOS 5.4 servers where the interfaces are set to autoneg on a gigabit full duplex line but are defaulting to 100Mb/Half duplex or some other incorrect setting. I have tried using
Code:
ethtool -s eth1 speed 1000 duplex full autoneg off
and then restart the interface however it rejects this command:
Code:
ethtool -s eth1 speed 1000 duplex full autoneg off
Cannot set new settings: Invalid argument
  not setting speed
  not setting duplex
  not setting autoneg
I can run each setting separately and it accepts the commands however it immediately returns different settings when I run
Code:
ethtool eth1
to query the current value.

I also have tried to add the following options under the networking scripts for this interface:
Code:
ETHTOOL_OPTS="speed 1000 duplex full autoneg off"
This is also rejected as being invalid. Entering in the settings one line at a time is accepted by the shell but it doesn't actually affect the interface settings when I query the device.

Also, I tried this out on the one Red Hat server we actually have a license for and pay for a limited amount of support on and it works just fine!

WTF???

Can somebody provide some insight before I get out the sledge hammer?
 
Old 12-23-2009, 03:06 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Gig interfaces should always be set to auto-neg.

Are there any messages in /var/log/messages related to the network interfaces ?

Have you tried replacing the network cables with known good ones ?

Are all the servers identical models ?
 
1 members found this post helpful.
Old 12-24-2009, 08:33 AM   #3
Allesmachine
LQ Newbie
 
Registered: May 2007
Distribution: CentOS/RHEL/Fedora
Posts: 6

Original Poster
Rep: Reputation: 0
Someone had switched the cabling on the patch bay connectors for those servers. I switched them back to CAT6 and voila! what a wild goose chase, thanks!
 
  


Reply



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
No link detected using ethtool after interfaces file configured and system rebooted Mo-regard Linux - Networking 1 09-24-2009 06:23 AM
Wake on lan settings in ethtool p03p Linux - Networking 4 07-14-2009 06:11 AM
ethtool - Doesn't display settings lensem Linux - Networking 4 06-27-2008 12:15 PM
eth interfaces drop after a while agreenwood Slackware 2 01-31-2006 01:27 PM
Two eth interfaces, but one only with internet... Creak Linux - Networking 6 03-12-2005 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration