Fixed 40-byte base header

FieldBitsPurpose
Version4Identifies IPv6
Traffic Class8Traffic treatment and congestion signaling
Flow Label20Labels a flow for consistent handling
Payload Length16Bytes following the base header, including extensions
Next Header8Identifies the following header/protocol
Hop Limit8Bounds forwarding hops
Source Address128Packet source
Destination Address128Packet 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=6

Without 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).

ExtensionRole
Hop-by-Hop OptionsInformation intended for processing along the path; immediately follows the base header
RoutingSupports particular routing mechanisms; not all historical forms are suitable for use
FragmentIdentifies fragments and their positions for destination reassembly
Authentication HeaderIntegrity/authentication protection, not encryption
ESPIPsec protection including encryption and integrity/authentication as configured
Destination OptionsOptions 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.

  1. The forwarding router drops the packet.
  2. It sends ICMPv6 Packet Too Big to the sender, reporting MTU 1,280.
  3. The sender adapts its packet size or performs source fragmentation as appropriate.
  4. 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.

Lecture 03 - IPv6, PDF pages 40-51 and 68. Header explanations, worked MTU scenario and operational qualifications are added study material.