This tool has to configure server side and client side to complete a test. It can test from client side to server side , also can test from both direction.
1. Download iperf 3
The main download site is from https://iperf.fr/iperf-download.php.
2. Start it as server
Running command 'iperf -s' from command line as iperf server (ip address 100.99.136.66).C:\Tools>iperf -s
------------------------------------------------------------Server listening on TCP port 5001TCP window size: 8.00 KByte (default)------------------------------------------------------------[188] local 100.99.136.66 port 5001 connected with 100.94.200.14 port 48410[ ID] Interval Transfer Bandwidth[188] 0.0-10.0 sec 121 MBytes 101 Mbits/sec
C:\tools>iperf -c 100.99.136.66
------------------------------------------------------------Client connecting to 100.99.136.66, TCP port 5001TCP window size: 8.00 KByte (default)------------------------------------------------------------[1912] local 100.94.200.14 port 48410 connected with 100.99.136.66 port 5001[ ID] Interval Transfer Bandwidth[1912] 0.0-10.0 sec 121 MBytes 101 Mbits/sec
4. Send 100MBytes data for testing
5. Bi-direction test
6. Parallel TCP connections
Add caption |
iperf -c 12.12.12.12 -p 2233 -i 1 -t 60 -f M
p:set specific server port, which should be same as server side's settings.
i:reporting intervals
t:length of test
f:change number output format