IP fundamentals
ARP vs IPv6 Neighbor Discovery
ARP resolves IPv4 addresses to local link-layer addresses; IPv6 Neighbor Discovery uses ICMPv6 for related functions and router discovery.
Updated
In this guide
IPv4 local resolution
If a destination is on-link, the host may use ARP to learn its MAC address. For an off-link destination it resolves the next-hop gateway, not the distant website's MAC.
IPv6 discovery
Neighbor Solicitation and Neighbor Advertisement messages assist with neighbor resolution. Router Advertisement and duplicate address detection are additional parts of IPv6 Neighbor Discovery.
Troubleshooting evidence
An incomplete neighbor entry can indicate local connectivity or configuration issues. DNS success does not prove local neighbor discovery works. Neighbor caches can also contain stale entries.
Read a neighbor entry carefully
A neighbor table can associate 192.168.1.1 with a MAC address on an IPv4 interface, or an IPv6 next hop with a link-layer address. A stale or incomplete entry is not equivalent to internet failure. Check the intended interface, route and neighbor state together.
Step-by-step example
Follow the local link resolution that occurs before sending an IP packet.
- 01
IPv4 neighbor resolution
If the target is on the local subnet, IPv4 ARP asks which link-layer address corresponds to the target IP. The reply can populate a neighbor cache.
- Target
- 192.168.1.50
- ARP
- Who has this IP?
- Cache
- IP → MAC
Illustration · example, not a live result - 02
IPv6 neighbor resolution
IPv6 Neighbor Discovery uses ICMPv6 Neighbor Solicitation and Advertisement rather than ARP. It also supports additional router and reachability functions.
- Solicitation
- ICMPv6 NS
- Advertisement
- ICMPv6 NA
- Cache
- Neighbor entry
Illustration · example, not a live result - 03
Choose the next hop
For a remote destination the local link resolution normally concerns the gateway, not the remote website. Inspect only your own neighbor table and network settings.
- Local target
- Resolve peer
- Remote target
- Resolve gateway
Illustration · example, not a live result
Check your understanding
A cached neighbor is local network information, not an internet-wide identity or security verdict.
Try this
Compare the intended gateway with your device's local neighbor table using its standard operating-system network tools.
IPv4 and IPv6 address validator →