IPv6 Packet Structure: Base Header and Extension Headers
IPv6 Packet Format: Base Header
Each IPv6 packet consists of a mandatory base header followed by the payload. The payload is made up of two parts: optional extension headers and the upper-layer data. The base header is 40 bytes long, whereas the extension headers and the data from the upper layer can contain up to 65,535 bytes of information.
The base header has 8 fields:
- Version: A 4-bit field that defines the version of IP, such as IPv4 or IPv6. For IPv6, the value of this field is 6.
- Priority: A 4-bit field that defines the priority of the packet, which is important in connection with traffic congestion.
- Flow Label: A 24-bit field designed for providing special handling for a particular flow of data.
- Payload Length: A 2-byte field used to define