ICMPv6 explained: the messages IPv6 needs and what is safe to filter
In short: ICMPv6 carries error messages and diagnostics, and it also replaces ARP, router discovery and IGMP in IPv6. Without Neighbour Discovery messages, devices cannot find each other, and without Packet Too Big messages, large transfers silently fail. Firewalls should allow these essential types and only restrict optional ones.
More than ping
In IPv4 many administrators simply block ICMP at the firewall and lose little more than ping and traceroute (although that already causes problems). In IPv6 this approach breaks the network, because ICMPv6 does jobs that IPv4 handled with separate protocols:
- Neighbour Discovery replaces ARP and router discovery.
- Multicast Listener Discovery (MLD) replaces IGMP.
- Path MTU discovery depends entirely on ICMPv6, because IPv6 routers never fragment packets.
Error messages
- Type 1, Destination Unreachable: no route, administratively prohibited, address unreachable or port unreachable.
- Type 2, Packet Too Big: a router could not forward a packet because it was larger than the next link's MTU. It tells the sender the MTU to use. Never block this. If it is dropped, connections set up fine but freeze when large packets are sent, a problem known as a PMTU black hole.
- Type 3, Time Exceeded: hop limit reached (used by traceroute) or fragment reassembly timeout.
- Type 4, Parameter Problem: something wrong in the header.
Informational messages
- 128 and 129, Echo Request and Reply: ping.
- 133 Router Solicitation, 134 Router Advertisement: hosts find routers and learn prefixes.
- 135 Neighbour Solicitation, 136 Neighbour Advertisement: finding MAC addresses and duplicate address detection.
- 137 Redirect: a router telling a host about a better first hop.
- 130 to 132 and 143, MLD: multicast group membership.
A sensible filtering policy
RFC 4890 gives recommendations. In short:
- Always allow through firewalls: types 1, 2, 3 (code 0) and 4 (codes 1 and 2), plus echo request and reply at least for troubleshooting.
- Allow on the local link (not usually crossing a router): Neighbour Discovery (133 to 136) and MLD. These use link-local addresses and a hop limit of 255, which attackers off the link cannot fake.
- Block or limit: redirects from the internet, router renumbering and experimental types.
- Rate-limit rather than block echo requests if you are worried about scanning.
Cloud security groups and host firewalls need the same care: allow ICMPv6 Packet Too Big inbound or IPv6 performance will suffer.
Real-world example: the website that half-loaded
After enabling IPv6 on its website, a company found some visitors saw pages that started loading and then stalled. The firewall in front of the web servers blocked all ICMPv6 inbound. Visitors behind tunnels or links with smaller MTU sent Packet Too Big messages that never arrived, so the server kept sending packets that were too large. Allowing ICMPv6 type 2 fixed it immediately.
Practice
Which ICMPv6 message must never be blocked, and why?
Which ICMPv6 types replace ARP in IPv6?
Which document gives recommendations for filtering ICMPv6 in firewalls?
Key takeaways
- ICMPv6 replaces ARP, router discovery and IGMP as well as carrying errors.
- Packet Too Big (type 2) is essential for IPv6 path MTU discovery.
- Allow Neighbour Discovery and MLD on the local link.
- Filter selectively following RFC 4890; never block all ICMPv6.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.