Looking at your Linux system’s network interface with ethtool

The ethtool utility on Linux allows you to view and change some of your network-driver and interface-card settings, especially for wired devices. These include their speed, whether the interface uses auto-negotiation, whether it runs in half- or full-duplex mode, and other settings as well. Ethtool also provides an easy way to view or troubleshoot your network interface.

More than likely, ethtool is already available on your Linux system. However, to check, you can use one or both of these commands:

$ which ethtool
/usr/sbin/ethtool
$ sudo ethtool —version
ethtool version 5.13

To get a sense of how this utility can control settings, run a command like the one below. The -h means “help”. You’ll likely find yourself looking at 10 pages or so of syntax like what is shown here.

To read this article in full, please click here

Source:: Network World – Data Center