A Digital Garden - frequent growth but a bit weedy in the back corner
‘Gratuitous ARP’ has no standard definition. It grew up informally, and it’s used in three broad ways, often without saying which:
The first two share Sender IP = Target IP and differ only in whether replies count. The third keeps only the unprompted part, and that’s the deeper split: sources define the term by the packet’s fields or by why it was sent, and the two pick out different packets. See ByFieldsOrByPurpose.
These notes use the second sense, and define GratuitousARPMessages by the fields alone: Sender IP = Target IP, neither being 0.0.0.0. The 0.0.0.0 exclusion is their own: no source makes it, and Wireshark flags a ZeroIPsARPPacket as gratuitous. So is counting unicast forms such as UnicastGratuitousARPRequest, which RFC 5944’s broadcast rule leaves out.
“Unsolicited” is about whether a request preceded the reply, “gratuitous” is about whether Sender IP = Target IP, and “spoofing” is about whether the binding is false (ARPSpoofing). The three are independent of one another, even though the common cases tend to line up.
More on each of these: