Failover transfers an active network role to a standby router after the active router fails. In first-hop redundancy, both routers use the same virtual IP address (VIP) and virtual MAC address, so hosts keep using the same default gateway. section 19.1.3 section 19.4
After failover:
- The standby router becomes active and sends gratuitous ARP (GARP) replies to the broadcast MAC address. section 19.1.3
- Switches relearn the virtual MAC address on the port leading to the new active router. section 19.1.3
- End hosts retain their default gateway and ARP entries because the VIP and virtual MAC remain unchanged. section 19.4
R1 fails
When R1 fails, R2 takes over the active role and sends GARP messages. Switches update their MAC tables, while hosts continue using 10.0.0.1 as their gateway. 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.
Trace the hardware failure, standby takeover, GARP broadcast, switch relearning, and unchanged host gateway. section 19.1.3





