Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

ARP Packet Field Reference

Direct answer

An ARP packet carries two address pairs — sender MAC and IP, target MAC and IP — and an operation: 1 for request, 2 for reply. It travels directly in an Ethernet frame with EtherType 0x0806.

When to use this

Use it to read ARP in a capture: an ordinary request, an announcement, a duplicate-address probe, or two devices claiming one address.

First 30 seconds

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.

Operational verification

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
Platform / version applicability
Protocol standard + deployed implementation
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.

PlatformProtocol standard
Key commandshow ip arp 10.20.0.50
Scope / prerequisiteUse it to read ARP in a capture: an ordinary request, an announcement, a duplicate-address probe, or two devices claimi…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

2 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 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 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
Command lookup Jump straight to Cisco syntax
Key points

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.

Key checks
  • 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, or arp.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:

FieldSizeValue
Hardware type2 bytes1 = Ethernet
Protocol type2 bytes0x0800 = IPv4
Hardware address length1 byte6
Protocol address length1 byte4
Operation2 bytes1 = request, 2 = reply
Sender MAC address6 bytesThe sender's own MAC
Sender IP address4 bytesThe sender's own IP
Target MAC address6 bytesAll zeros in a request; the asker's MAC in a reply
Target IP address4 bytesThe address being asked about; the asker's IP in a reply

The variants.

KindSent toRecognised byMeaning
RequestBroadcastOperation 1; target MAC zero"Who has the target IP? Tell the sender."
ReplyThe asker, unicastOperation 2"The sender IP is at the sender MAC."
Gratuitous ARPBroadcastSender IP = target IP"I have this address" — an announcement, after start-up or when an address moves
ProbeBroadcastSender 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)

FieldBytesRequestReply
Hardware type211
Protocol type20x08000x0800
Hardware length166
Protocol length144
Opcode212
Sender MAC6Requester's MACResponder's MAC
Sender IP4Requester's IPResponder's IP
Target MAC600:00:00:00:00:00Requester's MAC
Target IP4The IP being resolvedRequester'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

FormSender IPTarget IPPurpose
Normal requestOwn addressAddress to resolveResolution
Gratuitous ARPOwn addressOwn addressAnnounce or update after a failover, MAC change or VRRP/HSRP takeover
ARP probe (RFC 5227)0.0.0.0Address to be usedDuplicate detection before using an address
Proxy ARP replyRouter 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docProtocol standard + deployed implementation RFC 826

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%
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
arp fieldsarp opcode
Embedded quick reference

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.

Confirmation

Confirm action

Continue?