Which protocol is used to discover the Layer 2 (MAC) address of a next hop for IPv6 hosts?
In the IPv6 protocol suite, the traditional Address Resolution Protocol (ARP) used in IPv4 has been deprecated and replaced by the Neighbor Discovery Protocol (NDP). NDP is a multifaceted protocol built upon the Internet Control Message Protocol version 6 (ICMPv6). Its primary purpose is to allow a host or router to determine the Layer 2 hardware (MAC) address of a neighbor on the same local link when only the neighbor's IPv6 address is known.
This specific process is known as Neighbor Solicitation and Neighbor Advertisement. When a Junos device needs to resolve a MAC address for an IPv6 next hop, it sends a Neighbor Solicitation (ICMPv6 Type 135) message to the solicited-node multicast address. The target host responds with a Neighbor Advertisement (ICMPv6 Type 136) containing its physical MAC address. Beyond address resolution, NDP also handles Router Discovery, Prefix Discovery, and Duplicate Address Detection (DAD). Unlike ARP, which relies on broadcasts that can impact all hosts on a segment, NDP utilizes efficient multicast communication. Understanding NDP is critical for Junos architects, as it is the foundational mechanism that facilitates logical-to-physical address mapping in modern IPv6 environments, ensuring that the Packet Forwarding Engine can properly encapsulate frames for local delivery.
Currently there are no comments in this discussion, be the first to comment!