ethtool
Check status of eth0
Section titled “Check status of eth0”Check Ethernet driver
Section titled “Check Ethernet driver”lspci | grep EthernetCheck Ethernet kernel message
Section titled “Check Ethernet kernel message”dmesg | grep eth0Use ethtool to check Ethernet device
Section titled “Use ethtool to check Ethernet device”ethtool eth0
# Show feature of Ethernet deviceethtool -k eth0
# Show statictis of Ethernet deviceethtook -S eth0Force 1000 Mbps and full duplex on eth0
Section titled “Force 1000 Mbps and full duplex on eth0”ethtool -s eth0 speed 1000 duplex full autoneg off(CentOS / RHEL)
To make the changes permanent, edit /etc/sysconfig/network-scripts/ifcfg-eth0
ETHTOOL_OPTS="speed 1000 duplex full autoneg off"***Reference: ***