wire / wire-format / ndp-neighbor-solicitation
NDP Neighbor Solicitation is ICMPv6 type 135. It resolves an IPv6 address to a MAC address (replacing ARP). Format: type (135), code (0), checksum (2), reserved (4), target address (16 bytes), then options (source link-layer address, etc.).
aka: NDP Neighbor Solicitation (ICMPv6 type 135)
spec: RFC 4861
NDP Neighbor Solicitation is ICMPv6 type 135. It resolves an IPv6 address to a MAC address (replacing ARP). Format: type (135), code (0), checksum (2), reserved (4), target address (16 bytes), then options (source link-layer address, etc.).
| field | size | meaning |
|---|---|---|
| Type | 1 byte | 135 (Neighbor Solicitation). |
| Code | 1 byte | 0. |
| Checksum | 2 bytes | ICMPv6 checksum. |
| Reserved | 4 bytes | Must be 0. |
| Target Address | 16 bytes | The IPv6 address being resolved. |
| Options | variable | Source Link-Layer Address (type 1), etc. |
example:
87 00 00 00 00 00 00 00 20 01 0d b8 00 00 00 00 00 00 00 00 00 00 00 02
NDP NS: type 135, target 2001:db8::2
agent: curl -H 'accept: application/json' wire.phall.io/wire-format/ndp-neighbor-solicitation
or /wire-format/ndp-neighbor-solicitation.json