How to Testing Network Bandwith With Iperf

How to test network speed with iperf

Install iperf

1
sudo apt-get install iperf3

Testing network speed

Testing network speed with UDP

  • Run command on server

    1
    
    iperf -s -u
    
  • Run command on client

    1
    
    iperf -c -u
    
  • Testing network speed with TCP

    • Server side.
    1
    
    iperf -s
    
    • Client side.
    1
    
    iperf -c
    

Command for

1
2
3
4
5
6
-s  server
-c client + server IP
-u udp
-b bandwith(the max bandwidth
-t time,how long to send packet.
-i interval  output per seconds.
Built with Hugo
Theme Stack designed by Jimmy