> aptitude install iperf ## Server side >iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 192.168.70.67 port 5001 connected with 192.168.70.88 port 50809 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 2.58 GBytes 2.21 Gbits/sec ## Client Side > iperf -c 192.168.70.67 -t 10 -i 2 ------------------------------------------------------------ Client connecting to 192.168.70.67, TCP port 5001 TCP window size: 16.0 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.70.88 port 50809 connected with 192.168.70.67 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 2.0 sec 523 MBytes 2.19 Gbits/sec [ 3] 2.0- 4.0 sec 520 MBytes 2.18 Gbits/sec [ 3] 4.0- 6.0 sec 522 MBytes 2.19 Gbits/sec [ 3] 6.0- 8.0 sec 542 MBytes 2.28 Gbits/sec [ 3] 8.0-10.0 sec 533 MBytes 2.23 Gbits/sec [ 3] 0.0-10.0 sec 2.58 GBytes 2.21 Gbits/sec ## Server Side , with port > debian2:~# iperf -s -p 80 ------------------------------------------------------------ Server listening on TCP port 80 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 192.168.70.67 port 80 connected with 192.168.70.88 port 47443 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 2.62 GBytes 2.25 Gbits/sec ## Client Side, with port > iperf -c 192.168.70.67 -p 80 -t 10 -i 2 ------------------------------------------------------------ Client connecting to 192.168.70.67, TCP port 80 TCP window size: 16.0 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.70.88 port 47443 connected with 192.168.70.67 port 80 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 2.0 sec 527 MBytes 2.21 Gbits/sec [ 3] 2.0- 4.0 sec 535 MBytes 2.24 Gbits/sec [ 3] 4.0- 6.0 sec 535 MBytes 2.24 Gbits/sec [ 3] 6.0- 8.0 sec 546 MBytes 2.29 Gbits/sec k[ 3] 0.0-10.0 sec 2.62 GBytes 2.25 Gbits/sec