skipnothing/HTTP & Networking

MTU & Fragmentation

ping -M do -s 1472 example.com goes through, but bump the size to -s 1473 and it fails with "message too long": one byte past a limit set not by your machine, but by a link somewhere along the way.

  • ▸A packet that cleared your first hop can still die at a smaller link deeper in the path.
  • ▸Lose one piece of a split packet and the whole message is gone, not just that piece.
  • ▸TCP never gets fragmented: it settles the size up front, advertising a segment ceiling of its link minus 40 bytes.
BUILDS ON

Keep going, sign up to unlock the rest

4 more parts in this topic, plus 23+ more topics in HTTP & Networking.

Sign up, it's freeSee the full HTTP & Networking