wire / wire-format / icmpv6

ICMPv6 header

ICMPv6 is the IPv6 equivalent of ICMP. Header: type (1 byte), code (1 byte), checksum (2 bytes), then type-specific data. Common types: 128 echo request, 129 echo reply, 133 router solicitation, 134 router advertisement, 135 neighbor solicitation, 136 neighbor advertisement, 137 redirect.

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: ICMPv6 header

wire format

spec: RFC 4443

ICMPv6 is the IPv6 equivalent of ICMP. Header: type (1 byte), code (1 byte), checksum (2 bytes), then type-specific data. Common types: 128 echo request, 129 echo reply, 133 router solicitation, 134 router advertisement, 135 neighbor solicitation, 136 neighbor advertisement, 137 redirect.

fieldsizemeaning
Type1 byte128 echo request, 129 echo reply, 133 router solicitation, 134 router advertisement, 135 neighbor solicitation, 136 neighbor advertisement, 137 redirect, 1 (dest unreachable), 2 (packet too big), 3 (time exceeded), 4 (parameter problem).
Code1 byteSub-type (e.g., 0 = no route, 1 = admin prohibited, 2 = beyond scope, 3 = address unreachable, 4 = port unreachable for dest unreachable).
Checksum2 bytesICMPv6 checksum (covers the ICMPv6 message + IPv6 pseudo-header).
BodyvariableType-specific data (e.g., identifier + sequence number for echo, or neighbor address for NS/NA).

example:

80 00 00 00 00 01 00 01 48 65 6c 6c 6f

ICMPv6 echo request (type 128), code 0, id 1, seq 1, payload 'Hello'


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/icmpv6 or /wire-format/icmpv6.json