2026-11-21
Every time I need iperf3 I re-derive the same five commands from man pages. Not again.
# server (both stacks) iperf3 -s # single TCP stream, download (server -> client) iperf3 -c <host> -t 30 -R # single TCP stream, upload iperf3 -c <host> -t 30 # UDP at a fixed rate, see loss/jitter iperf3 -c <host> -u -b 50M -t 10 # force IPv6 when a box has both stacks iperf3 -c <v6-host> # or -6 depending on build
Notes from breaking things:
-R reverses the direction, it does not mean "receive-only client". Getting this backwards mislabels half your results.-b sends 1 Mbps by default and measures nothing interesting.