Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Bidirectional 1Gbps circuit test

...

Note

Check your firewall settings and NAT to ensure port 6001 is open to your host


Code Block
themeConfluence
iperf -c iperf.wiscnet.net -t 10 -P 4 -u -b 250m -i1 -r -L 6001

...

By using the -u option, you have told iperf to use UDP packets, rather than TCP. UDP has no built in congestion avoidance, and iperf doesn't implement it either. When doing a UDP test, iperf requires that the bandwidth of the test be specified. If it isn't, it defaults to 1Mb/s. You can use the -b option to specify bandwidth to test. iperf will then send packets at the request rate for the requested period of time. The other end measures how many packets are received vs how many were sent and reports its results.

Installation Guides

Microsoft Windows

  • Download and extract iperf2: iperf-2.0.9-win32.zip
  • Right-click the downloaded iperf-2.0.9-win32.zip file and extract the contents of the .zip to any folder (seen here under \Users\Administrator)

...

  • Now you can run your desired iperf test:

Apple macOS

...

Code Block
themeConfluence
iMac:iperf-2.0.5-macos-x86_64 $ ./iperf -c iperf.wiscnet.net
------------------------------------------------------------
Client connecting to iperf.wiscnet.net, TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  5] local 10.0.10.100 port 51961 connected with 205.213.14.56 port 5001
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec   184 MBytes   154 Mbits/sec
iMac:iperf-2.0.5-macos-x86_64 $


*nix

  • Many Lunix and Unix distros will have iperf in official repositories. Make sure to install iperf2 (iperf), not iperf3

...