LKBEN11489: Network speed test with iperf on linux


You need to test your ethernet speed on windows, android, iphone, ipad, ubuntu, debian, fedora, freebsd or whatever system you have


Troubleshooting network performance...


Iperf is available for almost any system you can think of. It is a tool for active measurements of the available bandwidth on IP network. It supports various parameters related to timing, buffers and protocols. It can use TCP, UDP, IPv4 or IPv6. It report the bandwidth, loss and some other parameters.

To use it you need a server and a client. Server and client can run different operating systems. You can run it as a daemon in the background or use it ad hoc.

First you start a server with the following command:

iperf -s

On the other side you need a client which can be startet with the command:

iperf -c ipaddress-of-the-server


iperf -c hostname-of-the-server

Now you wait a few seconds and it will show you a report like this:

In this case we have 94,4 MBit per second.



The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 11/01/2021 | Comment: