Skip to content

ARP and IPv6 Neighbour Discovery

ARP and IPv6 Neighbour Discovery resolve next-hop addresses into link-layer destinations. They sit below routing and make packet forwarding inspectable.

AreaLevelNotes
ARPSupportedRequest/reply, cache insertion, retry/failure behaviour, proxy ARP.
IPv6 NDSupportedNS to the solicited-node group, NA, neighbour cache. Frames are on the wire in a capture (Packet Lens), decoded by Wireshark.
SLAACSupportedRS on port up, RA answer and periodic RAs, address formation, lifetimes.
Duplicate address detectionSupportedEach formed address runs DAD; a defended one is not assigned, a duplicate shows [DUP].
StandardCoverageNotes
RFC 826Behaviour modelARP request/reply and cache semantics.
RFC 4861SupportedNS/NA, RS/RA. RA timing is a fixed 200 s, not randomised. Neighbour Unreachability Detection (§7.3) on every box: REACHABLE, STALE (still used), DELAY 5 s, PROBE with 3 unicast NS to the cached address, INCOMPLETE with 3 group NS; ipv6 nd reachable-time / ns-interval are read and advertised, and hosts adopt an RA’s values. show ipv6 neighbors shows the state (IOS, Junos, VyOS). Upper-layer confirmation and ReachableTime randomisation are not modelled.
RFC 4862SupportedSLAAC, DAD, valid and preferred lifetimes.
RFC 8981SupportedTemporary addresses for hosts whose stack uses them.
FeatureStatusNotes
ARP cacheSupportedLearns IPv4-to-MAC mappings.
ARP retrySupportedUnresolved next-hop produces deterministic failure.
Static ARPSupportedA static entry never ages out.
Proxy ARPSupportedA router answers for an off-subnet target only with the knob set.
ND cacheSupportedLearns IPv6-to-MAC mappings.
SLAACSupportedHosts form addresses from RA prefixes; routers advertise and ignore RAs.
Several IPv6 addressesSupportedLink-local plus any number of global addresses; source chosen by RFC 6724.
Router advertisementSupportedPrefix Information with lifetimes, MTU, router lifetime; ipv6 nd ra suppress. RDNSS (RFC 8106): ipv6 nd ra dns server ADDR [lifetime|infinite] (VyOS name-server) puts a DNS server in the RA, and a SLAAC host takes it as its resolver for the option’s lifetime. VyOS dnssl adds a DNSSL option whose domain completes a dotless name (IOS has no DNSSL command here). With ipv6 unicast-routing an SVI sends RAs into its VLAN like a router port, across trunks; a host hears only the routers in its own VLAN.
RA guardSupportedA host-role port drops Router Advertisements, so no host behind it takes an address or default router from them. See Layer-2 Security.
CommandIOS-styleJunos-styleVyOS-styleNotes
show arpSupportedPartialPartialIPv4 cache.
show ipv6 neighborsSupportedPartialPartialIPv6 ND cache.
ipv6 address autoconfigSupportedn/aPartialSLAAC on a host-mode device.
ipv6 nd prefix P/L valid preferredSupportedn/an/aAddress lifetimes in the RA.

The neighbour cache is part of forwarding state. If a next hop cannot be resolved, the packet path fails in a way diagnostics can show.

Canonical example
show arp
show ipv6 neighbors
ping 10.0.12.2
show arp

Vendor styles

IOS-style
arp 10.0.12.2 0011.2233.4455 arpa
ipv6 address autoconfig
show arp
show ipv6 neighbors
Junos-style
set interfaces ge-0/0/0 unit 0 family inet address 10.0.12.1/30
show arp no-resolve
show ipv6 neighbors
VyOS-style
set interfaces ethernet eth0 address 10.0.12.1/30
run show arp
run show ipv6 neighbors

SEND, randomised RA intervals, a unicast RA answer, and vendor-specific cache ageing are not modelled.