Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

ARP / Neighbor Table

Direct answer

The neighbour table (ARP for IPv4, NDP for IPv6) maps IP addresses on local subnets to MAC addresses. Entries move through states: REACHABLE, STALE, DELAY, PROBE, FAILED.

When to use this

Use it when a host cannot reach its gateway or a local peer even though addresses and routes look right.

First 30 seconds

1. ip neigh show <ip> — state and MAC?

2. FAILED → peer down, wrong VLAN, or ARP filtered; capture: tcpdump -ni <if> arp.

3. Wrong MAC → duplicate IP? arping -D -I <if> <ip>.

4. Flush: ip neigh flush to <ip>.

5. Ping again and recheck.

Operational verification

packet to a local next hop → ARP request / NS → reply with MAC → entry REACHABLE → ages to STALE → re-probed

Evidence · next step

For Linux Networking → ARP / Neighbor Table, continue with the first unproven Topic check: Pin namespace, interface and exact next-hop IP whose L2 identity is required. If that boundary is healthy, advance to the adjacent check: Inspect NUD state, MAC, timestamps and whether state changes during the test. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Key commandip neigh show
Scope / prerequisiteUse it when a host cannot reach its gateway or a local peer even though addresses and routes look right.
Reference · 2
What next?3 suggested next steps
Catalog command links2
Evidence1
On this pageJump to a specific section
Linux command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

selected route/nexthop → neighbor lookup → solicitation → peer response → NUD state/MAC → L2 frame delivery → IP path → workload

Healthy evidence: the intended next hop resolves to the expected MAC/interface, NUD state behaves normally under traffic and L2 frames proceed without repeated resolution failure.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Pin namespace, interface and exact next-hop IP whose L2 identity is required.

  • Inspect NUD state, MAC, timestamps and whether state changes during the test.
  • Capture ARP or ICMPv6 ND on the intended interface when resolution behavior is ambiguous.
  • After neighbor resolution succeeds, continue with route, firewall and service verification.

Verification chain. selected route/nexthop → neighbor lookup → solicitation → peer response → NUD state/MAC → L2 frame delivery → IP path → workload

Step 3 Commands Verify boundary
ip neigh
ip neigh flush dev eth0
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: entries remain INCOMPLETE/FAILED, resolve to an unexpected MAC/interface, flap during traffic or differ across namespaces while higher-layer tools report only generic unreachable errors.

Step 5 Common mistakes Narrow the fault
  • FAILED entries ignored as a hint of L2 problems.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

FAILED or INCOMPLETE means no reply to ARP/NS — wrong VLAN, peer down, or filtering. A wrong MAC can come from duplicate IPs or a stale entry after failover; flush it with ip neigh flush dev <if>.

Key checks
  • arping -I <if> <ip> — ARP-level reachability test
  • ip -br addr — interfaces and addresses
  • ip route — routing table and default route
  • ip neigh — ARP/neighbour cache
  • ip route get <dest> — route, interface and source chosen for a destination
  • nmcli device status / networkctl — which tool manages each interface
ReferenceWhat it is1 section · depth on demand

Core model

Treat neighbor entries as time-sensitive per-interface evidence. Identify whether the target is the final peer or a routed nexthop, inspect NUD state and packet behavior, and distinguish cache state from actual wire responses. Repeated INCOMPLETE/FAILED often points to L2/VLAN/peer issues rather than a routing-table absence.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

Neighbor resolution shows link-layer reachability for one next hop on one interface, but it does not show routed end-to-end reachability or application health.

In depth

The neighbour table: ARP and NDP on Linux

Linux keeps IPv4 ARP entries and IPv6 Neighbor Discovery entries in a single neighbour table, managed with ip neigh. Each entry has a state, and the ip-neighbour(8) manual page lists them:

  • permanent: valid forever, and only removed administratively.
  • noarp: valid, but never validated.
  • reachable, stale, delay and probe: the normal cycle of a learned entry.
  • incomplete: resolution is in progress.
  • failed: resolution failed after too many probes.

flush skips permanent and noarp entries by default.

States in practice

StateMeaningAction needed
REACHABLERecently confirmedNone
STALEValid, but not confirmed recentlyNone; confirmed on next use
DELAY / PROBEBeing re-verifiedBrief; watch if it persists
INCOMPLETERequest sent, no reply yetCheck the link, VLAN and the target host
FAILEDNo reply after retriesThe target is down or unreachable at Layer 2
PERMANENTConfigured staticallyCheck it's still correct

Kernel limits (IP sysctl documentation)

The table has garbage-collection thresholds: gc_thresh1 (128), gc_thresh2 (512) and gc_thresh3 (1024, the maximum number of non-permanent entries). Hosts on very large subnets, such as Kubernetes nodes and routers, can hit the limit and log "neighbour table overflow".

host$ ip neigh show dev eth0
10.110.0.1 lladdr 00:00:0c:9f:f0:6e REACHABLE
10.110.0.27 lladdr a4:bb:6d:55:01:27 STALE
10.110.0.99  FAILED
fe80::1 lladdr 00:00:0c:9f:f0:6e router REACHABLE
host$ ip neigh get 10.110.0.1 dev eth0
host$ sudo ip neigh replace 10.110.0.250 lladdr a4:bb:6d:55:02:50 dev eth0 nud permanent
host$ sudo ip neigh flush dev eth0 nud failed
host$ ip -s neigh show 10.110.0.1
host$ dmesg | grep -i "neighbour table overflow"

