root@pm3:~# ping -M do -s 1366 172.31.40.218
PING 172.31.40.218 (172.31.40.218) 1366(1394) bytes of data.
1374 bytes from 172.31.40.218: icmp_seq=1 ttl=124 time=64.4 ms
1374 bytes from 172.31.40.218: icmp_seq=2 ttl=124 time=62.8 ms
1374 bytes from 172.31.40.218: icmp_seq=3 ttl=124 time=62.8 ms
--- 172.31.40.218 ping statistics ---
3 packets transmitted, 3 received, +1 errors, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 62.755/63.295/64.358/0.751 ms
------------------------------------------------------------------------------------------
root@pm3:~# ping -M do -s 1370 172.31.40.218
PING 172.31.40.218 (172.31.40.218) 1370(1398) bytes of data.
1378 bytes from 172.31.40.218: icmp_seq=1 ttl=124 time=64.0 ms
1378 bytes from 172.31.40.218: icmp_seq=2 ttl=124 time=62.8 ms
1378 bytes from 172.31.40.218: icmp_seq=3 ttl=124 time=62.7 ms
--- 172.31.40.218 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 62.675/63.150/63.983/0.590 ms
------------------------------------------------------------------------------------------
root@pm3:~# ping -M do -s 1372 172.31.40.218
PING 172.31.40.218 (172.31.40.218) 1372(1400) bytes of data.
1380 bytes from 172.31.40.218: icmp_seq=1 ttl=124 time=63.9 ms
1380 bytes from 172.31.40.218: icmp_seq=2 ttl=124 time=62.7 ms
1380 bytes from 172.31.40.218: icmp_seq=3 ttl=124 time=62.5 ms
--- 172.31.40.218 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 62.501/63.030/63.936/0.643 ms
------------------------------------------------------------------------------------------
root@pm3:~# ping -M do -s 1373 172.31.40.218
PING 172.31.40.218 (172.31.40.218) 1373(1401) bytes of data.
ping: sendmsg: Message too long
ping: sendmsg: Message too long
ping: sendmsg: Message too long
--- 172.31.40.218 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2076ms