测试Linux设备MTU值得方法
ping -c 2 -M do -s1472 192.168.86.2PING 192.168.86.2 (192.168.86.2) 1472(1500) bytes of data.1480 bytes from 192.168.86.2: icmp_seq=1 ttl=255 time=2.69 ms1480 bytes from 192.168.86.2: icmp_seq=2 ...
ping -c 2 -M do -s 1472 192.168.86.2
PING 192.168.86.2 (192.168.86.2) 1472(1500) bytes of data.
1480 bytes from 192.168.86.2: icmp_seq=1 ttl=255 time=2.69 ms
1480 bytes from 192.168.86.2: icmp_seq=2 ttl=255 time=2.74 ms
--- 192.168.86.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 2.691/2.720/2.749/0.029 ms
ping -c 2 -M do -s 1572 192.168.86.2
PING 192.168.86.2 (192.168.86.2) 1572(1600) bytes of data.
From 192.168.86.63 icmp_seq=1 Frag needed and DF set (mtu = 1500)
From 192.168.86.63 icmp_seq=1 Frag needed and DF set (mtu = 1500)
--- 192.168.86.2 ping statistics ---
0 packets transmitted, 0 received, +2 errors
更多推荐
所有评论(0)