IPv6 Example
Hop Limit 255
Study an IPv6 packet with maximum hop limit (255). Understand the hop limit field and its role in preventing infinite packet loops.
Hex Data
60 FF 00 00 00 20 06 40 20 01 0D B8 00 00 00 00 00 00 00 00 00 00 00 00 01 20 01 0D B8 00 00 00 00 00 00 00 00 00 00 00 00 02
Note: Hop Limit = 255 (maximum value, similar to IPv4 TTL)
hop-limit
Field Breakdown
Version
IP version (always 6 for IPv6)
96
Traffic Class
Traffic class for QoS
0x60
Flow Label
Flow label for QoS handling
0x-1000000
Payload Length
Length of payload in bytes (excluding header)
32
Next Header
Type of next header
6
TCP
Hop Limit
Hop limit (similar to TTL in IPv4)
64
Source IP
Source IPv6 address (128 bits)
0x000000000000000020010DB800000000
Destination IP
Destination IPv6 address (128 bits)
0x00000000000000000120010DB8000000
About IPv6
Internet Protocol version 6 (RFC 8200)
Fields: 8
Endianness: big
Specification: RFC 8200