Neighbor Discovery (ND) To Replace ARP In IPv6

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, March 27, 2010

Follow me on Twitter as @mattiasgeniar

Neighbor Discovery – or ND – is the protocol used by IPv6 to determine neighboring hosts, and will replace ARP which was used in IPv4. It will perform similar tasks of the Address Resolution Protocol (ARP) and ICMP Router Discovery Protocol. It’s purpose remains to get the MAC/Link Layer addresses of available hosts, and the connection information of available routers in the network.

Neighbor Discovery operates in the Link Layer (Layer #2 of the OSI model) and uses ICMPv6 (the obvious IPv6 version of ICMP) to discover neighboring nodes. It will provide the translation between the IPv6 address and the Link Layer address.

ND can be used to perform …

  • Address Autoconfiguration: perform stateless configuration of addresses for an interface;
  • Address Resolution: Mapping from IP address to link-layer address;
  • Neighbor Unreachability Detection (NUD): determine that a neighbor is no longer reachable on the link;
  • Duplicate Address Detection (DAD): nodes can check whether an address is already in use;

And many more.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.