ARP / Neighbor Cache
Cheat sheet · https://pcornel.dk/topic.php?topic=3067
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 interfaceGet-NetAdapter— adapters, status and link speedGet-NetRoute -AddressFamily IPv4— routes and metricsTest-NetConnection <host> -Port <p>— ping, route and TCP port testipconfig /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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| IPv4 ARP | IPv4-to-MAC resolution | local-link only |
| IPv6 ND | IPv6 neighbor discovery/reachability | ICMPv6 dependent |
| Interface | Scope of mapping | must match selected route |
| State | Reachability lifecycle hint | not end-to-end proof |
| Cache clear | Forces relearn | destroys 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