AP Networking • Evidence & Analysis

ARP Command Guide

Use ARP and neighbor-cache output to diagnose local IPv4-to-MAC resolution, gateway reachability, incomplete entries, duplicate-IP clues, stale mappings, wrong masks, and switch-port location.

Independent AP Networking resource • Updated 2026-09-10 • Includes 24 free digital flashcards
ARP command rule: read the cache as evidence about the local next hop, then pair it with traffic, switch, or packet-capture evidence before drawing a broader conclusion.
Practice with Flashcards
Core purpose

ARP command output is a local neighbor-evidence tool, not a complete network inventory

The ARP or neighbor cache shows which local IPv4 addresses the host currently associates with which MAC addresses. That makes it useful for validating default-gateway resolution, checking whether a local host was recently resolved, spotting incomplete entries, and investigating duplicate-IP behavior. The key is to interpret the cache as evidence about the local Layer 2 next hop—not as a list of every device or router in the network.

ARP command reasoning chain: Expected Next Hop → Current Cache Entry → Generate Traffic → Recheck Mapping → Pair with Switch/Packet Evidence → State Boundary → Move to Next Dependency.
Reading arp -a

A typical ARP table gives you an IP address, a MAC address, and entry state

On systems that support arp -a, the output commonly lists local IPv4 neighbors and their corresponding physical addresses. Modern operating systems may expose similar information through neighbor commands rather than the older ARP utility, but the interpretation is the same: which local Layer 3 next-hop IP currently maps to which Layer 2 address?

Interface: 192.168.10.25 Internet Address Physical Address Type 192.168.10.1 00-11-22-33-44-55 dynamic 192.168.10.50 00-aa-bb-cc-dd-ee dynamic

The gateway and one local host appear because the client recently needed those mappings. Other devices can exist on the subnet without appearing.

Gateway mapping

Remote traffic normally causes the gateway's MAC address to appear—not the remote server's MAC

If a client at 192.168.10.25/24 sends traffic to 203.0.113.50, the IPv4 packet still targets 203.0.113.50. But Ethernet delivery on the local LAN needs the MAC of the default gateway, perhaps 192.168.10.1.

IP destination: 203.0.113.50 Local next hop: 192.168.10.1 ARP cache needs: 192.168.10.1 → gateway MAC ARP cache does NOT need: 203.0.113.50 → remote server MAC

This is one of the strongest ways to use ARP output to reinforce the difference between Layer 2 and Layer 3 addressing.

Dynamic entries

Dynamic mappings are temporary observations, not permanent identity records

A dynamic ARP entry is learned through normal resolution and can age out or be refreshed. That means a cache is a snapshot of current or recent neighbor knowledge.

An absent entry does not automatically mean the device is offline. The host may simply not have communicated with that neighbor recently. Generate traffic to the local neighbor and then inspect the table again when you need current evidence.

Static entries

Static mappings behave differently because the operating system does not learn them in the normal way

A manually configured mapping can remain fixed until changed or removed. This can be useful in specialized environments, but it can also preserve a wrong mapping indefinitely if the network changes.

Diagnostic caution: if one host behaves differently from peers, check whether a static neighbor entry exists before assuming the switch or gateway is at fault.
Incomplete resolution

An incomplete entry means the host knows which IP it wants—but has not learned the MAC yet

On modern neighbor tables, a resolution attempt may appear as incomplete, failed, or another unresolved state. That is useful because it proves the host attempted local Layer 2 resolution.

192.168.10.1 INCOMPLETE Interpretation: Client is trying to resolve gateway IP, but no usable MAC has been learned.

Now inspect VLAN membership, switch-port state, gateway-interface state, and packet capture rather than moving immediately to DNS.

Refresh the evidence

Generate one controlled flow before relying on the current cache

Because ARP entries age, a cache may not reflect the exact state at the moment you begin troubleshooting. A stronger method is to generate traffic to the neighbor you care about, then immediately inspect the cache.

