IP header at least 20 bytes
ICMP header 8 bytes
In Ethernet, the largest MTU is 1500, so we can at most try 1472.
Unix command
ping dest_ip -s 1472 -M do
-M: MTU discovery choice, valid choice: do (don't fragment bit will be 1), dont, want...
Change MTU
sudo ifconfig eth0 mtu 1500
Ping to Determine MTU along a route
最新推荐文章于 2023-08-14 22:06:34 发布