Install/Download iperf
First, Download iperf3 for your operating system from your operating systems package manager or download pre-compiled generic binaries here.
Debian-Based
apt-get install iperf3
RHEL-Based
yum install iperf3
Fedora 25+: dnf install iperf3
Windows
Download the iperf3 binary zip, unzip to a known location and open a command prompt in the folder where iperf3.exe is located.
Upload Test
Perform tests with the following settings, replacing SERVER with the iperf server to which you are testing.
UDP Test
iperf3 -c SERVER -p 5201 -ub 1G
(change 1G to your expected link speed. e.g. 10M for 10Mbps, 500M for 500Mbps or 1G for 1Gbps)
TCP Test
iperf3 -c SERVER -p 5201 -P 8 -l 1M
Dowload Test
UDP Test
iperf3 -c SERVER -p 5201 -ub 1G -R
(change 1G to your expected link speed. e.g. 10M for 10Mbps, 500M for 500Mbps or 1G for 1Gbps)
TCP Test
iperf3 -c SERVER -p 5201 -P 8 -l 1M -R
Comments