...
- Iperf is a commonly used network testing tool to help measure network throughput.
Iperf is an open source tool. There are clients for Windows, Mac, Linux, Bsd, etc. - Iperf operates where one end is the client, the other is the server. WiscNet runs an Iperf version 2 server in Eau Claire, WI.
- The server is restricted to WiscNet IP addresses.
- Iperf2 and iperf3 are incompatible
- iperf.wiscnet.net runs a TCP Iperf server on the default port (5001)
- iperf.wiscnet.net runs a UDP Iperf server on port 5002
- iperf.ipv6.wiscnet.net runs a v6 TCP Iperf server on port 5003
- iperf.ipv6.wiscnet.net runs a v6 UDP Iperf server on port 5004
Some common Iperf flags
Enter iperf -h or man iperf depending on your operating system. Here are some common flags:
Flag | Details | Example |
---|---|---|
-c | Client mode | -c |
-t | Time to run the test in seconds | -t 30 |
-P | Number of parallel connections | -P 2 |
-u | UDP (default is TCP) | -u |
-b | Bandwidth per thread | -b 250m |
-i | Interval between bandwidth reports in seconds | -i 1 |
-L | Listen on port | -L 6001 |
-r | bidirectional test | -r |
Examples
Unidirectional 1Gbps circuit test
Code Block |
---|
iperf -c iperf.wiscnet.net -t 10 -P 4 -u -b 250m -i1 |
Bidirectional 1Gbps circuit test
*Firewall settings and NAT may impact a bidirectional test
...