Ethtool unable to determine speed and duplex values of interface even though interface is up
Issue
- Network interface eth2 does not work properly and needs to be used.
- Speed and Duplex can not be determined.
# ethtool eth2
Settings for eth2:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (65535)
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: no
# cat ifcfg-eth2
# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
DEVICE=eth2
BOOTPROTO=static
DHCPCLASS=
HWADDR=D8:D3:85:A4:A0:FA
IPADDR=195.42.52.72
NETMASK=255.255.255.0
ONBOOT=yes
# ajout PCH
ETHTOOL_OPTS="speed 1000 duplex full autoneg on"
Environment
- Red Hat Enterprise Linux 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.