35

Is there any way to measure precisely bandwidth between two computers in a LAN?

DavidPostill
  • 153,128
  • 77
  • 353
  • 394
Andre
  • 465
  • 1
  • 4
  • 8

1 Answers1

59

iPerf is designed to do exactly that and it is cross-platform. Download the version for your OS. On one of the computers run iperf -s (this is the server) and on the other run iperf -c <server hostname or IP> (this is the client). Then wait for the results. There are many options to tweak the measuring. Check iperf -hfor a complete list of options.

hanjo
  • 1,041
  • 8
  • 8
  • 1
    This was a useful reference for me on how to use iPerf: https://aws.amazon.com/premiumsupport/knowledge-center/network-throughput-benchmark-linux-ec2/ – Amin Nov 27 '21 at 12:18
  • On one computer run `iperf3 -s` then on the other computer run `iperf3 -c `. – Gunar Gessner Dec 02 '21 at 18:31