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.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| ARP | Supported | Request/reply, cache insertion, retry/failure behaviour, proxy ARP. |
| IPv6 ND | Supported | NS to the solicited-node group, NA, neighbour cache. Frames are on the wire in a capture (Packet Lens), decoded by Wireshark. |
| SLAAC | Supported | RS on port up, RA answer and periodic RAs, address formation, lifetimes. |
| Duplicate address detection | Supported | Each formed address runs DAD; a defended one is not assigned, a duplicate shows [DUP]. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| RFC 826 | Behaviour model | ARP request/reply and cache semantics. |
| RFC 4861 | Supported | NS/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 4862 | Supported | SLAAC, DAD, valid and preferred lifetimes. |
| RFC 8981 | Supported | Temporary addresses for hosts whose stack uses them. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
| ARP cache | Supported | Learns IPv4-to-MAC mappings. |
| ARP retry | Supported | Unresolved next-hop produces deterministic failure. |
| Static ARP | Supported | A static entry never ages out. |
| Proxy ARP | Supported | A router answers for an off-subnet target only with the knob set. |
| ND cache | Supported | Learns IPv6-to-MAC mappings. |
| SLAAC | Supported | Hosts form addresses from RA prefixes; routers advertise and ignore RAs. |
| Several IPv6 addresses | Supported | Link-local plus any number of global addresses; source chosen by RFC 6724. |
| Router advertisement | Supported | Prefix 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 guard | Supported | A host-role port drops Router Advertisements, so no host behind it takes an address or default router from them. See Layer-2 Security. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
show arp | Supported | Partial | Partial | IPv4 cache. |
show ipv6 neighbors | Supported | Partial | Partial | IPv6 ND cache. |
ipv6 address autoconfig | Supported | n/a | Partial | SLAAC on a host-mode device. |
ipv6 nd prefix P/L valid preferred | Supported | n/a | n/a | Address lifetimes in the RA. |
Behaviour notes
Section titled “Behaviour notes”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.
Examples
Section titled “Examples”Canonical example
show arpshow ipv6 neighborsping 10.0.12.2show arpVendor styles
IOS-style
arp 10.0.12.2 0011.2233.4455 arpaipv6 address autoconfigshow arpshow ipv6 neighborsJunos-style
set interfaces ge-0/0/0 unit 0 family inet address 10.0.12.1/30show arp no-resolveshow ipv6 neighborsVyOS-style
set interfaces ethernet eth0 address 10.0.12.1/30run show arprun show ipv6 neighborsTry it
Section titled “Try it”Known limits
Section titled “Known limits”SEND, randomised RA intervals, a unicast RA answer, and vendor-specific cache ageing are not modelled.