-
-
Notifications
You must be signed in to change notification settings - Fork 2
Linux iperf3 Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to iperf3 on Linux, covering Arch Linux, CachyOS, and other distributions including network performance testing, bandwidth measurement, and network diagnostics.
Arch/CachyOS:
# Install iperf3
sudo pacman -S iperf3Debian/Ubuntu:
sudo apt install iperf3Fedora:
sudo dnf install iperf3Check iperf3:
# Check version
iperf3 --version
# Check help
iperf3 --helpStart server:
# Start server
iperf3 -s
# On specific port
iperf3 -s -p 5201Connect to server:
# Connect to server
iperf3 -c server-ip
# On specific port
iperf3 -c server-ip -p 5201Start server:
# Default server
iperf3 -s
# Server on port 5201
iperf3 -s -p 5201
# Server with JSON output
iperf3 -s -JAdvanced options:
# Server with interval
iperf3 -s -i 1
# Server with one connection
iperf3 -s -1Test connection:
# Basic test
iperf3 -c server-ip
# Test duration
iperf3 -c server-ip -t 60
# Test bandwidth
iperf3 -c server-ip -b 100MAdvanced options:
# Parallel streams
iperf3 -c server-ip -P 4
# Reverse test (server sends)
iperf3 -c server-ip -R
# UDP test
iperf3 -c server-ip -uMeasure bandwidth:
# Server
iperf3 -s
# Client (on another machine)
iperf3 -c server-ip -t 60Test throughput:
# Multiple streams
iperf3 -c server-ip -P 8
# Bidirectional
iperf3 -c server-ip --bidirCheck network:
# Test connectivity
ping server-ip
# Check firewall
sudo firewall-cmd --list-all
# Check iperf3 service
systemctl status iperf3This guide covered iperf3 installation, network testing, and performance measurement for Arch Linux, CachyOS, and other distributions.
- Network Utilities - Network tools
- Networking - Network setup
- iperf3: https://iperf.fr/
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.