A Digital Garden - frequent growth but a bit weedy in the back corner
A passive monitor: arpwatch listens for ARP on an interface, keeps every Ethernet/IP pairing it sees in a database (/var/lib/arpwatch/IFNAME.dat), logs to syslog, and emails a report when a pairing changes. It sends nothing, so it sees what any capture on that port would see, the limits included: see ARPCapturePatternCatalogue
From the arpwatch 2.1a15 manual, for an IP it already knows:
| Report | The IP’s MAC has… |
|---|---|
| new station | a MAC never seen before (a new host) |
| new activity | a pairing back in use after six months or more |
| changed ethernet address | moved to a MAC not seen for this IP before |
| flip flop | gone back to the MAC it had before last (A → B → A) |
| reused old ethernet address | gone back to a MAC third or further back (syslog only) |
Syslog also gets messages about single packets: ethernet mismatch when the Ethernet source isn’t the Sender MAC (the SenderMACMismatch forms, e.g. StandardARPReplySenderMACMismatch), bogon for a sender IP outside the local subnet, and the broadcast ones
The IP/MAC flip-flop in ARPCapturePatternCatalogue is broader than arpwatch’s own term: it means the same IP claimed by different MACs over time, which arpwatch splits into changed ethernet address, flip flop and reused old ethernet address. Wireshark’s arp.duplicate-address-detected reports the same thing, packet by packet. One change is usually routine. A pairing going back and forth is the one to look at. The causes:
arp_ignore and arp_announce sysctls stop it. A benign flip-flop that never stopsArpwatch can’t tell these apart. Knowing which MACs should hold the address does: a NIC pair in one host (flux), a cluster pair (failover), or a MAC nobody recognises (spoofing or a stray device)