1. Ping or otherwise contact 192.168.10.1 2. Run arp -a / neighbor command 3. Record mapping 4. Repeat if behavior is intermittent

This converts the ARP table from a passive snapshot into evidence tied to a specific test.

Duplicate-IP clue

The same IPv4 address alternating between two MAC addresses is much stronger than a generic disconnect

If 192.168.10.50 maps to one MAC at 10:01 and a different MAC at 10:03, and connectivity changes with the mapping, duplicate IPv4 addressing becomes plausible.

10:01 192.168.10.50 → 00-aa-aa-aa-aa-aa 10:03 192.168.10.50 → 00-bb-bb-bb-bb-bb

Confirm with DHCP lease records, static assignments, switch MAC tables, and controlled isolation before declaring a duplicate. High-availability systems can intentionally move an address between devices.

ARP cache versus switch MAC table

Use both artifacts when you need to turn an IP symptom into a physical switch-port location

ArtifactMappingWhat it tells you
ARP/neighbor tableIP → MACWhich Layer 2 identity owns the local IP?
Switch CAM/MAC tableMAC → port/VLANWhere did the switch learn that MAC?

Swipe horizontally to see the artifact comparison.

That two-step chain is extremely useful in duplicate-IP and wrong-VLAN investigations.

Locate a device

Start with the IP, learn the MAC, then trace the MAC through the switching path

Problem IP: 192.168.10.50 ARP: 192.168.10.50 → 00-aa-bb-cc-dd-ee Switch CAM: 00-aa-bb-cc-dd-ee → Gi1/0/18 VLAN 10 Next: Inspect endpoint on Gi1/0/18

This is much stronger than guessing which physical device owns the IP.

Wrong VLAN

An unresolved gateway can be caused by correct IP settings on the wrong Layer 2 segment

A client configured for 10.10.20.25/24 with gateway 10.10.20.1 may fail to resolve the gateway if its switchport is accidentally placed in VLAN 30. The client repeatedly broadcasts ARP, but the broadcast stays inside the wrong VLAN.

High-value clue: valid-looking client IP settings plus no ARP reply from the gateway should make VLAN/port placement a strong branch.
Wrong subnet mask

A wrong prefix can make a host ARP for a remote address instead of the gateway

Suppose a host at 192.168.1.70 belongs in a /27 but is configured /24. A destination at 192.168.1.100 is remote under /27, but the incorrect /24 makes it appear local.

Correct /27: 192.168.1.100 → remote → use gateway MAC Wrong /24: 192.168.1.100 → believed local → ARP directly

If packet capture shows ARP for the remote host instead of the gateway, the prefix decision is a strong suspect.

Wrong default gateway

ARP can succeed perfectly for the wrong gateway address

If DHCP or manual configuration points the client to an unintended local router, the ARP process may work exactly as designed. The host resolves that gateway's MAC and sends remote traffic there.

Evidence boundary: successful ARP proves the mapping worked. It does not prove the selected gateway was the correct one.
Packet capture pairing

Packet capture shows the actual request-and-reply sequence behind the cache entry

If the table says incomplete, a capture can distinguish “no request sent” from “request sent, no reply” from “reply received but mapping rejected or replaced.”

ARP, Request who-has 10.10.20.1 tell 10.10.20.25 ARP, Request who-has 10.10.20.1 tell 10.10.20.25 ARP, Request who-has 10.10.20.1 tell 10.10.20.25 No replies observed.

This strongly localizes the problem to local resolution or Layer 2 delivery.

★ Addressing Practice • ARP Command Guide

A five-minute warm-up for ARP Command Guide

Tomorrow’s opening question can pick up where this page leaves off: ask students to explain the idea in their own words and apply it to a real network. The 300 Bell Ringers give you short questions and teacher answers you can use without preparing a new starter each morning.

300 AP Networking Bell Ringers
$74.99
BUY TEACHER PACK → See what is included in the 300 Bell Ringers →
Instant Access • Full-Year Teacher Resource
Stale cache behavior

A stale mapping is plausible after hardware or interface replacement—but only if the evidence fits

