Linux : Force network interface speed and duplex with EthTool

By | February 18, 2014

Here is a quick how to force your network interface speed and duplex on RHEL/CentOS Linux.

Make sure you have the network tools installed :

To apply the configuration without having to restart the network service or reboot your system, simply do this command with your settings :

Example :

The connectivity will be briefly interrupted. You may have to log into your server after applying it.

To make those changes permanent and survive to reboot, edit your network interface config file (this example assume your interface is eth0) :

Add this line at the end of your configuration file :

Again, an example with the values we used above :