MIKE HIGGINBOTTOM

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

GratuitousARPWithUnicastTargetMAC

A gratuitous ARP that names a MAC address in its Target MAC field. Sender IP equals Target IP, as in every gratuitous packet. The Target MAC field changes neither who receives the packet nor what it means.

Why the field doesn’t matter - Ethernet dst decides who receives the packet, not Target MAC. A broadcast Ethernet dst reaches every host and a unicast one reaches only one. GratuitousARPBroadcastVsBlankTargetMAC warns about mixing up the two fields. - Sender MAC and Sender IP carry the meaning. Receivers update their caches from that pair. In a gratuitous packet the target fields only repeat information: Target IP is the sender’s own address, and Target MAC is ignored @ref.

Where the unicast value comes from

The packet form topics say it’s often the sender’s own MAC. Not yet checked against the tools’ source or a capture: - iputils arping -A (reply mode) puts the sender’s own MAC in Target MAC. - arping -U puts ff:ff:ff:ff:ff:ff there. - The Linux kernel’s own announcements leave it 00:00:00:00:00:00.

So a unicast Target MAC mostly tells you which software sent the packet, the rough fingerprint GratuitousARPBroadcastVsBlankTargetMAC describes.

Packet forms

A unicast Target MAC occurs in four packet forms, plus their SenderMACMismatchVariant twins:

Ethernet dst Request Reply
broadcast GratuitousARPRequest GratuitousARPReply
unicast UnicastGratuitousARPRequest UnicastGratuitousARPReply

None of them is a packet form of its own: each covers all three Target MAC values.