How to remove manual network interface settings

For hosts to achieve full-duplex operation following the uplink speed maintenance, speed and duplex configuration settings will need to be removed from your Self-Managed Server.

This article explains how to manually remove the connection parameters for hosts to full-duplex operation on Debian, Ubuntu, CentOS, AlmaLinux and Windows Server operating systems.

Debian and Ubuntu (ifupdown)

pre-up ethtool -s eno1 speed 100 duplex full autoneg off must be removed from /etc/network/interfaces

Ubuntu (netplan) 

The /etc/networkd-dispatcher/routable.d/10-enable-full-duplex file must be moved or deleted from that directory.

CentOS/AlmaLinux 

In the /etc/sysconfig/network-scripts/ifcfg-<network_interface> file the ETHTOOL_OPTS parameter must be set to

"", i.e.  ETHTOOL_OPTS=""

Windows

  1. Open the Device Manager from the “Run” dialog box by running the devmgmt.msc.
  2. Double-click on Network adapters and double-click on the correct adapter.
  3. Click the Advanced tab.
  4. In the Property list, click Speed & Duplex.
  5. The Speed & Duplex setting must be set to “Auto Negotiation”.
  6. Click OK.