Pcornel
Networking · Network & Protocols › IPv6 Protocol Reference

IPv6 Extension Header Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=273

Back to the Topic

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.

Remember

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.

First 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.

Commands

show ipv6 traffic

Verify in this order

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

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=273

Confirmation

Confirm action

Continue?