iperf Install and Setup – Linux Ubuntu
Linux prompt: ~$
To install iperf
~$ sudo apt-get update
~$ sudo apt-get install iperf
Executing iperf
On the Server Machine (PC)
o ~$ iperf –s –i5
On the Client machine (PC)
o ~$ iperf –c 192.168.1.140 –i5 –t60
Note:
-i# is the time in seconds the terminal will be updated with results
-t# is the length of the test in seconds
The IP address 192.168.1.### may be different for your machine
To run iperf from a selected IP source
o ~$ iperf –I (source IP address) (destination IP address)
To determine maximum bandwidth using a single CAT-5 cable between PC1 and PC2
o run iperf –s “on PC1”
o run iperf –c 192.168.1.140 –i5 –t60 “on PC2”
▪ #Mbytes
▪ #GBytes
Additional information;
https://linuxhint.com/iperf_command_usage/
ifconfig
~$ sudo apt install net-tools