Iperf3 Installation

tags: iperf


Step 1: Install Iperf3

  • Iperf is a tool for testing network performance (speed, latency, etc)
  • iperf suport for TCP, UDP and SCTP protocols

Update the package list

sudo apt update

install iperf3 using the following command:

sudo apt install -y iperf3

Check the version of iperf, and intall successfully:

iperf3 --version

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →


Step 2: Testing Iperf3

For testing, we need to have two systems. One system will act as a server, while the other will act as a client. Of course, you can have both the server and the client on the same machine. The testing that simulated here use VM1 free5gc(192.168.1.222) as a server and VM2(192.168.1.212) UE as a client

Run this comment for server side:

iperf3 -s

server start to LISTEN client connection

Run this following comment to client side

iperf3 -c 192.168.1.222

Server side output

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Client Side output
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →


Step 3: Uninstall Iperf3

you can uninstall iperf with this following comment

sudo apt purge --autoremove -y iperf3

Reference

Iperf installation