Vol. I · No. 46The protocol sectionSat, 10 Oct 2026
Layer 3 · The Internet Layer · errors, discovery and autoconfiguration

ICMPv6

Control Messages for IPv6

ICMPv6 does far more than its IPv4 namesake. It carries the errors and diagnostics you expect, but it also absorbed ARP, router discovery and multicast membership — so on IPv6 a host cannot function without it at all.

ICMPv6 is IPv6’s nervous system — errors, neighbour discovery and autoconfiguration all ride on it.

Operates at
Layer 3
beside IPv6 itself
Port
None
IPv6 next header 58
Replaces
ARP + more
NDP, RS/RA, MLD
Blockable?
No
IPv6 breaks without it

How it works

A host joining an IPv6 network, entirely over ICMPv6
New hostRouter & neighbours
Router Solicitation (type 133)
Router Advertisement (type 134) comes back
“The prefix here is 2001:db8:1::/64, and I am your default router”
Build an address, then check nobody has it
Neighbour Solicitation for its own new address
Duplicate Address Detection — silence means the address is free
Resolve a neighbour’s MAC — ARP’s job, done here
Neighbour Solicitation → Neighbour Advertisement (types 135 / 136)

No DHCP, no ARP, no broadcast: a host learns the prefix from the router, builds its own address, and resolves neighbours over multicast ICMPv6 — which is why filtering it blindly breaks IPv6 entirely.

The main points

What ICMPv6 does, step by step

1
Find the routers

A Router Solicitation asks who routes here; the Router Advertisement answers with the prefix and options.

2
Autoconfigure an address

The host builds an address from the advertised /64 and its own interface identifier — SLAAC.

3
Check for duplicates

Duplicate Address Detection solicits its own candidate address; no answer means it is safe to use.

4
Resolve and report

Neighbour Solicitation/Advertisement replace ARP, and error types report unreachable, too big and time exceeded.

Message types worth knowing
1 / 3 / 4 — Unreachable, Time Exceeded, Param Problem
2 — Packet Too Big — PMTUD lives here
128 / 129 — Echo Request / Reply (ping6)
133 / 134 — Router Solicitation / Advertisement
135 / 136 — Neighbour Solicitation / Advertisement
130 – 132 — Multicast Listener Discovery

In cybersecurity

Because ICMPv6 carries configuration as well as diagnostics, spoofing it is far more powerful than spoofing ICMP was — and blocking it outright breaks the network.

Rogue RAs

A forged Router Advertisement makes an attacker the default router for the whole segment.

RA Guard

Switches drop advertisements arriving on ports where no router should be — the core defence.

NDP spoofing

Neighbour Advertisements are as forgeable as ARP replies; SEND and ND inspection help.

Don’t filter type 2

Dropping Packet Too Big silently breaks Path MTU Discovery and connections hang.

DAD denial of service

Answering every duplicate check stops any host on the link from claiming an address.

Filter selectively

Permit types 1–4, 128/129 and the link-local NDP set; drop the rest at the border.

Rides in the stack

EthernetIPv6ICMPv6

Carried directly in IPv6 as next header 58 — and the protocol IPv6 itself depends on to work at all.

Works with

IPv6

See it on Linux

ip neighping

IPv4 or IPv6 control?

ICMPICMPv6
ErrorsYesYes
Address resolutionARP does itNDP, built in
Router discoveryDHCPRS / RA
Safe to blockMostly notNever