# Iperf3 Installation ###### tags: `iperf` [TOC] --- ## 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](https://hackmd.io/_uploads/rky7D4NaT.png) --- ## 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](https://hackmd.io/_uploads/BkT9aQV66.png) Client Side output ![image](https://hackmd.io/_uploads/HkPfx4EaT.png) --- ## Step 3: Uninstall Iperf3 you can uninstall iperf with this following comment ``` sudo apt purge --autoremove -y iperf3 ``` ## Reference [Iperf installation](https://lindevs.com/install-iperf-on-ubuntu)