Search

Introduction to Neighbour Discovery Protocol (NDP) and Functions of NDP

Neighbor Discovery Protocol (NDP, defined in RFC 4861) is a key protocol in IPv6. Neighbor Discovery Protocol (NDP) is based on ICMPv6 and is used to identify the relationships between different neighboring devices in an IPv6 network. The many key functions of IPv6 like IPv6 address to MAC address resolution (in IPv4, ARP is used for this), router discovery are now performed using Neighbor Discovery Protocol (NDP)

Following are the important functions of Neighbor Discovery Protocol (NDP).

IPv6 address to MAC address resolution: In IPv4, Address Resolution Protocol (ARP) is used for resolving IPv4 address to MAC address. The role of Address Resolution Protocol (ARP) in IPv4 is performed by Neighbor Discovery Protocol (NDP) in IPv6. One of the duties of Neighbor Discovery Protocol (NDP) is IPv6 address to MAC address resolution.

Discovering Routers: Neighbor Discovery Protocol (NDP) is used to automatically discover routers in an IPv6 network using Router Solicitation & Router Advertisement messages.

Discovering Network Prefixes: Neighbor Discovery Protocol (NDP) is used to automatically discover IPv6 network prefixes where the host belongs to, by using Router Solicitation & Router Advertisement messages.

Autoconfiguration of IPv6 addresses: After learning IPv6 network prefixes using Neighbor Discovery Protocol (NDP) Router Solicitation & Router Advertisement messages, IPv6 devices can autoconfigure an IPv6 address by self–generating the host part of the IPv6 address by using EUI-64 method.

DAD (Duplicate Address Detection): DAD (Duplicate Address Detection) is a Neighbor Discovery Protocol (NDP) mechanism to detect whether duplicate IPv6 addresses exist in an IPv6 network. DAD (Duplicate Address Detection) is useful, because IPv6 has many address autoconfiguration mechanisms.

Neighbor Discovery Protocol (NDP) is based on ICMPv6 protocol. Following images shows Neighbor Discovery Protocol (NDP) encapsulation.

Neighbour Discovery Message Encapsulation

Neighbor Discovery Protocol (NDP) uses ICMPv6 Type field values from 133 to137. Following table lists Neighbor Discovery Protocol (NDP) related ICMPv6 Type field values and their use.

Sl. No ICMPv6 Type
Field Value
Used for
1 133 Router Solicitation
2 134 Router Advertisement
3 135 Neighbor Solicitation
4 136 Neighbor Advertisement
5 137 Redirect

 

Written by Jajish Thomas.
Last updated on 19th May, 2024.

 

Related Tutorials
Limitations of IPv4
IPv6 History and related RFCs
IPv6 Features
Differences Between IPv4 and IPv6
Unicast, Multicast and Anycast - Types of communication in IPv6
IPv6 Datagram Header Format
Comparison between IPv4 Header and IPv6 Header
Introduction to IPv6 Addressing
What is prefix and prefix length in IPv6, Similarity between IPv4 subnet mask and IPv6 prefix
IPv6 Address formats
How to Simplify Shorten and Compress IPv6 Addresses
Types of IPv6 Addresses, Global Unicast, Link-local, Multicast, Anycast, Loopback addresses
Global Unicast IPv6 Addresses, Global Unicast IPv6 Address prefix, format and range
Different methods to assign a Global Unicast IPv6 address to an interface
What are IEEE EUI-64 based Global Unicast IPv6 addresses
How to configure Static Global Unicast IPv6 Address in a Cisco Router Interface
How to configure EUI-64 based Global Unicast IPv6 Address in a Cisco Router Interface
How to configure static Global Unicast IPv6 Address in a Windows Server
What is SLAAC - Stateless Address Auto-configuration in IPv6
How SLAAC works in IPv6
Link Local IPv6 Addresses, How Link Local IPv6 addresses are generated
Unique Local IPv6 Addresses
Multicast IPv6 Address Format, Prefix, Flags and Scope
Anycast IPv6 Addresses
IPv6 Loopback Address and IPv6 Unspecified address
IPv6 Special Addresses and IPv6 well known prefixes
Solicited-Node Multicast IPv6 Address, How Solicited Node Multicast IPv6 Address are generated
ICMPv6 Functions, ICMPv6 Header Packet Format and Types of ICMPv6 messages
Types of ICMPv6 messages, ICMPv6 message format, ICMPv6 message fields
ICMPv6 Error messages
ICMPv6 informational messages
NDP (Neighbour Discovery Protocol), functions of NDP, Neighbour Solicitation and Advertisement, Router Solicitation and Advertisement
Router Solicitation and Router Advertisement Messages