If a host acquires and puts to use an IP address that happens to already be in use on the network, it will cause connectivity issues for both hosts @ref
A host can check if an IP is in use by sending a few ARP Probes which can’t pollute anyone’s cache (typically 3)
If no one responds, the host will consider this IP address unique and officially claim the IP address with two ARPAnnouncement a couple of seconds apart. @ref
It will then keep defending the address afterward using ARPProbeReply in response to any other hosts trying to claim it with an ARPProbe. @ref
If the IP address in question is already in use, the initiator of the ARP Probe will expect an ARPAnnouncement from the original owner @ref
The initiator’s reaction to finding the IP in use would be different depending upon how it acquired the IP address. If it acquired the IP address using DHCP, it might try to ask for a new (unused) IP address from the DHCP server. If it acquired the IP address statically, then it simply doesn’t use the IP address and waits for the administrator to reconfigure a new IP address. @ref
Only difference between in the data in an ARPAnnouncement and in an ARPProbe is the ARP Sender IP is filled in for an announcement so the ARPCache can be updated due to there being a complete MAC/IP mapping @ref
Not all devices perform duplicate address detection @ref
Probes, then announcements, then defending the address
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):
any ARP packet, request or reply, whose Sender IP is the address it’s probing for. That address is in use, and the host MUST treat it so
an ARP Probe from another host for the same address: Target IP the address being probed, Sender MAC not one of its own. The host SHOULD treat this as a conflict too
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