Pcornel
Networking · Network & Protocols › IPv4, ARP & ICMP

ARP Packet Field Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=286

Back to the Topic

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.

Remember

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.

First 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.

Commands

debug arp

Verify in this order

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

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=286

Confirmation

Confirm action

Continue?