• For some reason that is a complete mystery to me, RHEL does not give you the link status when you run # ifconfig -a. This makes it incredibly hard to debug link integrity issues! Buried amongst all of Red Hat’s proprietary commands, however, is a utility called ethtool, which does give you the status of your link.

    Since ethtool is used for querying settings of an ethernet device and changing them, it does a lot more than just give link status. Amongst other things, you can use it to turn on or off autonegotiation on your network card. Run # /sbin/ethtool -h for full usage.

    Here’s how you use it to see if your server has link:

    # /sbin/ethtool eth0

    You should see something like this:

    Settings for eth0:
            Supported ports: [ TP ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
            Advertised auto-negotiation: Yes
            Speed: 1000Mb/s
            Duplex: Full
            Port: Twisted Pair
            PHYAD: 1
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: g
            Wake-on: d
            Link detected: yes
    

    This entry was posted on Friday, February 16th, 2007 at 12:17 pm and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 0 Comments

    Take a look at some of the responses we've had to this article.

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message:

Visitors have tagged this post: t (560) - ifconfig speed (373) - ifconfig link speed (349) - ethtool operation 3 not supported (287) - ethtool (240) - ifconfig duplex (159) - ethtool link detected (130) - ethtool usage (127) - ethtool phyad (125) - ifconfig speed duplex (119) - ifconfig status (88) - ethtool solaris (87) - linux link status (79) - solaris ethtool (76) - ethtool link status (75) - linux ifconfig link speed (75) - ethtool link speed (74) - rhel ifconfig (73) - ifconfig link status (72) - linux ifconfig speed (71) - ethtool link (62) - ifconfig link (62) - vmware ethtool (57) - ifconfig 100 full (50) - ethtool link detected = no (49) - ethtool Operation not supported (49) - linux ethernet link status (47) - ethtool supported ports (46) - ifconfig port speed (44) - ethtool Link detected: no (43) - ethtool vmware (41) - ifconfig does not work (40) - ifconfig auto (40) - linux eth0 status (40) - solaris 10 ifconfig (38) - PHYAD ethtool (38) - ifconfig auto negotiate (37) - linux network link status (37) - solaris 10 link status (37) - linux ifconfig link status (36) - ifconfig full duplex (35) - ifconfig link-status (33) - redhat ifconfig (32) - ethtool redhat (32) - Linux ifconfig full duplex (32) - ethtool Link detected no (32) - ethtool ifconfig (30) - redhat link speed (30) - ifconfig duplex speed (30) - solaris NIC status (30) - ipconfig does not work (30) - ethtool for solaris (30) - link status (30) - redhat ethtool (30) - ethtool status (29) - ethtool advertised (28) - f (28) - how to use ethtool (28) - link status linux (28) - solaris ifconfig speed (27) - ifconfig network speed (27) - ifconfig interface speed (27) - redhat ipconfig (26) - RHEL commands (25) - ethernet link status linux (25) - ethtool operation 3 (25) - ifconfig RHEL (24) - link speed ifconfig (24) - eth0 link speed (23) - Solaris ifconfig duplex (22) - ifconfig auto negotiation (22) - ifconfig ethtool (22) - RHEL ethtool (22) - linux nic link status (22) - Linux ifconfig status (22) - ifconfig full (21) - ifconfig autonegotiation (21) - ifconfig eth0 speed (21) - ethtool port (21) - ethtool autoneg (21) - linux ifconfig duplex (21) - ifconfig speed linux (20) - ifconfig autonegotiate (20) - linux eth status (20) - ethtool rhel (20) - solaris link status (20) - ifconfig 1000baseT (19) - solaris 10 ethtool (19) - redhat 5 ifconfig (19) - ethtool auto (19) - ethtool operation 5 not supported (19) - linux check link status (19) - ifconfig 100baset (18) - ifconfig negotiation (17) - ethtool speed (17) - RHEL 5 ifconfig (17) - linux: ifconfig + duplex (16) - ifconfig autoneg (16) - ipconfig for redhat (16) - ethtool operation 3 not supported vmware (15) - ethtool does not work (14) - link status solaris (14) - ethtool link not detected (14) - ipconfig redhat (14) - linux ifconfig network speed (13) - ifconfig redhat (13) - ethtool auto-negotiation (13) - ethtool "Advertised link modes" (13) - redhat ifconfig duplex (13) - ethtool Solaris 10 (13) - linux ifconfig interface speed (13) - Link detected: yes (13) - ifconfig eth speed (13) - ethtool Link detected: yes (13) - red hat 5 ifconfig (13) - ifconfig 100 (13) - \"ethtool operation 3 not supported\ (13) - solaris link speed (12) - redhat link status (12) - "link status" linux (12) - rhel4 ethtool (12) - ipconfig duplex (12) - Link detected: no ethtool (12) - eth0 link status (12) - link status solaris 10 (12) - how does ifconfig work (12) - ifconfig centos 5 (12) - ethtool autonegotiate (11) - linux eth link status (11) - linux ifconfig port speed (11) - solaris network link status (11) - ethtool for Solaris 10 (11) - ifconfig full-duplex (11) - vmware ethtool operation 3 not supported (11) - ifconfig connection speed (11) - solaris auto negotiate (10) - solaris ifconfig (10) - linux duplex ifconfig (10) - ifconfig speed and duplex (10) - nic status solaris (10) - linux eth0 link status (10) - linux eth speed (10) - Linux ifconfig Link (10) - linux ifconfig auto (10) - ethtool port speed (10) - ipconfig in redhat (10) - ifconfig interface status (10) - ethtool vs ifconfig (10) - ethtool Port: Twisted Pair (10) - ethtool \"Link detected: no\ (10) -