Use it to read IPv6 packets in a capture, and to understand behaviour that differs from IPv4: routers never fragment, and every link must carry at least 1280 bytes.
IPv6 Base Header Field Reference
The IPv6 header is a fixed 40 bytes: version, traffic class, flow label, payload length, next header, hop limit and the two 128-bit addresses. It has no checksum, no options and no fragmentation fields — those went away or moved to extension headers.
1. In the capture: Next Header — is the payload what you expect, or an extension header first?
2. Hop Limit — how many routers has the packet crossed?
3. show ipv6 traffic — which drop counter is rising?
4. Large packets fail, small pass → MTU on the path and filtered Packet Too Big.
40-byte header → Next Header identifies the payload or the first extension header → hop limit decreases per router → packet fits the link MTU or is dropped with Packet Too Big → delivered
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ipv6 interface GigabitEthernet0/0Verification & 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 GigabitEthernet0/0
show ipv6 traffic
traceroute ipv6 2001:db8:20::1
ping ipv6 2001:db8:20::1 size 1500
The interface view shows the MTU and the addresses in use. show ipv6 traffic counts packets received, forwarded and dropped by reason — hop limit exceeded, too big, no route, unknown protocol. Traceroute shows where the hop limit runs out on the way; a large ping tests whether full-size packets pass.
In a capture, the header is always exactly 40 bytes; read Next Header to see what follows, and Hop Limit to estimate how many routers the packet has crossed.
Known-good: the drop counters are not increasing, and packets of the size in use reach the destination.
Step 2 Failure isolation workflow Narrow the fault
- Small packets get through, large ones do not. A link on the path has a smaller MTU and the Packet Too Big messages are being filtered.
- Traceroute ends in the same routers repeating. A routing loop; the hop limit expires.
- A firewall rule for TCP does not match. The Next Header in the base header is an extension header, and the rule looks only there.
- Neighbour Discovery fails across a device. Something routed or altered the packets, so the hop limit is no longer 255.
- Packets are dropped as "unknown protocol". The Next Header value is not one the receiver supports.
- Looking for a header checksum error. There is none in IPv6; corrupted packets are caught by the link or the transport layer.
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.
Next Header names what follows — 6 TCP, 17 UDP, 58 ICMPv6, or an extension header. Hop Limit is the TTL. A packet too large for a link is dropped with an ICMPv6 Packet Too Big message, which must not be filtered.
show ipv6 interface <interface>— MTU and addresses.show ipv6 traffic— packets forwarded and dropped by reason (hop limit, too big, no route).traceroute ipv6 <address>— where the hop limit runs out.ping ipv6 <address> size 1500— whether full-size packets pass.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
The IPv6 header is a fixed 40 bytes with eight fields. Compared with IPv4 it is longer because of the addresses but simpler in every other respect: no options, no checksum, no fragmentation fields. Anything beyond the basics is carried in separate extension headers.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
The fixed layout is what lets routers forward IPv6 quickly, and it moves some responsibilities elsewhere: fragmentation to the sending host, error detection to the layers above and below. Several IPv6 behaviours that surprise people who know IPv4 — packets that are never fragmented by a router, a mandatory checksum in UDP — follow directly from what the header leaves out.
ReferenceHow it works1 section · depth on demand
How it works
| Field | Size | Meaning |
|---|---|---|
| Version | 4 bits | Always 6 |
| Traffic class | 8 bits | DSCP and ECN, as in IPv4 |
| Flow label | 20 bits | A value the sender may set to mark packets of one flow; used for load sharing |
| Payload length | 16 bits | Length of everything after the 40-byte header, extension headers included |
| Next header | 8 bits | What follows this header: an extension header or the transport protocol |
| Hop limit | 8 bits | Decreased by one at each router; the packet is discarded at 0 |
| Source address | 128 bits | |
| Destination address | 128 bits |
Common Next Header values:
| Value | What follows |
|---|---|
| 6 | TCP |
| 17 | UDP |
| 58 | ICMPv6 |
| 0, 43, 44, 60 | Extension headers: hop-by-hop options, routing, fragment, destination options |
| 50, 51 | IPsec ESP and AH |
| 59 | Nothing |
What IPv4 had and IPv6 does not.
- Header checksum. Removed; routers no longer recalculate it at every hop. Link layers and transport protocols catch errors — which is why the UDP checksum is mandatory over IPv6.
- Fragmentation fields. Routers never fragment IPv6 packets. A router that cannot forward a packet because it is too large drops it and sends an ICMPv6 Packet Too Big message; the sender must then send smaller packets. Every IPv6 link must support at least 1280 bytes.
- Options and header length. Replaced by extension headers chained through the Next Header field.
Hop limit is the IPv4 TTL under a more accurate name. Hosts typically start at 64. Neighbour Discovery messages are sent with 255 and rejected if they arrive with less — proof that they came from the same link.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
The IPv6 base header in practice
The IPv6 header is a fixed 40 bytes, with fewer fields than IPv4. RFC 8200 lists Version, Traffic Class (8 bits), Flow Label (20 bits), Payload Length, Next Header, Hop Limit, and the 128-bit source and destination addresses. Each forwarding node decrements the Hop Limit by one and discards the packet when it reaches zero. Traffic Class is used for traffic management and may be changed in transit. A source can use the Flow Label to mark packets that belong together.
IPv4 fields that IPv6 dropped or moved
| IPv4 field | IPv6 |
|---|---|
| Header checksum | Removed; upper-layer checksums cover a pseudo-header (UDP checksum now mandatory) |
| Identification, flags, fragment offset | Moved to the Fragment extension header; only sources fragment |
| Options | Replaced by extension headers |
| IHL (header length) | Not needed; the base header is always 40 bytes |
| TTL | Renamed Hop Limit |
| Type of Service | Traffic Class |
Fields at a glance
| Field | Bits | Operational note |
|---|---|---|
| Version | 4 | Always 6 |
| Traffic Class | 8 | DSCP (6 bits) plus ECN (2 bits) |
| Flow Label | 20 | Used by some ECMP and load-balancing hashes |
| Payload Length | 16 | Everything after the base header, including extension headers |
| Next Header | 8 | The following header: 6 TCP, 17 UDP, 58 ICMPv6, or an extension header |
| Hop Limit | 8 | 255 for Neighbor Discovery; often 64 from hosts |
host$ sudo tcpdump -ni eth0 -v -c 1 ip6 and host 2001:db8:30::15
11:20:01.100 IP6 (flowlabel 0x3c1d2, hlim 64, next-header TCP (6) payload length: 40) 2001:db8:110::64.50422 > 2001:db8:30::15.443: Flags [S], ...
R1# show ipv6 traffic | include received|forwarded|hop count|too big
R1# traceroute ipv6 2001:db8:30::15
R1# ping ipv6 2001:db8:30::15 source Loopback0 size 1500 df-bit
The base header is larger than IPv4's minimal 20 bytes, but it is simpler to process. Routers don't recalculate a checksum at each hop, and they never fragment.
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 Base Header Field Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%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.
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.
IPv6 Header Fields
IPv6 base-header fields at a glance.
30-second lookup
- Open Packet Field Explorer for field-level metadata.
- Use Packet Decoders for bit/flag values where relevant.
- Use Paste Output / Structured Parser for CLI evidence.
- Use Packet Filters to prove the wire boundary.
Evidence rule
A decoded field proves what is present in that packet/output at that moment. Continue through the verification chain before concluding end-to-end behavior.