测速工具选择
- iperf3:
- 安装:使用包管理器安装iperf3,如:
sudo apt install -y iperf3
- 运行:在宿主A运行iperf3服务器,并在宿主B运行iperf3客户端,使用以下命令启动测试:
iperf3 -s 10...1
或者在客户端:
iperf3 -c 10...1
- 解读结果:查看输出,找到
秒,KiB后的值,即为带宽。WARNING: No such file or directory: /proc/sys/net/ipv4/ip_forward Failed to enable forwarding: Operation not allowed 10...1 10...2, 10...1: 10...2: 10...1 Features: 0x00000001 0x00000000 0x00000000 0x00000000 0 100 100 0 0 0 0 0 0 0 0 100 100 0 0 0 0 0 0 0 0 100 100 0 0 0 0 0 0 0 0 100 100 0 0 0 0 0 0 0 0 100 100 0 0 0 0 0 0 0 0 100 100 0 0 0 0 0 0 0 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10...2 10...1 10...2: 10...1: 10.
- 安装:使用包管理器安装iperf3,如:









