Use it to read ARP in a capture: an ordinary request, an announcement, a duplicate-address probe, or two devices claiming one address.
ARP Packet Field Reference
1. Capture with filter arp — is the request followed by a reply?
2. Requests repeat, no reply → the target is absent or in another VLAN.
3. Filter on the IP — more than one sender MAC? → duplicate address.
4. Bursts of gratuitous ARP → an address moved: failover, migration, restart.
5. Reply sent but cache unchanged → dropped by ARP inspection on the way.
request broadcast with the target IP → owner receives it → unicast reply with its MAC address → asker caches the pair → only one MAC ever claims the IP
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip arp 10.20.0.50Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
show ip arp 10.20.0.50
debug arp
show ip arp inspection statistics
The ARP table shows the result of the exchange. debug arp prints each ARP packet the router sends or receives with operation, both address pairs and interface; use it briefly on a quiet interface. On a switch with ARP inspection, the statistics show dropped ARP packets.
In a capture, filter on arp. For a failing resolution, look for the request and check whether a reply follows; for a suspected duplicate, filter on the IP address (arp.src.proto_ipv4 == 10.20.0.50) and see whether more than one sender MAC appears. Wireshark flags this itself as "duplicate use of IP address detected".
Known-good: one request, one reply, and a single MAC address ever claiming the IP.
Step 2 Failure isolation workflow Narrow the fault
- Requests repeat with no reply. The target is absent, in another VLAN, or does not hold that address.
- Two different MAC addresses answer for one IP. A duplicate address — or a router answering by proxy ARP alongside the real owner.
- A reply arrives but the cache is not updated. The reply was dropped on the way by ARP inspection, or it came for a different target than was asked.
- A burst of gratuitous ARP. An address moved: a failover, a virtual machine migration, or a device restarting. Repeated bursts for the same address suggest two devices contending for it.
- A probe is followed by a reply. A host tried to take an address that is already in use.
- A constant high rate of ARP requests from one source. A device scanning the subnet.
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.
Request: broadcast, target MAC zero. Reply: unicast to the asker. Gratuitous ARP: sender IP equals target IP — an announcement, as at a failover. Probe: sender IP 0.0.0.0. More than one sender MAC for the same IP is a duplicate address.
show ip arp <ip>— the result of the exchange.debug arp— each ARP packet with operation and both address pairs; use briefly.show ip arp inspection statistics— ARP packets dropped by inspection.- Capture filter
arp, orarp.src.proto_ipv4 == <ip>to see who claims an address.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
An ARP packet is a short, fixed-format message carried directly in an Ethernet frame. It contains two pairs of addresses — the sender's MAC and IP, and the target's MAC and IP — and one field saying whether it is a question or an answer.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
The packet is simple, but its variants look alike in a capture and mean different things: an ordinary request, an announcement, a duplicate-address probe. Reading the four address fields shows who is asking, who claims an address, and whether two devices claim the same one.
ReferenceHow it works1 section · depth on demand
How it works
ARP is carried in Ethernet frames with EtherType 0x0806. The packet is 28 bytes for IPv4 over Ethernet:
| Field | Size | Value |
|---|---|---|
| Hardware type | 2 bytes | 1 = Ethernet |
| Protocol type | 2 bytes | 0x0800 = IPv4 |
| Hardware address length | 1 byte | 6 |
| Protocol address length | 1 byte | 4 |
| Operation | 2 bytes | 1 = request, 2 = reply |
| Sender MAC address | 6 bytes | The sender's own MAC |
| Sender IP address | 4 bytes | The sender's own IP |
| Target MAC address | 6 bytes | All zeros in a request; the asker's MAC in a reply |
| Target IP address | 4 bytes | The address being asked about; the asker's IP in a reply |
The variants.
| Kind | Sent to | Recognised by | Meaning |
|---|---|---|---|
| Request | Broadcast | Operation 1; target MAC zero | "Who has the target IP? Tell the sender." |
| Reply | The asker, unicast | Operation 2 | "The sender IP is at the sender MAC." |
| Gratuitous ARP | Broadcast | Sender IP = target IP | "I have this address" — an announcement, after start-up or when an address moves |
| Probe | Broadcast | Sender IP is 0.0.0.0 | "Is anyone using the target IP?" — sent before a host starts using an address |
What receivers do. The target of a request stores the sender's pair and replies. Other devices that already have an entry for the sender's IP update it from any ARP packet they see, which is how a gratuitous ARP redirects traffic after a failover — and how a forged one can redirect it to an attacker.
The MAC addresses inside the ARP packet normally equal those in the Ethernet header around it. A difference is unusual and worth explaining; Dynamic ARP Inspection can check for it.
ARP packets are shorter than the minimum frame and are padded; the padding is not part of ARP.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
ARP packet fields
An ARP packet is short and fixed in format, and RFC 826 defines every field:
- ar$hrd: the hardware type (1 for Ethernet).
- ar$pro: the protocol type, which uses Ethernet type values (0x0800 for IPv4).
- ar$hln and ar$pln: the hardware and protocol address lengths (6 and 4).
- ar$op: the opcode, 1 for a request and 2 for a reply.
- Addresses: the sender's hardware and protocol addresses, then the target's. The target hardware address is unknown in a request.
Field layout (IPv4 over Ethernet)
| Field | Bytes | Request | Reply |
|---|---|---|---|
| Hardware type | 2 | 1 | 1 |
| Protocol type | 2 | 0x0800 | 0x0800 |
| Hardware length | 1 | 6 | 6 |
| Protocol length | 1 | 4 | 4 |
| Opcode | 2 | 1 | 2 |
| Sender MAC | 6 | Requester's MAC | Responder's MAC |
| Sender IP | 4 | Requester's IP | Responder's IP |
| Target MAC | 6 | 00:00:00:00:00:00 | Requester's MAC |
| Target IP | 4 | The IP being resolved | Requester's IP |
The packet is 28 bytes. Inside an Ethernet frame (14-byte header) it is 42 bytes and is padded to the 60-byte minimum.
Special ARP forms
| Form | Sender IP | Target IP | Purpose |
|---|---|---|---|
| Normal request | Own address | Address to resolve | Resolution |
| Gratuitous ARP | Own address | Own address | Announce or update after a failover, MAC change or VRRP/HSRP takeover |
| ARP probe (RFC 5227) | 0.0.0.0 | Address to be used | Duplicate detection before using an address |
| Proxy ARP reply | Router answers for another host | — | Legacy; usually disabled |
Receiving rules (RFC 826)
The receiver updates an existing entry for the sender's IP whenever one exists. It adds a new entry only when it is itself the target. It answers only requests addressed to its own IP. Aging is left to implementations.
host$ sudo tcpdump -eni eth0 -vv -c 2 arp
a4:bb:6d:55:01:64 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 10.110.0.1 tell 10.110.0.64, length 28
00:00:0c:9f:f0:6e > a4:bb:6d:55:01:64, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Reply 10.110.0.1 is-at 00:00:0c:9f:f0:6e, length 46
host$ tshark -r arp.pcap -Y "arp.isgratuitous == 1" -T fields -e arp.src.proto_ipv4 -e arp.src.hw_mac
A burst of gratuitous ARPs for a gateway address from a new MAC means either an FHRP failover (expected) or an attempted ARP spoofing attack (not expected). DAI distinguishes the two by checking against trusted bindings.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → ARP Packet Field Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc826.html · confidence 94%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.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
ARP Fields
Opcode + sender/target tuples.
30-second lookup
- Open Packet Field Explorer for field-level metadata.
- Use Packet Decoders for bit/flag values where relevant.
- Use Paste Output / Structured Parser for CLI evidence.
- Use Packet Filters to prove the wire boundary.
Evidence rule
A decoded field proves what is present in that packet/output at that moment. Continue through the verification chain before concluding end-to-end behavior.