Use it when IPv6 connections open normally and then hang on larger transfers, especially across tunnels or PPPoE.
IPv6 Path MTU & Packet Too Big
IPv6 routers never fragment. A router that cannot forward a packet because it is too large drops it and returns an ICMPv6 Packet Too Big message with the size that fits; the sender then uses smaller packets. This is Path MTU Discovery.
1. From a host, ping with 1452 bytes of data and fragmentation forbidden.
2. Fails → lower the size until it works; that plus 48 is the path MTU.
3. Does a Packet Too Big message come back? If not, it is filtered.
4. Permit ICMPv6 type 2; set ipv6 mtu on the tunnel and ipv6 tcp adjust-mss (MTU minus 60).
sender uses full-size packets → a smaller link on the path → router drops and returns Packet Too Big → message reaches the sender → sender lowers its packet size → traffic flows
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ipv6 interface Tunnel0 | include MTUVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
show ipv6 interface Tunnel0 | include MTU
show ipv6 mtu
show ipv6 traffic | include big
The interface line shows the IPv6 MTU of a link. show ipv6 mtu lists the path MTU values the router itself has learned for destinations. The traffic counters show how many "too big" messages have been sent and received.
From a host, test with packets that may not be fragmented. A payload of 1452 bytes makes a 1500-byte packet:
ping -6 -M do -s 1452 2001:db8:20::1 (Linux)
ping -6 -f -l 1452 2001:db8:20::1 (Windows)
Lower the size until it succeeds; the largest working payload plus 48 is the path MTU. A capture on the sender should show the Packet Too Big message arriving when the size is too large.
Known-good: a too-large test packet is answered by Packet Too Big, and afterwards normal traffic to that destination flows.
Step 2 Failure isolation workflow Narrow the fault
- Connections open, then hang on larger transfers. Packet Too Big is filtered somewhere on the return path.
- Works from some networks and not from others. Only paths through the small-MTU link are affected.
- Works over IPv4, fails over IPv6 to the same server. IPv4 routers could fragment; IPv6 relies on the ICMPv6 message.
- A too-large ping simply times out, with no Packet Too Big in the capture. The message is being dropped — or the router that should send it is rate-limiting ICMPv6.
- TCP works after
adjust-mss, but large DNS or VPN traffic over UDP still fails. The segment size rewrite does not help UDP; the ICMPv6 message must get through. - The problem appeared after adding a tunnel. Its overhead lowered the path MTU; set the tunnel's
ipv6 mtu.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Everything depends on Packet Too Big (ICMPv6 type 2) getting back to the sender — permit it everywhere. ipv6 tcp adjust-mss on the small-MTU link helps TCP only. Every IPv6 link carries at least 1280 bytes.
show ipv6 interface <interface> | include MTU— the IPv6 MTU of a link.show ipv6 mtu— path MTU values the router has learned.show ipv6 traffic | include big— too-big messages sent and received.- From a host:
ping -6 -M do -s 1452 <address>(Linux) orping -6 -f -l 1452 <address>(Windows).
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
In IPv6 a router never fragments a packet. If a packet is too large for the next link, the router drops it and sends the sender an ICMPv6 Packet Too Big message stating the size that would fit. The sender then uses smaller packets for that destination. This is Path MTU Discovery.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
The whole mechanism depends on that one ICMPv6 message getting back to the sender. Where a firewall filters it, the result is a fault that is hard to recognise: connections open normally, small exchanges work, and anything that sends full-size packets — a download, a TLS handshake with a large certificate — hangs.
ReferenceHow it works1 section · depth on demand
How it works
The sequence.
1. The sender starts with packets as large as its own link allows, typically 1500 bytes.
2. A router on the path has a next link with a smaller MTU — a tunnel or a PPPoE line, for instance. It discards the packet and returns ICMPv6 type 2, Packet Too Big, containing that link's MTU.
3. The sender records the value for that destination and sends smaller packets. TCP lowers its segment size; for UDP, the sending host fragments.
4. If a later link is smaller still, the same happens again.
The learned value is kept for a time — ten minutes is typical — after which the sender may try larger packets again.
Limits. Every IPv6 link must carry packets of at least 1280 bytes, so a sender never needs to go below that. The 40-byte IPv6 header and 20-byte TCP header leave 1440 bytes of TCP data in a 1500-byte packet, and 1220 in a 1280-byte one.
When the message is lost. If Packet Too Big is filtered anywhere between the router and the sender, the sender never learns. Its large packets vanish, it retransmits them at the same size, and the connection stalls. The TCP handshake and small requests still succeed, since they fit.
Remedies.
- Permit ICMPv6 type 2 through every firewall and access list, in both directions. This is the real fix.
- On a router where a small-MTU link begins, rewrite the TCP segment size in passing connections:
ipv6 tcp adjust-mss 1360on the interface (the value being the link's MTU minus 60). This helps TCP only. - Set the correct
ipv6 mtuon tunnel interfaces so that the router sends accurate Packet Too Big messages.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Packet Too Big and IPv6 path MTU
Routers never fragment IPv6 packets. A router that can't forward a packet because it is too large drops it and sends an ICMPv6 Packet Too Big message to the source, with the next link's MTU. RFC 8201 describes how the source reacts. It uses the reported MTU as its new path MTU estimate if that is lower than the current one. It never goes below the IPv6 minimum link MTU of 1280 bytes (RFC 8200), and never raises the estimate because of such a message. Probing for a larger MTU shouldn't happen until at least 5 minutes later; 10 minutes is recommended.
Why Packet Too Big must not be filtered
| Filtered ICMPv6 | Consequence |
|---|---|
| Packet Too Big (type 2) | Large packets vanish: the handshake succeeds, transfers hang (a black hole) |
| Unreachable, time exceeded | Traceroute and error reporting break |
| ND messages (133–137) | IPv6 stops working on the link |
Firewalls should permit ICMPv6 type 2 everywhere IPv6 is used, without exception.
Where MTU problems come from
| Cause | Typical MTU |
|---|---|
| IPv6-in-IPv4 or GRE tunnels | 1480 or less |
| IPsec tunnels | About 1400 |
| PPPoE access | 1492 |
| VXLAN without a larger underlay MTU | 1450 |
host$ ping -6 -M do -s 1452 -c 2 2001:db8:30::15
From 2001:db8:0:12::2 icmp_seq=1 Packet too big: mtu=1400
host$ ip -6 route get 2001:db8:30::15 | grep -o "mtu [0-9]*"
mtu 1400
host$ tracepath -6 2001:db8:30::15
R1# show ipv6 interface Tunnel10 | include MTU
IPv6 MTU is 1400 bytes
R1# show ipv6 traffic | include too big
R1(config-if)# ipv6 tcp adjust-mss 1340
Security notes (RFC 8201)
Forged Packet Too Big messages can only lower the estimate down to 1280, never below it, and can never raise it. Packetization Layer PMTUD (RFC 4821), which probes without relying on ICMP, is a more robust alternative where ICMP is unreliable.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → IPv6 Path MTU & Packet Too Big. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.