Gratuitous ARP (GARP) is an ARP reply sent without a preceding request. During an FHRP failover, the new active router broadcasts GARP so switches relearn the virtual MAC address on the correct port. section 19.1.3 section 19.4
FHRP failover
If R1 fails, R2 becomes active and sends GARP messages sourced from the virtual MAC address and destined for ffff.ffff.ffff. Hosts keep using the same VIP and ARP entry, while switches update their MAC address tables. section 19.1.3
Figure 19.4 An FHRP failover. (1) A hardware failure occurs on R1. (2) R2 takes over as the active router. (3) R2 sends GARP messages, sourced from the virtual MAC and destined for the broadcast MAC. (4) The switches learn the virtual MAC on the appropriate ports—those leading toward the new active router. (5) End hosts’ default gateways and ARP table entries for the VIP remain the same.
Follow the failover sequence from hardware failure through GARP transmission, switch relearning, and unchanged host gateway settings. section 19.1.3
