Compare

Side-by-side on the decisions that recur: TCP vs UDP, HTTP/2 vs HTTP/3, flow vs congestion control, L4 vs L7, forward vs reverse proxy, IPv4 vs IPv6 — with when to choose each.

ARP (IPv4)Neighbor Discovery (IPv6)
Question asked"Who has 192.168.1.1? Tell 192.168.1.42"Neighbor Solicitation for fe80::1
Carried inIts own Ethernet frame type (0x0806), no IPICMPv6 inside IPv6 packets
Addressed toBroadcast ff:ff:ff:ff:ff:ff — every host on the LANSolicited-node multicast — only hosts whose address matches the last 24 bits
CacheARP table (ip neigh / arp -a)Neighbor cache with reachability states (REACHABLE, STALE, PROBE)
Also handlesOnly address resolutionRouter discovery, prefix advertisement, duplicate address detection, redirects
SecurityTrivially spoofable (ARP poisoning)Also spoofable; SEND exists but is rarely deployed
Choose this whenUnderstanding why "same subnet but unreachable" on IPv4 means a stale or poisoned ARP entry.Understanding IPv6 hosts self-configuring from router advertisements, and why there is no broadcast storm.