内网速度测试
目的
测试网线是否是千兆
测试方法
两台设备网线直连或连同一个交换机/路由器,A和B,通过测试工具iperf
发送包,进行测试。
使用iperf
工具,进行测试。
iperf
支持所有环境,Windows/Linux。
iperf
工具使用实例
1.下载iperf
两个设备都要下载
ubuntu下载命令:apt install iperf3
2.下载后解压
3.测试网速
wimdows:使用cmd启动
启动命令:
1 2 3 4
| # 启动服务端 iperf3 -s # 客户端连接,ip为服务端ip iperf3 -c 192.168.x.x
|
4.测试结果
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| root@pve:~ ----------------------------------------------------------- Server listening on 5201 (test ----------------------------------------------------------- Accepted connection from 192.168.0.100, port 56597 [ 5] local 192.168.0.201 port 5201 connected to 192.168.0.100 port 56598 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 109 MBytes 912 Mbits/sec [ 5] 1.00-2.00 sec 108 MBytes 909 Mbits/sec [ 5] 2.00-3.00 sec 109 MBytes 916 Mbits/sec [ 5] 3.00-4.00 sec 109 MBytes 912 Mbits/sec [ 5] 4.00-5.00 sec 109 MBytes 914 Mbits/sec [ 5] 5.00-6.00 sec 109 MBytes 911 Mbits/sec [ 5] 6.00-7.00 sec 109 MBytes 917 Mbits/sec [ 5] 7.00-8.00 sec 109 MBytes 915 Mbits/sec [ 5] 8.00-9.00 sec 109 MBytes 916 Mbits/sec [ 5] 9.00-10.00 sec 108 MBytes 904 Mbits/sec [ 5] 10.00-10.01 sec 691 KBytes 883 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.01 sec 1.06 GBytes 913 Mbits/sec receiver ----------------------------------------------------------- Server listening on 5201 (test -----------------------------------------------------------
|