# How does first-hop redundancy work with OSPF to keep clients connected?

Exam: 200-301 — Implementing and Administering Cisco Solutions
Knowledge domain: IP Connectivity
Updated: 2026-11-25T05:30:53.04808+00:00
HTML: https://learningpathx.com/faq/200-301/ccna200301-fhrp-and-ospf-gateway.html

## Also asked as

- How can first-hop redundancy keep the virtual gateway available while upstream routing changes?
- What do I verify separately for HSRP failover and OSPF reachability?

First-hop redundancy keeps a host's virtual default gateway available on its local network. OSPF calculates usable routes through the routed network. The gateway device currently forwarding for the virtual address still needs an upstream route and a working return path.

With HSRP, for example, clients point to the shared virtual IP. The active router forwards traffic for the group, and a standby router can take over if the active router goes away. If only the active router's upstream path fails while it remains active on the client VLAN, hosts can still reach the virtual gateway while their off-subnet traffic fails. HSRP tracking can lower the active router's priority when a tracked object fails. A higher-priority peer with preemption enabled can then take over, provided the priority change and topology allow it.

On a Catalyst 9300 with Cisco IOS XE 17.15.x and an existing HSRP group, use `show standby` to check the virtual IP and role. Independently check the active gateway's route to the destination and test an off-subnet flow from an actual client. During a controlled lab failure, confirm both the expected gateway role and usable end-to-end forwarding.

### References

* [Catalyst 9300 HSRP configuration and state](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/ip/b_1715_ip_9300_cg/configuring___hsrp.html)
* [Cisco HSRP preemption and tracked objects](https://www.cisco.com/c/en/us/support/docs/ip/hot-standby-router-protocol-hsrp/13780-6.html)
* [Catalyst 9300 single-area OSPF configuration and verification](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/rtng/b_1715_rtng_9300_cg/configuring_ospf.html)

Source: [Single-Area OSPFv2 and First-Hop Redundancy Fundamentals](https://learningpathx.com/news/single-area-ospfv2-and-first-hop-redundancy-fundamentals.html)
