Path MTU discovery in practice
Feb 4, 2015Marek Majkowski

Summary
This post details a specific networking challenge encountered with Path MTU discovery, particularly affecting users with IPv6 tunnels. It explains the underlying mechanisms of MTU, fragmentation, and ICMP messages, and how Cloudflare's internal ECMP routing inadvertently broke Path MTU discovery by misrouting ICMP messages. The post outlines temporary fixes (reducing MTU for IPv6, enabling RFC4821 for IPv4) and introduces their open-sourced Path MTU Daemon (pmtud) as a comprehensive solution to ensure correct ICMP routing within their datacenters.
More from the DNS Infrastructure & Naming Conventions trail
- The keys to the Internet change on October 11, 2026. Are you ready?
- 1.1.1.1 now supports post-quantum DNSSEC, all 2,420 bytes of it
- How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache
- BGP ORIGIN attribute manipulation and its impact on the Internet
- Cloudflare Internal DNS is now generally available