Module 28 / 54 · IP connectivity
Maintain a first-hop gateway through failover
Two distribution switches provide HSRP for a user VLAN. Should workstations use a different gateway address when the active switch fails?
Maintain a first-hop gateway through failover
The first-hop redundancy lecture introduces the shared gateway address used by end hosts.
Work through the decision
Two distribution switches provide HSRP for a user VLAN. Should workstations use a different gateway address when the active switch fails?
Check your reasoning
Clients keep the virtual IP as the default gateway. The standby can assume the active role and virtual MAC. Verify failover with a client flow and check upstream reachability as well as local HSRP state.
Interpret the evidence
- Virtual IP
- Clients use the shared gateway address regardless of which router currently forwards.
- Virtual MAC
- The active gateway represents the shared IP on the LAN using the group’s Layer 2 identity.
- Standby router
- A standby takes over forwarding if the active gateway is lost according to the protocol’s timers.
- Preemption
- When configured, an eligible higher-priority router can reclaim the active role after recovery.
- Interface tracking
- A tracked upstream failure can reduce effective priority and make a healthy alternate path preferable.
Practice the guide skills
- Label the virtual IP, virtual MAC and both real router addresses. Trace host ARP and next-hop forwarding through an active-router failure.
- Predict recovery with and without preemption and with a decrement for lost upstream connectivity.
Official objectives for this lesson
Related lesson · Measure data loss and service restoration separately
Knowledge check
Maintain a first-hop gateway through failover quiz
Answer 3 questions. Check each answer for an explanation.