1 頁 (共 1 頁)

[iPerf] 介紹與教學

發表於 : 2023-02-24, 15:42
Lexaul
官網
https://software.es.net/iperf/index.html#
下載
https://iperf.fr/iperf-download.php
教學(Ubuntu)
https://lindevs.com/install-iperf-on-ubuntu

Configure network settings:
1. Connect two systems (E.g., target and laptop) by directly plugging a cable between them.
2. Ensure that both systems are on the same local network and are using the correct LAN interface.

For example we have system A and system B:
A:
Ipv4: 192.168.0.1
Netmask: 255.255.255.0
Gateway: 192.168.0.10
B:
Ipv4: 192.168.0.2
Netmask: 255.255.255.0
Gateway: 192.168.0.10

Linux (Ubuntu 20.04)




Set up iperf server on your laptop:
1. Execute iperf.exe by using below command:
C:\Users\user\iperf-3.1.3-win64\iperf3 -s
2. If a pop-up window appears, please accept the firewall permission.


Move to target system:
Use iperf -c 192.168.0.1 to test out the connection.
Log from testing platform

Results from server


For Linux(Ubuntu 20.04 for Example)
1 Install iperf3:
sudo apt install iperf3 -y
2. Run the commands:
iperf3 -s / iperf3 -c <ip>

End of testing.