This repository explains how to use iPerf3 in the command line.
Clone the repository to your local machine using the following command:
git clone https://github.com/hilmiugurpolat/iperf3.git
Server Mode
To start iPerf3 in server mode, use the following command:
iperf3 -s
Client Mode
To start iPerf3 in client mode and connect to a server, use the following command:
iperf3 -c <server_ip_address>
Basic Commands
Start Server
iperf3 -s
Start Client
-
Clone the repository:
iperf3 -c <server_ip_address>
Example Commands
Run a Test for a Specific Duration (e.g., 60 seconds)
iperf3 -c <server_ip_address> -t 60
Specify a Different Port (default is 5201)
On the server:
iperf3 -s -p 5001
On the client:
iperf3 -c <server_ip_address> -p 5001
Run a Bidirectional Test (client to server and server to client)
iperf3 -c <server_ip_address> -d
Run a Reverse Test (server sends data to the client)
iperf3 -c <server_ip_address> -R