Iperf3 and ethtool usage

Hi,

Can you give me some advices about the usage of these two commands to troubleshoot a network?

In wich case shoud I consider to use them?

Can you give me some output and explain how to read it?

Thank you very much.

Hello Giovanni

Iperf and ethtool are two different tools used for different purposes.

Iperf is a tool used to measure network performance. It has a client and server functionality and creates data streams to measure the throughput between the client and server in one or both directions. Typical output of the tool contains a report which is time stamped and include information about the amount of data transferred and the measured throughput. An example of how it is used to examine bandwidth delay product, and traffic shaping can be found in these lessons:



Ethtool on the other hand is a Linux based tool that can be used to display and modify some parameters of network interface cards (NICs). Ethtool is used only locally on the specific server it is run on and examines NICs on the server itself. It can use commands to change various parameters including speed, duplex, autonegotiation, and flow control. Ethtool is not a network troubleshooting tool, but more of a network parameter configuration tool for servers.

I hope this has been helpful!

Laz