Interpreting the example

  • The router flag on the IPv6 entry shows that the neighbour announced itself as a router.
  • The FAILED entry for 10.110.0.99 means ARP got no answer. Either the host is down, or it's in another VLAN than the one this host is in.
  • -s adds usage counters, which show when the entry was last used and confirmed.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

ARP / Neighbor Table is part of Linux Networking → ARP / Neighbor Table. Linux uses the neighbor subsystem for IPv4 ARP and IPv6 Neighbor Discovery; entries transition through NUD states and map next-hop IP addresses to link-layer reachability on a specific interface.

Topic-specific state model. Linux uses the neighbor subsystem for IPv4 ARP and IPv6 Neighbor Discovery; entries transition through NUD states and map next-hop IP addresses to link-layer reachability on a specific interface.

Interpretation rule. - Neighbor entry exists ≠ entry is reachable or current.

  • STALE ≠ failed; it can be valid until reachability confirmation is needed.
  • FAILED/INCOMPLETE ≠ remote host is necessarily down; VLAN/L2/interface issues can block resolution.
  • Successful ARP/ND ≠ IP routing, firewall or application path works.

Quick reference

The neighbour table maps IPs to MAC addresses (ARP for IPv4, NDP for IPv6).

ip neigh show
ip neigh show dev eth0 | grep -E 'FAILED|INCOMPLETE'
ip neigh flush dev eth0
arping -I eth0 -c3 10.0.10.1          # test L2 reachability, detect duplicates (-D)
sysctl net.ipv4.neigh.default.gc_thresh3

States: REACHABLE, STALE, DELAY, PROBE, FAILED, INCOMPLETE, PERMANENT. Large L2 networks or container hosts can overflow the table ("neighbour table overflow" in dmesg) — raise gc_thresh1/2/3.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. Neighbor resolution shows link-layer reachability for one next hop on one interface, but it does not show routed end-to-end reachability or application health.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. ARP / Neighbor Table owns Linux neighbor-cache and NUD semantics for IPv4/IPv6. VLAN/Bond/Bridge own underlying L2 construction; Network Troubleshooting correlates broader failures.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in Linux Networking → ARP / Neighbor Table. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/networking/index.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
linux arp tableip neigh linuxneighbor table linuxNUD states
Embedded reference data

Quick lookup tables

ARP / Neighbor Table operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for ARP / Neighbor Table.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateLinux uses the neighbor subsystem for IPv4 ARP and IPv6 Neighbor Discovery; entries transition through NUD states and map next-hop IP addresses to link-layer reachability on a specific interface.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin host + namespace + exact flow → identify configuration owner/renderer → identify ifindex/interface + topology → inspect link/carrier → inspect addresses → inspect neighbor resolution → reproduce route/rule lookup → verify VLAN/bond/bridge/MTU as relevant → inspect packets/socket → verify return path → repeat original workload.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chainselected route/nexthop → neighbor lookup → solicitation → peer response → NUD state/MAC → L2 frame delivery → IP path → workloadTrace requested/configured state through effective state to the observed workload result.
Failure boundaryNeighbor resolution proves link-layer reachability for one next hop on one interface; it does not prove routed end-to-end reachability or application health.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux networking evidence can establish this proof path: selected route/nexthop → neighbor lookup → solicitation → peer response → NUD state/MAC → L2 frame delivery → IP path → workloadUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured namespace, interface, local kernel, L2/path or workload scope. Neighbor resolution proves link-layer reachability for one next hop on one interface; it does not prove routed end-to-end reachability or application health.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven boundary: confirm namespace and configuration owner, inspect ifindex/link/address/neighbor/route state for the exact flow, verify L2/MTU construction and packet movement, then test the listening service and return path before making additional changes.Continue to the next unresolved boundary while preserving the original test condition.

ARP / Neighbor Table · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryARP / Neighbor Table
Topic pathLinux Networking → ARP / Neighbor Table
Runtime stateLinux uses the neighbor subsystem for IPv4 ARP and IPv6 Neighbor Discovery; entries transition through NUD states and map next-hop IP addresses to link-layer reachability on a specific interface.
Fast checks- Pin namespace, interface and exact next-hop IP whose L2 identity is required. - Inspect NUD state, MAC, timestamps and whether state changes during the test. - Capture ARP or ICMPv6 ND on the intended interface when resolution behavior is ambiguous. - After neighbor resolution succeeds, continue with route, firewall and service verification.
Verification chainselected route/nexthop → neighbor lookup → solicitation → peer response → NUD state/MAC → L2 frame delivery → IP path → workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryNeighbor resolution proves link-layer reachability for one next hop on one interface; it does not prove routed end-to-end reachability or application health. Boundary chain: process/socket namespace → source/rule/FIB → neighbor → netfilter/eBPF/qdisc → virtual/physical device → peer → return → application.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?