Pcornel
Windows · Windows Networking

ARP / Neighbor Cache

Cheat sheet · https://pcornel.dk/topic.php?topic=3067

Back to the Topic

Answer

The Windows ARP / Neighbor Cache records link-layer reachability for IP neighbors: ARP-derived IPv4 mappings and Neighbor Discovery-derived IPv6 neighbor entries associated with an interface and reachability state.

Remember

  • IPv4 ARP and IPv6 Neighbor Discovery solve related but different protocol problems.
  • Neighbor entries are interface-specific; the same IP context on another interface is different evidence.
  • A cached MAC mapping can be stale and is not eternal proof of current reachability.
  • Incomplete/unreachable neighbor state narrows failure to the local-link/neighbor boundary.
  • Deleting the cache before capturing it removes diagnostic evidence.

First checks

  • Get-NetIPConfiguration — addresses, gateway and DNS per interface
  • Get-NetAdapter — adapters, status and link speed
  • Get-NetRoute -AddressFamily IPv4 — routes and metrics
  • Test-NetConnection <host> -Port <p> — ping, route and TCP port test
  • ipconfig /all — full IP configuration

Commands

Get-NetNeighbor
Shows Windows ARP/ND neighbor cache entries and states.

Verify in this order

local next hop → ARP/ND → MAC cached → frames sent

Where it usually breaks

First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.

Windows Networking → ARP / Neighbor Cache reference map

BoundaryMeaningEvidence limit
IPv4 ARPIPv4-to-MAC resolutionlocal-link only
IPv6 NDIPv6 neighbor discovery/reachabilityICMPv6 dependent
InterfaceScope of mappingmust match selected route
StateReachability lifecycle hintnot end-to-end proof
Cache clearForces relearndestroys previous evidence

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3067

Confirmation

Confirm action

Continue?