Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

IPv6 Extension Header Reference

Direct answer

IPv6 carries optional information in extension headers between the fixed header and the transport protocol. Each names the next, forming a chain: hop-by-hop options, routing, fragment, IPsec and destination options.

When to use this

Use it when a firewall rule for a port does not match IPv6 traffic, when fragmented or IPsec packets are dropped, or to follow the header chain in a capture.

First 30 seconds

1. In the capture: base Next Header → which extension header? Follow the chain to the transport protocol.

2. Fragment header (44) present → are all fragments arriving?

3. show ipv6 access-list — which entry counts the drops?

4. Works over IPv4, fails over IPv6 for large responses → fragments are being dropped.

Operational verification

base header Next Header → each extension header's Next Header → transport header reached within the first fragment → filters can read ports → packet permitted → destination processes the headers

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandshow ipv6 access-list
Scope / prerequisiteUse it when a firewall rule for a port does not match IPv6 traffic, when fragmented or IPsec packets are dropped, or to…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification Verify boundary
show ipv6 access-list
show ipv6 traffic
show platform hardware qfp active statistics drop

The access list shows match counters per entry, including entries that match on extension headers or on undetermined-transport. show ipv6 traffic counts packets with truncated or unparsable headers. On platforms that have it, the drop statistics name the reason for dropped packets.

In a capture, follow the chain: read Next Header in the base header, then in each extension header, until a transport protocol is reached. Note the length of each header on the way.

Known-good: the traffic in question reaches the transport header within the first fragment, and the counters of the entries meant to permit it increase.

Step 2 Failure isolation workflow Narrow the fault
  • A service works over IPv4 and fails over IPv6 for large responses. Fragmented packets are dropped on the path — common for DNS over UDP.
  • A port-based rule does not match. The packet has an extension header and the device does not look past it.
  • Packets with hop-by-hop options are slow or lost. They are punted to the router's CPU and rate-limited.
  • IPsec does not pass a firewall. Next Header 50 or 51 is not permitted.
  • Fragments are dropped by a firewall. The first fragment does not contain the transport header, or fragments are refused altogether.
  • An unknown extension header. The destination discards the packet and returns an ICMPv6 parameter problem message.
Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

To find the TCP or UDP ports a device must walk the whole chain; many drop what they cannot parse. Only hop-by-hop options are examined by routers on the path, and such packets are often slow or dropped. The first fragment must contain the transport header.

Key checks
  • show ipv6 access-list — match counters, including entries for extension headers or undetermined-transport.
  • show ipv6 traffic — packets with truncated or unparsable headers.
  • In a capture: follow Next Header from the base header through each extension header.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

IPv6 carries optional information in extension headers placed between the fixed header and the transport protocol. Each one says what comes next, so they form a chain that ends at TCP, UDP or ICMPv6.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

Extension headers are where IPv6 fragmentation and IPsec live, so they cannot be avoided. They are also the main reason IPv6 packets get dropped by firewalls and access lists: to find the TCP or UDP ports, a device has to walk the whole chain, and many are configured to drop what they cannot or will not parse.

ReferenceHow it works1 section · depth on demand

How it works

Every header has a Next Header field naming the type of the header after it. The base header points to the first extension header, that one to the next, and the last to the transport protocol.

Next Header valueHeaderUsed forRead by
0Hop-by-hop optionsOptions for every router on the path, such as router alertEvery router
60Destination optionsOptions for the destinationDestination
43RoutingA list of nodes to visit; type 4 is segment routingEach listed node
44FragmentFragmentation by the senderDestination
51Authentication (AH)IPsec integrityDestination
50Encapsulating Security Payload (ESP)IPsec encryptionDestination

Example: base header (Next Header 44) → fragment header (Next Header 6) → TCP.

Rules.

  • The hop-by-hop header, if present, comes first, directly after the base header. It is the only one routers along the path are meant to look at.
  • All others are processed only by the node the packet is addressed to.
  • Each header should appear once, in roughly the order of the table.
  • When a packet is fragmented, the first fragment must contain the entire header chain up to and including the transport header, so that a firewall can make its decision on it.

In practice.

  • Packets with a hop-by-hop header are often handled slowly or dropped by routers, since they cannot be forwarded in hardware.
  • Routing header type 0 is deprecated as a security risk and dropped by default.
  • Many networks on the Internet drop packets with extension headers other than fragment and IPsec.
  • A Cisco IPv6 access list can match packets whose transport header cannot be found with the undetermined-transport keyword — typically used to drop them.
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Extension headers and their order

IPv6 puts optional information in extension headers between the base header and the transport header. Each one names the next through the Next Header field. RFC 8200 recommends this order: Hop-by-Hop Options, Destination Options (for options processed at each listed Routing destination), Routing, Fragment, Authentication, ESP, Destination Options (for the final destination), then the upper-layer header. Hop-by-Hop must come immediately after the base header. Nodes on the path should examine it only if explicitly configured to.

Extension header numbers (RFC 8200 and IPsec RFCs)

Next Header valueHeaderProcessed by
0Hop-by-Hop OptionsNodes configured to process it
43RoutingThe listed intermediate destinations
44FragmentThe destination (reassembly)
50ESPThe destination (IPsec)
51AHThe destination (IPsec)
60Destination OptionsThe destination
59No Next HeaderNothing follows

Operational issues

IssueConsequence
Many Internet paths drop packets with extension headersApplications relying on them fail unpredictably
Long header chainsHardware may not find the TCP/UDP ports; ACLs can't match ports
Hop-by-Hop on routersOften punted to the CPU or dropped
Routing header type 0Deprecated because of amplification attacks

Filtering extension headers

PolicyReason
Permit Fragment, ESP and AH where usedNeeded by legitimate traffic
Drop Routing header type 0Deprecated and abusable
Drop or rate-limit Hop-by-Hop at the edgeCPU protection
Make sure the first fragment carries the full header chainRFC 8200 requires it, and firewalls depend on it
R1(config)# ipv6 access-list EDGE-IN
R1(config-ipv6-acl)# deny ipv6 any any routing-type 0 log
R1(config-ipv6-acl)# deny ipv6 any any hbh log
R1(config-ipv6-acl)# permit ipv6 any any
R1# show ipv6 access-list EDGE-IN
host$ tshark -r v6.pcap -Y "ipv6.nxt != 6 && ipv6.nxt != 17 && ipv6.nxt != 58" -T fields -e ipv6.src -e ipv6.nxt | sort | uniq -c

The last command lists packets whose base header is followed by something other than TCP, UDP or ICMPv6. That quickly shows which extension headers appear in a capture.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → IPv6 Extension Header Reference. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
ipv6 extension headerfragment headerdestination options
Confirmation

Confirm action

Continue?