MIKE HIGGINBOTTOM

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

Gratuitous ARP In TCPIP Illustrated Vol 1

TCPIPIllustratedVolume1 popularised the term @ref=s/4/7

A host sends an ARP request looking for its own IP address. Requests only

Normally used when the interface is configured at bootstrap time for:

Stevens’ definition is just “a host sends an ARP request looking for its own IP address”, which fixes:

The definition says nothing about the Target MAC, so it can be any of the three values:

Set Target MAC
ARPFieldValueSet451 unicast
ARPFieldValueSet461 ff:ff:ff:ff:ff:ff
ARPFieldValueSet471 00:00:00:00:00:00

These three make up the GratuitousARPRequest form

Some other valid sets also have Opcode 1 and equal IPs, but Stevens’ definition only loosely covers them:

GratuitousARPRequestSenderMACMismatch where Ethernet src ≠ Sender MAC. They fit “request for the sender’s own IP” only if you take “its own” from the ARP Sender MAC rather than the frame’s source. Stevens doesn’t consider this case.

Set Target MAC
ARPFieldValueSet452 unicast
ARPFieldValueSet462 ff:ff:ff:ff:ff:ff
ARPFieldValueSet472 00:00:00:00:00:00

These are UnicastGratuitousARPRequest and UnicastGratuitousARPRequestSenderMACMismatch (all with unicast Ethernet dst)

They still technically fit the wording, but they aren’t what Stevens describes, because a unicast request can’t do either job he gives it. It neither finds a conflicting host nor updates every host’s cache.

Field value set topic Eth dst Eth src = Sender MAC Target MAC
ARPFieldValueSet1 unicast yes unicast
ARPFieldValueSet2 unicast no unicast
ARPFieldValueSet11 unicast yes ff:ff:ff:ff:ff:ff
ARPFieldValueSet12 unicast no ff:ff:ff:ff:ff:ff
ARPFieldValueSet21 unicast yes 00:00:00:00:00:00
ARPFieldValueSet22 unicast no 00:00:00:00:00:00