/
setting up iperf3 on ubuntu 20.04

setting up iperf3 on ubuntu 20.04

Install iPerf

Make sure the package lists are up-to-date:

sudo apt update sudo apt install -y iperf3 iperf3 --version

Testing iPerf

For testing, we need to have two systems. One system will act as a server, while the other will act as a client. Of course, you can have both the server and the client on the same machine.

Run Command to start server

iperf3 -s

Server starts to listen client connections

Run the following command to connect client to server by providing IP address

iperf3 -c 192.168.048

Output example of server:

Output example of client:

Uninstall iPerf

If you want to completely remove iPerf and related dependencies, run the following command:

How to use iPerf3 to measure throughput/Bandwidth

Communicate between two machines

Use -b 0 flag for unlimited bandwidth to be shown

setup a server at one point using iperf3 -s

then use a client with iperf -c with commands above

Related content

Use ansible to deploy iperf3
Use ansible to deploy iperf3
More like this
Gateway performance testing Jan 2024
Gateway performance testing Jan 2024
More like this
Network Bandwidth Expectations
Network Bandwidth Expectations
More like this