Using iPerf to test bandwidth

We can measure link bandwidth between two hosts by using iPerf.

Configure the server:

iperf -s -u

Configure the client:

iperf -c 172.20.255.254 -u -b 100m  -d -i 1

  1. -c Connect client to server at IP 172.20.255.254
  2. -u Use layer 4 transport protocol UDP instead of the default, TCP
  3. -b Send traffic over UDP and a bandwidth of 100 Mbit/s
  4. -d Make test in both directions
  5. -i Provide updates at 1 second intervals until test completes

 

 

References:

  1. https://www.sd-wan-experts.com/iperf-bandwidth-testing/
  2. https://fasterdata.es.net/performance-testing/network-troubleshooting-tools/iperf-and-iperf3/
  3. https://iperf.fr/