Skip to content
AdminKit

NDP (Neighbor Discovery Protocol)

What is NDP (Neighbor Discovery Protocol)?

Neighbor Discovery Protocol (NDP), defined in RFC 4861, is IPv6's replacement for ARP, ICMP router discovery and ICMP redirects, using ICMPv6 messages for address resolution and autoconfiguration. AdminKit's SLAAC guide covers how the same Neighbor Discovery messages build a host's autoconfigured IPv6 address.

By AdminKit team, Netbase JSC · Updated

Neighbor Discovery Protocol (NDP), defined in RFC 4861 (a Draft Standard per its IETF Datatracker entry), is IPv6’s replacement for several separate IPv4 mechanisms — ARP, ICMP router discovery, and ICMP redirects — combined into one set of ICMPv6 message types. Neighbor Solicitation and Neighbor Advertisement resolve a neighbor’s IPv6 address to its MAC address, the role ARP plays on IPv4 networks, while Router Solicitation and Router Advertisement let a host discover routers on its link and learn the address prefix it should use for SLAAC (RFC 4862) autoconfiguration. On Linux, whether an interface acts on those Router Advertisements at all is configurable: the kernel’s IP sysctl documentation describes accept_ra as controlling whether the interface accepts Router Advertisements and autoconfigures from them, which also determines whether it sends Router Solicitations. NDP’s own signalling relies on each interface’s link-local address, since none of these exchanges need to travel beyond the local segment. Because NDP messages are not authenticated by default, a host on the same local network can send forged Router or Neighbor Advertisements to redirect traffic or claim an address that is not its own, an IPv6 equivalent of ARP spoofing; SEND (Secure Neighbor Discovery, RFC 3971) exists to cryptographically protect these messages but sees limited real-world deployment — a risk NIST’s guidelines for secure IPv6 deployment cover directly, surveying SEND alongside other mitigations for exactly this class of unauthenticated Neighbor Discovery attack.

NDP (Neighbor Discovery Protocol) is part of AdminKit’s IP & network cluster; the full AdminKit glossary lists other related terms.

Frequently asked questions

What IPv4 mechanisms does NDP replace?

ARP, ICMP router discovery, and ICMP redirects, combined into one set of ICMPv6 message types.

How does NDP resolve a neighbor's MAC address?

Via Neighbor Solicitation and Neighbor Advertisement messages, the same role ARP plays on IPv4 networks.

Is NDP traffic authenticated by default?

No -- a host on the same local network can send forged Router or Neighbor Advertisements, an IPv6 equivalent of ARP spoofing; SEND (RFC 3971) exists to cryptographically protect these messages but sees limited real-world deployment.

How does NDP relate to SLAAC?

Router Solicitation and Router Advertisement, part of NDP, let a host discover routers and learn the address prefix it uses for SLAAC (RFC 4862) autoconfiguration.