From Half duplex to Full duplex in GNU/Linux

Author:

From Half duplex to Full duplex in GNU/Linux

This can be one of the reasons for slow network performance with Linux.
one of the issues that I have faced was that the half duplex mode was selected with the network card and the network switch when the option of ‘auto negotiation’ was set to ON

We could not set this to full duplex with the auto negotiation option as ‘ON’, so when we tried without the auto negotiation option ‘OFF’, we were able to switch the network device to full duplex.

Use this to check for the settings on a network device such as eth0

ethtool eth0

Use this command to remove autonegotiation

ethtool -s eth0 autoneg off

Use this command to put the device to full duplex

ethtool -s eth0 duplex full

The above two commands can be added in a startup file

Leave a Reply

Your email address will not be published.