Tuesday, June 17, 2008

iperf to test network / gigabit connectivity

On the server

[root@server4]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.26 port 5001 connected with 192.168.1.11 port 44838
[ 4] 0.0-10.1 sec 242 MBytes 201 Mbits/sec


On the client

[root@client4]# iperf -f M -c 192.168.1.26
------------------------------------------------------------
Client connecting to 192.168.1.26, TCP port 5001
TCP window size: 0.02 MByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.11 port 36650 connected with 192.168.1.26 port 5001
[ 3] 0.0-10.0 sec 243 MBytes 24.3 MBytes/sec

No comments: