Concepts / Troubleshooting and ICMP

Troubleshooting and ICMP

Path MTU discovery

Also called PMTUD, fragmentation needed, PMTU black hole

Learning the largest packet a whole path carries, from the routers' ICMP messages.

The router says what fits; a firewall can silence it
The router says what fits; a firewall can silence it

The sender marks packets Don't Fragment. A router whose next link is smaller drops the packet and answers with ICMP fragmentation needed, naming its MTU (1400), and the sender sends smaller from then on. A firewall that drops all ICMP hides that answer: small packets still pass, so the page loads, but every full-size packet vanishes and the big download hangs, a black hole.

A packet with Don't Fragment that is too big for a link is dropped, and the router sends back ICMP fragmentation needed with the MTU that fits. The sender remembers it per destination. When a firewall drops those messages, large packets vanish without explanation: a black hole, where small requests work and big transfers hang.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab