[[linux_wiki:ethtool]]

Ethtool

General Information

Display and set ethernet interface settings.

Checklist

  • Distro(s): Enterprise Linux

Display Settings

To display the settings of a network interface:

ethtool eth0

Set Speed/Duplex

Set eth0 to 100 Mbps and full duplex

ethtool -s eth0 speed 100 duplex full autoneg off

To make speed settings permanent, edit the network script at /etc/sysconfig/network-scripts/ifcfg-eth0 and append:

For 100 Mbps

ETHTOOL_OPTS="speed 100 duplex full autoneg off"


For 1000 Mbps (1 Gbps)

ETHTOOL_OPTS="speed 1000 duplex full autoneg on"
  • Note: Gigabit requires autoneg to be on, even though you are manually specifying speed and duplex.

  • linux_wiki/ethtool.txt
  • Last modified: 2019/05/26 03:50
  • (external edit)