Question

Difficulty: MediumIPv6 Addressing Concepts and Header Structure

A network administrator is implementing security policies on an enterprise perimeter router handling IPv6 traffic. To properly write filter rules for packets carrying optional payload data—such as fragmentation instructions or hop-by-hop options—the administrator must evaluate how the IPv6 protocol handles optional control information. How does the IPv6 header architecture accommodate these optional fields while maintaining a fixed base header size of 40 bytes?

  1. By inserting optional Extension Headers sequentially between the base IPv6 header and the upper-layer payload, linked via the Next Header fieldAnswer
  2. B
    By using a variable-length Options and Padding section embedded directly inside the 40-byte base header, indicated by the Header Length field
  3. C
    By dynamically expanding the base IPv6 header length field up to a maximum limit of 64 bytes whenever options are present
  4. D
    By placing optional control metadata into the 20-bit Flow Label field prior to forwarding the packet to upper-layer transport protocols

Answer

IPv6 accommodates optional control information by inserting sequential Extension Headers between the 40-byte base header and the upper-layer payload, linked together by the Next Header field.
The correct answer accurately describes the IPv6 extension header design. To keep intermediate routing fast and simple, IPv6 uses a fixed 40-byte base header. Any additional control functions—such as IPsec authentication/ESP, fragmentation, or mobile IPv6 routing—are inserted as separate Extension Headers between the base header and the upper-layer protocol. The Next Header field in each header indicates the protocol ID of the succeeding header, forming a linked chain.

Step-by-Step Solution

1
Identify the base IPv6 header structure and constraints.
The standard IPv6 base header has a streamlined, fixed size of 40 bytes to ensure rapid processing by intermediate routers.
Unlike IPv4, IPv6 eliminated variable-length option fields from its primary header to optimize router throughput.
2
Analyze how optional parameters (e.g., routing, fragmentation, security) are attached in IPv6.
Optional data is placed into distinct Extension Headers positioned between the base IPv6 header and the transport-layer payload (such as TCP or UDP).
Extension headers are processed only when needed, reducing overhead on intermediate routers.
3
Determine the mechanism that connects the base header to these extension headers.
The 8-bit Next Header field in the base header specifies the type of the immediately following extension header or transport protocol.
Each extension header contains its own Next Header field, creating a chain until the final upper-layer protocol header (e.g., TCP value 6) is reached.

Key Concept

IPv6 Extension Headers and Next Header Chaining
Rate this question