

Go to the second Linux machine and run the following command iperf -c SERVER_IP, where SERVER_IP is the IP address of the first Linux box, running iperf in a server mode: iperf -c 192.168.37.79Ĭlient connecting to 192.168.37.79, TCP port 5001 You can see that our Linux machine is running iperf in a server mode ( -s option) which is listening at port TCP 5001. Go to the first Linux box and run the following command: iperf -s Run iperf on another machine in a client mode and connect to the server.Run iperf on any machine in a server mode.To make a speed test we need to do two things: Processing triggers for man-db (2.8.3-2). 227469 files and directories currently installed.) Selecting previously unselected package iperf. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 217 not upgraded.Īfter this operation, 176 kB of additional disk space will be used.
#Lan speed test linux install
Go to each of your two servers and run the following command to install iperf: sudo apt install iperf This is a very simple program that needs to be installed on both machines. The tool used for the bandwidth test is called iperf. I will use Ubuntu 18.04, but you can use any Linux distro you like(installation command will differ for non-Debian based Linux distro).

We can use simple laptops, desktops or even virtual machines for this purpose. We will connect a Linux machine at each point in you network and generate traffic between them. It will show you the actual network bandwidth between two points in your network. This guide will show you how you can perform a network speed test using two Linux machines.