If a gateway NIC is replaced and the gateway's IP now belongs to a new MAC, some clients may briefly retain the old mapping. Clearing or refreshing the neighbor cache can restore communication while the new mapping is learned.

But if the old mapping immediately returns, the real question becomes: which device is still advertising or causing that mapping?

Cache-clearing discipline

Clearing ARP is a diagnostic action, not a universal network fix

Repeatedly flushing the cache can hide the timing of a duplicate-IP or spoofing issue without correcting it. Use the clear-and-relearn cycle to gather evidence:

1. Record current mapping 2. Clear entry 3. Generate one test flow 4. Record new mapping 5. Repeat if intermittent 6. Compare MAC changes over time

This preserves the information value of the cache.

Proxy ARP boundary

Proxy ARP can make ordinary assumptions look unusual in specific designs

A router can answer ARP on behalf of another destination under proxy-ARP behavior. That means a host may learn the router's MAC for an IP that is not actually assigned to that local interface.

CLI & Artifact Lab • 120 Missions

Let students try ARP Command Guide for themselves

Reading the explanation is a start. In the browser simulator, students work through a broken network, choose what to test and see whether their fix worked. It gives them another chance to use what they learned about ARP Command Guide.

AP Networking Browser Troubleshooting Simulator
$29.99
120 Missions • 60 Failure Patterns • Offline Copy
GET THE SIMULATOR → See all 120 missions & features

This is an exception worth recognizing, but it should not replace the default model: ordinary host ARP resolves local neighbors and local next hops.

Security clue

Unexpected ARP changes can be accidental, operational, or malicious

A changing IP-to-MAC mapping could indicate a duplicate address, a legitimate failover pair, a replaced interface, or spoofing. Do not classify the cause from the ARP table alone.

ObservationPlausible causeNext evidence
IP changes MAC once after maintenanceHardware replacementChange record
IP alternates between two MACsDuplicate IP or HADHCP/static/HA config
Many mappings change toward one MACSpoofing suspicionPacket capture + switch security logs

Swipe horizontally to see the security differential table.

Dynamic ARP Inspection

DAI can add validation to ARP claims on supported enterprise switches

Dynamic ARP Inspection can compare ARP messages against trusted binding information, often populated through DHCP snooping. Invalid claims can be dropped before they poison other hosts' caches.

Addressing Exam Practice • ARP Command Guide

Check whether ARP Command Guide has really stuck

Once students have worked through this topic, give them questions mixed in with the rest of the course. The Exam Prep Vault includes practice exams, multiple-choice questions and artifact labs so they cannot rely on a chapter heading to tell them what to do.

AP Networking Complete Exam Prep Vault
$39.99
GET THE EXAM PREP VAULT → See the Exam Prep Vault contents →
4 Practice Exams • 320 MCQs • 60 Artifact Labs
Trusted binding: 10.10.20.25 00:11:22:33:44:55 Gi1/0/7 VLAN 20 Different MAC claims 10.10.20.25 → validation mismatch → ARP frame may be dropped
DAI troubleshooting boundary

A protection control can also block legitimate traffic when its trusted database is wrong

If static-address devices are not represented correctly in the binding logic, legitimate ARP can be rejected. When DAI logs a drop, inspect both the endpoint claim and the trusted binding state.

Security evidence must be interpreted in context: “DAI dropped ARP” proves the validation failed—not automatically that the endpoint is malicious.
Worked case 1

arp -a has no gateway entry after a ping attempt

The client pings 10.10.20.1, but the neighbor table remains incomplete.

Inference: investigate local VLAN placement, access-port state, gateway-interface state, and Layer 2 path. DNS and remote routing are downstream.

Worked case 2

Gateway mapping exists and gateway ping works, but Internet access fails

The ARP table shows 10.10.20.1 mapped to a stable MAC and the gateway responds to ping.

Premium Evidence-Grading Copilot

Spend less time marking explanations about ARP Command Guide

