Unifi Switch 和 Unifi Dream Machine Pro 之间出现严重数据包丢失

Unifi Switch 和 Unifi Dream Machine Pro 之间出现严重数据包丢失

我为此绞尽了脑汁。我发现我的一台交换机的网络性能非常糟糕(数据包丢失严重)。简而言之,这个问题导致 VoIP 无法使用,导致某些应用程序间歇性挂起,这真的令人沮丧。

所有设备均已更新最新的软件/固件。

作为测试,我正在运行 iperf3,似乎我的 Switch 24 PoE 和 UDM Pro 之间丢失了数据包。此测试在连接到 UDP Pro 的客户端和在 Switch 24 上运行的服务器之间运行:

    Accepted connection from 10.0.0.22, port 58682
[  5] local 10.0.0.5 port 5201 connected to 10.0.0.22 port 53440
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec   104 KBytes   852 Kbits/sec  0.437 ms  0/13 (0%)
[  5]   1.00-2.00   sec  80.0 KBytes   655 Kbits/sec  0.393 ms  8/18 (44%)
[  5]   2.00-3.00   sec   112 KBytes   917 Kbits/sec  3.333 ms  0/14 (0%)
[  5]   3.00-4.00   sec  80.0 KBytes   655 Kbits/sec  2.022 ms  8/18 (44%)
[  5]   4.00-5.00   sec   112 KBytes   917 Kbits/sec  1.793 ms  0/14 (0%)
[  5]   5.00-6.00   sec  80.0 KBytes   655 Kbits/sec  1.255 ms  8/18 (44%)
[  5]   6.00-7.00   sec   112 KBytes   917 Kbits/sec  0.992 ms  0/14 (0%)
[  5]   7.00-8.00   sec  40.0 KBytes   328 Kbits/sec  1.144 ms  13/18 (72%)
[  5]   8.00-9.00   sec   112 KBytes   917 Kbits/sec  0.959 ms  0/14 (0%)
[  5]   9.00-10.00  sec  80.0 KBytes   656 Kbits/sec  0.844 ms  8/18 (44%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.01  sec   912 KBytes   746 Kbits/sec  0.844 ms  45/159 (28%)  receiver

如您所见,损失约为 28%,这对于本地网络上的短跳来说是很糟糕的。

当客户端和服务器都连接到 UDM Pro 时,我得到以下结果:

Accepted connection from 10.0.0.22, port 58784
[  5] local 10.0.0.10 port 5201 connected to 10.0.0.22 port 59176
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec   120 KBytes   983 Kbits/sec  0.408 ms  0/15 (0%)
[  5]   1.00-2.00   sec   128 KBytes  1.05 Mbits/sec  0.300 ms  0/16 (0%)
[  5]   2.00-3.00   sec   128 KBytes  1.05 Mbits/sec  0.556 ms  0/16 (0%)
[  5]   3.00-4.00   sec   128 KBytes  1.05 Mbits/sec  0.410 ms  0/16 (0%)
[  5]   4.00-5.00   sec   128 KBytes  1.05 Mbits/sec  0.377 ms  0/16 (0%)
[  5]   5.00-6.00   sec   128 KBytes  1.05 Mbits/sec  0.503 ms  0/16 (0%)
[  5]   6.00-7.00   sec   128 KBytes  1.05 Mbits/sec  8.344 ms  0/16 (0%)
[  5]   7.00-8.00   sec   128 KBytes  1.05 Mbits/sec  3.167 ms  0/16 (0%)
[  5]   8.00-9.00   sec   128 KBytes  1.05 Mbits/sec  1.454 ms  0/16 (0%)
[  5]   9.00-10.00  sec   128 KBytes  1.05 Mbits/sec  0.628 ms  0/16 (0%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.01  sec  1.24 MBytes  1.04 Mbits/sec  0.628 ms  0/159 (0%)  receiver

因此,仅使用 UDP Pro 显然不会出现任何问题。

当进行 icmp 测试/ping 时,它似乎会丢弃每个其他数据包,因此看起来像:

64 bytes from 10.0.0.251: icmp_seq=1481 ttl=64 time=7.697 ms
Request timeout for icmp_seq 1482
64 bytes from 10.0.0.251: icmp_seq=1483 ttl=64 time=1.348 ms
Request timeout for icmp_seq 1484
64 bytes from 10.0.0.251: icmp_seq=1485 ttl=64 time=2.794 ms
Request timeout for icmp_seq 1486
64 bytes from 10.0.0.251: icmp_seq=1487 ttl=64 time=1.298 ms
Request timeout for icmp_seq 1488
64 bytes from 10.0.0.251: icmp_seq=1489 ttl=64 time=1.959 ms
Request timeout for icmp_seq 1490
64 bytes from 10.0.0.251: icmp_seq=1491 ttl=64 time=9.319 ms
Request timeout for icmp_seq 1492
64 bytes from 10.0.0.251: icmp_seq=1493 ttl=64 time=1.525 ms

任何想法或建议都会非常有帮助 - 提前感谢。

答案1

我想我已经解决了这个问题 - 我不知道为什么,但是从我的网络中删除电力线适配器后,一切都按预期工作。

是时候将 cat6 放到房子里那个尴尬的地方了……

相关内容