interface speed duplex setting
I am running Red Hat 7.1 kernel 2.4.20. How can I get the current speed/duplex of my eth2 interface? The switch it is connected to is 100/full but the eth2 infc is logging many TX errors (below). I think it is 100/half, but the networks script has this (below, below) in it....
[root@host network-scripts]# netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 013379582 0 0 0 9072290 0 0 0 BMRU
eth1 1500 019813392 0 0 0 6633275 0 0 0 BMRU
eth2 1500 013881368 0 0 0 8437309 1040339 0 0 BMRU
lo 16436 012577758 0 0 012577758 0 0 0 LRU
[root@host network-scripts]#
[root@host network-scripts]# cat ifcfg-eth2
DEVICE=eth2
BOOTPROTO=static
IPADDR=172.17.60.37
NETWORK=172.17.0.0
BROADCAST=172.17.255.255
NETMASK=255.255.0.0
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
[root@host network-scripts]#
|