When students explain their answer, it takes more than a right-or-wrong check to see what they understand. The Grading Copilot helps you review how they used the clues, where their explanation falls short and what feedback to give next. You make the final grading decision.

AP Networking Artifact Analysis Grading Copilot
$49.99
8 Criteria • 5 Task Modes • Offline Premium Copy
GET THE GRADING COPILOT → See the free Copilot preview

Inference: preserve client-to-gateway Layer 2 reachability as known-good. Move to routing, NAT, firewall, DNS, WAN, or remote-service evidence.

Worked case 3

One IP alternates between two MAC addresses

Connectivity to 10.10.30.50 flips between working and failing. ARP output alternates between two physical addresses.

Inference: duplicate addressing, HA behavior, or spoofing is plausible. Trace each MAC through the switch and compare DHCP/static configuration.

Worked case 4

Client ARPs for a remote server instead of the gateway

Packet capture shows a host repeatedly asking for 192.168.1.100 even though the destination should be in another /27 subnet.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach ARP Command Guide as part of a planned school year

This page gives you one topic. The 180-Day Teacher Curriculum puts it into a full course plan, with daily teaching notes, student activities and checks for understanding. Use it when you need to know what comes before this lesson and what to teach next.

AP Networking Complete 180-Day Teacher Curriculum
$199.99
180 Lessons • 180 Daily Simulators • 36 Teaching Weeks
GET THE 180-DAY CURRICULUM → See 3 free curriculum examples

Inference: inspect the client's subnet mask/prefix before changing firewall or route policy.

Worked case 5

ARP identifies the MAC; the switch table identifies the wrong port

The gateway IP resolves to a MAC learned on an unexpected access port rather than the expected router uplink.

Inference: investigate whether another device is claiming the gateway address or whether the topology/configuration differs from documentation.

Evidence boundaries

Know exactly what ARP command output proves

ObservationSupportsDoes not prove
Gateway ARP entry existsGateway IP maps to a MAC locallyInternet routing works
Entry is absentNo current mapping is shownNeighbor is offline
Entry is incompleteResolution is unresolvedExact cause is VLAN failure
IP changes MACNeighbor identity changedDuplicate IP is certain
ARP cleared successfullyCache entry removedRoot cause corrected

Swipe horizontally to see the evidence-boundary table.

ARP command lab

Use a controlled before-and-after test to investigate an intermittent gateway mapping

Step 1: record gateway mapping 10.10.20.1 → 00:11:22:33:44:55 Step 2: clear only that entry Step 3: ping gateway Step 4: recheck cache 10.10.20.1 → 00:99:88:77:66:55 Step 5: trace both MACs in switch table

That process creates actionable evidence rather than repeatedly flushing the entire cache.

Troubleshooting decision tree

Choose the next artifact from what the cache actually shows

No entry after no traffic? → generate traffic first Incomplete gateway entry? → VLAN / port / gateway / Layer 2 Stable gateway entry + gateway ping works? → route / NAT / firewall / DNS / WAN Same IP changes MAC? → duplicate / HA / spoofing Need physical location? → ARP IP→MAC, then CAM MAC→port
Exam response model

Build the answer from expected next hop, current evidence, and the next discriminating test

Expected next hop: local host or default gateway?

Cache evidence: present, absent, dynamic, static, incomplete, or changing?

Refresh: generate one controlled flow if needed.

Pairing: use switch CAM, DHCP, or packet capture where appropriate.

Boundary: state what the ARP output does not prove.

Next step: move outward only after local next-hop resolution is known-good.

Free digital flashcards

24 ARP Command Guide digital flashcards

Practice arp -a interpretation, dynamic/static entries, incomplete resolution, gateway mappings, duplicate-IP clues, ARP vs. CAM tables, stale caches, wrong masks, DAI, and evidence boundaries.

All ARP command cards
Click or press Enter/Space to reveal.
State what the cache proves and the next evidence source.
0 seen•24 cards
Continue studying

Connect ARP command output to ARP mechanics, duplicate IPs, VLANs, and CLI analysis