Fixed 40-byte base header
| Field | Bits | Purpose |
|---|---|---|
| Version | 4 | Identifies IPv6 |
| Traffic Class | 8 | Traffic treatment and congestion signaling |
| Flow Label | 20 | Labels a flow for consistent handling |
| Payload Length | 16 | Bytes following the base header, including extensions |
| Next Header | 8 | Identifies the following header/protocol |
| Hop Limit | 8 | Bounds forwarding hops |
| Source Address | 128 | Packet source |
| Destination Address | 128 | Packet destination |
Traffic Class markings require corresponding network policy; they do not guarantee priority. A Flow Label does not reserve bandwidth. A router decreases Hop Limit when forwarding; a packet with Hop Limit 1 cannot be forwarded and is dropped, normally causing ICMPv6 Time Exceeded.
The ordinary Payload Length field permits 65,535 bytes after the base header. It does not include the base header’s 40 bytes. IPv6 removes the base-header checksum and variable header-length field. Link-layer and transport integrity checks remain; ordinary IPv6 UDP traffic uses a checksum, with specialized exceptions outside this lesson’s scope.
Chained extension headers
IPv6 base header -> Fragment header -> TCP header -> Data
Next Header=44 Next Header=6Without an extension, the base header can point directly to TCP (6), UDP (17) or ICMPv6 (58). Other examples are Hop-by-Hop (0), Routing (43), ESP (50), AH (51), Destination Options (60), and No Next Header (59).
| Extension | Role |
|---|---|
| Hop-by-Hop Options | Information intended for processing along the path; immediately follows the base header |
| Routing | Supports particular routing mechanisms; not all historical forms are suitable for use |
| Fragment | Identifies fragments and their positions for destination reassembly |
| Authentication Header | Integrity/authentication protection, not encryption |
| ESP | IPsec protection including encryption and integrity/authentication as configured |
| Destination Options | Options intended for destination processing |
Optional information is not required in every packet. Type-Length-Value options identify an option, its length and its data. Hop-by-Hop processing depends on router support/configuration. A Jumbo Payload option supports payloads exceeding 65,535 bytes on suitable paths. IPv6 alone does not enable IPsec or encrypt application traffic automatically.
Path MTU and fragmentation
MTU is the largest IP packet a link can carry. The path MTU is constrained by the smallest applicable link MTU along the path.
Added example: a router receives a 1,500-byte IPv6 packet but its outgoing link MTU is 1,280 bytes.
- The forwarding router drops the packet.
- It sends ICMPv6 Packet Too Big to the sender, reporting MTU 1,280.
- The sender adapts its packet size or performs source fragmentation as appropriate.
- If fragments are used, each must fit within the MTU including required headers; the destination reassembles them.
The forwarding router does not slice the packet into 1,280-byte payload chunks. Only the original source fragments IPv6 packets. Fragment headers include identification, offset and a more-fragments indicator. Reassembly happens at the final destination.
Source and related
Lecture 03 - IPv6, PDF pages 40-51 and 68. Header explanations, worked MTU scenario and operational qualifications are added study material.