The IP options defined for IPv4 headers are primarily intended to carry additional network layer information. But the presence of IP options in IPv4 will end up punting the packet to CPU and thereby introducing performance issues due to the slow path packet forwarding. In IPv6, extension headers are proposed to encode such control plane information as a separate flexible header without increasing the sizing of the IPv6 header. The IPv6 extension header is positioned between the IPv6 header and the transport layer header in a packet, and the presence of an IPv6 extension header is identified by setting the next header to the relevant value.
Here are a few commonly used IPv6 extension headers:
Protocol number (IPv6 NH Value) |
Extension header name |
Description |
Reference |
0 |
IPv6 hop-by-hop option |
Optional extension header used to carry... |