[SOLVED] Trying to change eth0 speed to 1000mbps but failing
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Trying to change eth0 speed to 1000mbps but failing
Hi ,
I am trying to change my network speed on my centos 6.4 box , but unable to change. I have tried the following , but to no avail. Appreciate some advice. Thank you.
before changing
Code:
[root@mx/]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
After changing - lost network connectivity ( this was done inside ILO )
Code:
[root@mx/]# ethtool -s eth0 speed 1000 duplex full autoneg on
[root@mx/]#
[root@mx/]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
to revert back , i had to restart the network . not sure what is wrong. 1st time seing this kind of issue
Is your cabling and connected device (router?) interface capable of supporting this speed? Normally auto-negotiation should achieve the same if the connected interfaces are capable.
the server is connected to a Pro Curve switch , other servers are in the segment are having no issue. Not sure why just this server is having this issue.
Hi ferrari ,
I am away from the DC atm , will be only be able to go DC tomorrow and have the cable replaced and check again the speed
. Will update again here tomorrow. Thanks again so much...
I agree on the cable. Even so called tested ones can do this.
However every once in a while you have to fully power down systems. For some reason the nic can get locked into the auto or select one speed and refuse to change. Both server and router may need to do this and keep cable off till you manually select speeds. Remove the auto negot.
turns out to be the cable the actual culprit , did the cable change and verified the speed ..set to 1000mbps and working fine. thanks so much.
I never reboot the server , works fine with 1207 days uptime . Happy New Year 2018 !! Thanks so much.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.