`ping: local error: message too long, mtu=1500`
BeginnerTroubleshootingMTU, routing, packet loss and latency
Answer
Likely causes → You set -M do (don't fragment) with a size larger than the local interface MTU.
Diagnose →
ip link show eth0 | grep mtu
Fix → Use a size of MTU minus 28 for IPv4 (20 IP + 8 ICMP): ping -M do -s 1472. This is just a test sizing error, not a network problem.
Prevent → Remember the header math when probing PMTU.
More on MTU, routing, packet loss and latency
SSH connects, but the session freezes as soon as you run `ls` in a big directory or `cat` a large file.IntermediateHTTPS to a site over the VPN hangs after `Client hello`, while HTTP works.IntermediatePods on different nodes can ping each other, but HTTP responses larger than ~1.4 KB never arrive.Advanced`mtr` shows 30% loss at hop 6, but 0% at the final destination.Beginner`mtr` shows loss starting at hop 4 and continuing to the destination at 8–10%.IntermediateLatency between two app servers in the same region jumped from 0.5 ms to 40 ms.Intermediate