MIKE HIGGINBOTTOM

A Digital Garden - frequent growth but a bit weedy in the back corner

Unsolicited ARP

Definition: A reply or a GratuitousARPRequest with nothing outside the sender’s local stack asking for information

GratuitousARPRequest is allowed because it is using the request opcode to make an announcement dressed as a question

One nuance that sometimes causes confusion: under RFC 826, a host that receives an ordinary ARP request will often record the sender’s IP-to-MAC mapping as a side effect, so a normal request does spread some information nobody asked for. But that’s incidental; the request’s purpose is to solicit an answer, so it isn’t classed as unsolicited.

A StandardARPRequest is solicited because it’s a non-gratuitous request

A StandardARPReply is solicited because something outside the sender’s local stack is asking for information

A ProxyARP reply is solicited too: a router answers a real request on another host’s behalf, putting its own MAC in Sender MAC

A GratuitousARPRequest is unsolicited because nothing outside the local stack is asking for it

A GratuitousARPReply is usually unsolicited because no request prompted it. The exception is a host answering a GratuitousARPRequest for an IP it already owns: the reply has equal IPs, so it lands among the gratuitous packets, but it was solicited. See IPEqualityAsADefinition

ARPCachePoisoning is an unsolicited non-gratuitous reply sent to a specific host claiming “the gateway’s IP is at my MAC,” with no request preceding it. The attacker isn’t advertising its own IP.

Unsolicited is a purpose, not a packet form: it can’t be read off the packet, since it depends on whether a request came first. So Unsolicited Non Gratuitous ARP’s directed cache update matches ARPFieldValueSet63, a StandardARPReply, and only the missing request tells it apart

IPv6’s Neighbor Discovery makes the distinction a flag. A Neighbor Advertisement’s Solicited flag is set only when it answers a Neighbor Solicitation, and it MUST NOT be set in multicast or unsolicited advertisements (RFC 4861 §4.4). The unsolicited form does gratuitous ARP’s job: a node whose link-layer address changes MAY send up to three to the all-nodes multicast address (§7.2.6)