Usage Guidelines – Ubuntu 18.04 Minimal with iPerf3 Server

iPerf3 Server

Ubuntu 18.04 Minimal

Connection to Ubuntu 18.04 Minimal with iPerf3 Server

  1. After purchasing and starting the VM, you need to determine its IP address. You can find it in your Azure account by selecting the virtual machine from the list and clicking on the “Overview” tab. The IP address will be displayed under the “Public IP Address” line.
  1. You should allow access by ports 5200-5202 (TCP) and 5200-5202 (UDP), which you can do in the properties of the Azure firewall network.
  1. Download the iPerf3 client for your operating system to perform a speed check.

Download.

  1. To start the app, you need to run PowerShell or a console (right-click on the Start menu)
  1. In the console, navigate to the iPerf3 client installation directory (in our case this is > cd C:\Temp\iperf-3)
  1. To get help on usage, enter the > .\iperf3 -h command
  1. Enter the command for the connection speed check (for example, for 10 seconds test command is: “.\iperf3 -c xx.xx.xxx.xx -p 5201 -t 10” where instead of xx enter the IP address of your VM) 
  1. When the VM is started, the server is automatically turned on. If this doesn’t happen, you should connect to the VM using one of the following methods:

1. With OpenSSH

In the Windows 10 operating system (starting with version 1809), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a normal Windows command prompt and enter the command “ssh user@*vm_ip*” (1), where “user” is the username that was specified while creating the virtual machine and “*vm_ip*” is the VM IP address.

Then type “Yes” (2) and enter a password (3) that was specified while creating the virtual machine

2. With the PuTTY application 

To do this, you need the PuTTY application to connect via ssh. You can download it at the following link – Download

Run PuTTY, enter the VM address in the “Host” field, and click “Open” to connect.

In the opened console, you will need to enter a username (1) and password (2) that were specified while the VM was being created (you’ll not see the password in the console while entering it).

  1.  Check the status of the server by running the command
    > sudo systemctl status iperf3
  1. Type the command “iperf3 -s in order to run the server. 

By default, the server is listening on port 5201. To change the port, enter the command “iperf3 -s -p xxxx”, where instead of xxxx is the number of the required port.

Now you can use the iPerf3 Server on Ubuntu 18.04 Minimal

If you have any questions, please refer to the iPerf