Home > How-Tos > Iperf – Bandwidth Measurement Tool

Iperf – Bandwidth Measurement Tool

April 15th, 2008

Need a simple way to test the bandwidth between two hosts that you have access to? If so, then just drop Iperf onto both machines. Launch one instance as the server

iperf -s

and the other as the client

iperf -c <Server IP>

then after 10 seconds you’ll have your result.

------------------------------------------------------------
Client connecting to 192.168.1.11, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local 192.168.1.21 port 1107 connected with 192.168.1.11 port 5001
[ ID] Interval       Transfer     Bandwidth
[1912]  0.0-10.0 sec  26.7 MBytes  22.4 Mbits/sec

Iperf is readily available as a binary for various operating systems, i.e.: Linux, FreeBSD MacOS, Windows, etc. The source code is also available.

For more information, or to download it, please visit the project’s homepage at http://dast.nlanr.net/Projects/Iperf/

Categories: How-Tos Tags: , ,
Comments are closed.