Just a quick write up showing how to setup a quick iPerf test between 2 hosts.

These come in handy when you need them.

Installation

The following guide is written for users utilizing Linux, and assumes you have installed iPerf onto your local system.

For Windows or Mac users, you can find the latest pre-compiled binaries on iPerf’s official website.

Server Setup

  1. Run
iperf -s

This will setup the current host as the SERVER, you’ll see a similar output as below:

server

Now go over to the client computer and run the steps below.

Client Setup

  1. Run
iperf -c <server to connect to> 

Replace <server to connect to> with the IP address of the server you setup before.

In our example, it is 192.168.2.198.

server

You’ll see the client establish a connection to the server and output the results on the screen.

server

You’ll also see the same from the server side.

server

Done.

Our results will be shown when test is completed, usually after a few seconds (depending on your network).

Additional Reference

For any additional commands or reference, check out:

Web:

https://iperf.fr/iperf-doc.php

CLI:

iperf --help
man iperf