Hot Standby Router Protocol (HSRP)

In the previous course, you learned the importance of First Hop Redundancy Protocols (FHRPs) in ensuring network reliability and availability. Now, we’ll explore what is HSRP in networking and why it’s one of the most widely used FHRPs developed by Cisco.

  • HSRP (Hot Standby Router Protocol) is a Cisco redundancy protocol that allows multiple routers to share a single virtual default gateway.

    It ensures that your devices always have a reachable gateway even if the main router fails.

    default gateway fails without hsrp

    Figure 1 - Default Gateway Fails

    In a normal network, when the default gateway goes down, all devices lose connectivity outside their subnet.
    HSRP solves this problem by creating a virtual router shared between several physical routers.
    With this setup, your network continues to operate normally even if one router fails.

    HSRP Overview

    HSRP is the first protocol from the First Hop Redundancy Protocol (FHRP) family that you’ll learn about.
    By the end of this lesson, you’ll understand how HSRP keeps your gateway alive and what happens behind the scenes when a router fails.

    Let’s start by exploring the concept of the HSRP Group.

    HSRP Group

    HSRP groups routers into logical units called HSRP groups, each identified by a unique group number.
    Routers in the same group work together to maintain the same virtual gateway for connected hosts.

    In the example below, routers R1 and R2 belong to HSRP Group 1.

    what is HSRP in networking diagram showing HSRP Group 1 with R1 and R2 sharing a virtual IP for default gateway redundancy

    Figure 2 – HSRP Group Topology

    Once you decide which routers belong to the same group, you assign them a Virtual IP Address (VIP).

    This address acts as the default gateway for all devices in your network.

    Answer the question below

    Which protocol keeps the default gateway available if a router fails?