Iperf is an easy-to-use free command line tool that allows us to measure our network bandwidth by generating artificial traffic. In some cases we use it even to check connectivity through Firewall. When Security department says that they opened required ports, sometimes IPERF proves that it’s not exactly true :). Such a tool can be useful if you want to test whether the network speed is fast enough for a certain application or not. You can also use it to troubleshoot network related problems.
Iperf is quite a sophisticated tool with many options. Some of them are for network professionals who want to fine tune network devices. However, if you just want to measure the network bandwidth, you don’t have to be a network expert to use Iperf.
First, you have to run Iperf on your server in server mode:
1 |
iperf -s |
Iperf will respond like this:
1 2 |
Server listening on TCP port 5001 TCP window size: 8.00 KByte (default) |
1 |
iperf -c 10.0.0.5 -t 30 |
1 2 3 4 5 6 7 8 9 10 11 |
Client connecting to 10.0.0.5, TCP port 5001 TCP window size: 8.00 KByte (default) ------------------------------------------------------------ [1912] local 10.0.0.211 port 1793 connected with 10.0.0.5 port 5001 [ ID] Interval Transfer Bandwidth [1912] 0.0-30.0 sec 680 MBytes 190 Mbits/sec |
Iperf is certainly a nice tool. It has many options allowing you to hunt down all kinds of network-related performance problems. However, I usually prefer tools with a graphical user interface, especially if I use them only once in a while. After not working with the tool for some time, I forgot its parameters and so I have to start reviewing its documentation again. If you know a free GUI tool with similar capabilities like Iperf, please let me know.
No responses yet