MIKE HIGGINBOTTOM

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

ARPDuplicateAddressDetection

Two hosts probing at once

While it probes, from the first probe until ANNOUNCE_WAIT (2 seconds) after the last, a host watches for two kinds of conflict (RFC5227 §2.1.1):

The second case covers two hosts given the same address, by mistake, that come up together. Neither owns the address yet, so neither can defend it, and each probe’s Sender IP is 0.0.0.0, so the first check catches neither. Without the second check both would find the address free, announce it and use it. With it, both back off and report the conflict to whatever configured them (an operator or a DHCP server)

The Sender MAC check matters because some hubs and many wireless access points echo a broadcast back to its sender. Without it a host would see its own probe come back and take it for someone else’s

On the wire: two or more Sender MACs probing the same Target IP within a few seconds, with Wireshark’s arp.isprobe set on each. That’s the Simultaneous probes pattern in ARPCapturePatternCatalogue, and one of the ways an IP address conflict shows

Hosts that keep getting conflicts must slow down: after MAX_CONFLICTS (10) on an interface, no more than one new address per RATE_LIMIT_INTERVAL (60 seconds), so a faulty DHCP server handing everyone the same address can’t cause an ARP storm