NDP (Neighbor Discovery Protocol)
Enable automatically neighbor discovery for IPv6 address
- Router Discovery
- a node can discover when it is connected to IPv6 Link — without the need of DHCP (Dynamic Host Configuration Protocol)
- Network Prefix Discovery
- When connect to IPv6 Link, can discover prefix assigned to that link
- Parameter Discovery
- Can automatically discover parameter such as MTU or next hop
- Address Autoconfiguration
- A node can determine its full address
- Address resolution
- A node can determine the link-layer next hop for a destination
- Neighbor unreachability detection
- Duplicate address detection
- Redirect
- Router can notify the host of a better next-hop than itself. It was path of ICMP in IPv4 but got moved to NDP in IPv6
NDP Message
- Router Advertisement (RA):
- Message are originated by routers to advertise their presence and other parameters like MTU, hop limits, etc
- Router Solicitation (RS):
- Messages originated from host to request a router to send an RA
- Neighbor Solicitation (NS)
- Messages are originated by nodes to request another nodes address for duplicate address detection and unreachability detection
- Neighbor Advertisement (NA)
- Messages are sent in response to NS message
- Redirect
- Messages are used for redirect purpose