由于我家的基础设施,我决定最好关闭除交换机本身之外的所有设备的巨型帧。所以我家里的所有东西基本上都设置为 1500。不过,在不同设备上执行 ping -f -l 会返回不同的结果。因此,如果我从另一台交换机上的计算机 ping 同一台物理交换机上的两台不同计算机,我会得到:
MCE:1473 个数据包产生碎片,1472 个数据包至 1463 个数据包产生:
ping mce -f -l 1472
Pinging mce [192.168.0.2] with 1472 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
该计算机将显示正常 ping 命令 -f -l 1462
我的编码器 PC 会在 1473 个数据包时发生碎片化,但低于该值的任何数据包都可以正常 ping。我认为是 mce 计算机中的 Mellanox ConnectX-3 网卡的问题,但在这台计算机上我无法使用任何其他 10Gbe 卡。与旧系统存在太多兼容性问题。
知道为什么数据包区域没有显示碎片,但从 1472 到 1463 完全失败吗?我所有其他计算机都碎片化到特定的数据包大小,并且低于该大小 ping 正常。
mcuroute 返回:
mturoute.exe mce
* ICMP Fragmentation is not permitted. *
* Speed optimization is enabled. *
* Maximum payload is 10000 bytes. *
...- ICMP payload of 1472 bytes failed. (IP_REQ_TIMED_OUT)
+ ICMP payload of 92 bytes succeeded.
+ ICMP payload of 782 bytes succeeded.
+ ICMP payload of 1127 bytes succeeded.
+ ICMP payload of 1299 bytes succeeded.
+ ICMP payload of 1385 bytes succeeded.
+ ICMP payload of 1428 bytes succeeded.
+ ICMP payload of 1450 bytes succeeded.
+ ICMP payload of 1461 bytes succeeded.
.- ICMP payload of 1466 bytes failed. (IP_REQ_TIMED_OUT)
.- ICMP payload of 1463 bytes failed. (IP_REQ_TIMED_OUT)
+ ICMP payload of 1462 bytes succeeded.
Path MTU: 1490 bytes.