Iperf

Iperf is a tool to measure the bandwidth and the quality of a network link.

By default, the Iperf client connects to the Iperf server on the TCP port 5001 and the bandwidth displayed by Iperf is the bandwidth from the client to the server.

client side

[root@client]#iperf -c 192.168.2.131
------------------------------------------------------------
Client connecting to 192.168.2.131, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.2.110 port 46327 connected with 192.168.2.131 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   113 MBytes  94.9 Mbits/sec

server side

[root@server]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.131 port 5001 connected with 192.168.2.110 port 46327
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.1 sec   113 MBytes  94.1 Mbits/sec

Leave a comment