A Digital Garden - frequent growth but a bit weedy in the back corner
Every known ARP ARPProcedure, the ARPPacketPurpose of each packet in it, and the ARPPacketForm that carries it. Uses of ARP that are none of these are in ARPPacketsAndProcedures, and what a capture shows of them across packets is in ARPCapturePatternCatalogue
| Procedure | Purposes, in order | Source | Topic |
|---|---|---|---|
| Address resolution | resolution request → resolution reply | RFC826 | ARPAddressResolution |
| Cache check | cache-check request → resolution reply | UnicastStandardARPRequest | |
| Duplicate address detection | probe ×3 → announcement ×2. Then a defence when another host claims the address, and a probe reply to any host probing for it | RFC5227 | ARPDuplicateAddressDetection |
| IPv4 link-local configuration | pick an address in 169.254/16 → as duplicate address detection, with every reply broadcast | RFC 3927 §2.1-2.5 | |
| DHCP address check | probe for the offered address → if answered, decline it to the server. If not, a gratuitous reply announcing it | RFC 2131 §4.4.1 | |
| Legacy duplicate check | announcement → conflict reply from any host already holding the address | RFC5227 §4 | Gratuitous ARP In TCPIP Illustrated Vol 1 |
| Failover or address takeover | announcements or gratuitous replies, often repeated | Linux bonding num_grat_arp |
IP And MAC Redundancy |
| MAC address change | announcement or gratuitous reply | Updating ARP Mapping | |
| Joining the network | announcement | Announcing A Nodes Existence | |
| Mobile IP home agent | announcement or gratuitous reply for the absent node → proxy replies | RFC5944 §4.6 | Gratuitous ARP In RFC 5944 |
| Proxy ARP | resolution request → proxy reply | ProxyARP | |
| Host discovery scan | resolution requests across a range → resolution replies | ARPScan | |
| Bonding link monitor | resolution requests to each arp_ip_target, every arp_interval → resolution replies |
Linux bonding docs | |
| Bonding receive load balancing | directed cache update to each peer, giving it one slave’s MAC for the bond’s IP | Linux bonding docs, mode 6 | Directed Cache Update |
| Cache poisoning | directed cache updates, repeated, to each victim | ARPCachePoisoning |
These are the sequences as they’re meant to run. What a capture shows of them across packets, the capture patterns such as an unanswered request, a reply nobody asked for, an IP moving between MACs or two hosts probing for one address, is in ARPCapturePatternCatalogue. One capture pattern can come from several of these procedures, normal or not, and a procedure that runs normally may show none.
A form’s Target MAC variants, e.g. StandardARPRequestBroadcastTargetMAC, serve the same purposes as the form itself
| Purpose | What the packet does | Packet forms | Procedures |
|---|---|---|---|
| Resolution request | Asks who has Target IP | StandardARPRequest | address resolution, proxy ARP, host discovery scan, bonding link monitor |
| Cache-check request | Asks a cached host directly whether it still has Target IP | UnicastStandardARPRequest | cache check |
| Resolution reply | Answers a request | StandardARPReply, or BroadcastStandardARPReply where replies are broadcast (RFC 3927 §2.5, RFC5227 §2.6) | address resolution, cache check, link-local configuration, host discovery scan, bonding link monitor |
| Proxy reply | Answers for another host, giving the proxy’s own MAC | StandardARPReply | proxy ARP, Mobile IP home agent |
| Probe | Asks whether an address is free, claiming none | ARPProbe | duplicate address detection, link-local configuration, DHCP address check |
| Probe reply | A host holding the address answers a probe | ARPProbeReply | duplicate address detection, link-local configuration, DHCP address check |
| Announcement | “This IP is at this MAC”, as a request | GratuitousARPRequest | duplicate address detection, link-local configuration, legacy duplicate check, failover, MAC address change, joining the network, Mobile IP home agent |
| Defence | One announcement sent when another host claims the address | GratuitousARPRequest | duplicate address detection, link-local configuration |
| Gratuitous reply | The same announcement, as a reply | GratuitousARPReply | failover, MAC address change, Mobile IP home agent, DHCP address check (RFC 2131 doesn’t give its fields) |
| Conflict reply | A host holding the address answers a gratuitous request for it | UnicastGratuitousARPReply | legacy duplicate check |
| Directed cache update | A reply nobody asked for | StandardARPReply: see Directed Cache Update | cache poisoning |