HSRP (Hot Standby Router Protocol) Topology This lab demonstrates HSRP configuration for gateway redundancy. Two routers (R1 and R2) provide failover for VLAN 10 and VLAN 20 networks. R2 is the active router, while R1 acts as standby. PCs in each VLAN use the virtual gateway for high availability and seamless connectivity to the ISPs.
This repository contains a Hands-On Lab for HSRP (Hot Standby Router Protocol) implemented on PNETLab.
The goal of this lab is to demonstrate High Availability and Gateway Redundancy in Cisco networks.
In this scenario, two Cisco routers (R1 and R2) act as default gateways for two VLANs (VLAN 10 and VLAN 20).
Using HSRP, we configure a virtual IP address that serves as the default gateway for hosts.
If the active router fails, the standby router immediately takes over β ensuring uninterrupted connectivity.
π How to Test
Use ping to verify connectivity. ping 8.8.8.8
Shut down the Active Router (R2).
Watch as R1 takes over automatically and the clients remain connected without downtime.
π Why This Lab is Useful
β Demonstrates real-world high availability in networks
β Hands-on practice for CCNA/CCNP candidates
β Shows how to configure and verify HSRP failover
β Easy to replicate using PNETLab
π₯ How to Use
Copy the lab file into your PNETLab directory:
/opt/unetlab/labs/
Start the lab inside PNETLab.
Follow the configuration steps and test failover.