Free tech learning for everyone, from basics to pro

Network FundamentalsNetworking SecurityIntermediate

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.
Essential ICMPv6 messagesType 1Destination unreachableType 2Packet too bigType 3Time exceededType 128 / 129Echo request / reply133 / 134Router solicitation / advert135 / 136Neighbour solicitation /advert
Figure 1. Blocking ICMPv6 is not like blocking IPv4 ping: IPv6 cannot work without several of these messages.

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?
Type 2, Packet Too Big, because IPv6 relies on it for path MTU discovery; blocking it causes stalled connections.
Which ICMPv6 types replace ARP in IPv6?
Neighbour Solicitation (135) and Neighbour Advertisement (136).
Which document gives recommendations for filtering ICMPv6 in firewalls?
RFC 4890.

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.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

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.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: