Share this
The Importance of Layer 3 Redundancy: Understanding HSRP – Pt. 1
by PivIT Global on Aug 11, 2022 7:05:00 AM
Providing Layer 3 redundancy is crucial for uninterrupted network services and communications in enterprise networks. This approach provides hardware redundancy in the event of a device failure. It offers various alternative routing paths throughout the network.
When routers have several routes to a specific destination, they always choose the best one according to the routing protocol's criteria. However, most computers, servers, or printers do not support dynamic routing protocols.
They must use a default gateway whenever they need to communicate to external networks. Therefore, providing a non-stop default gateway redundancy is essential for users to communicate outside their local networks. A special feature can be implemented to achieve this goal.
This Part 1 article provides an overview of the First Hop Redundancy Protocols (FHRPs), why we need to use them, their benefits, and basic information on the Hot Standby Router Protocol (HSRP). View Part 2 to find out how to implement HSRP and details on some of the additional features it supports.
View some of our other popular articles:
- Learn the Packet Delivery Process (Default Gateway and ARP) - Pt. 1
- Learn the Packet Delivery Process (Host-to-Host Communication) - Pt. 2
- Exploring Routing Functions and the Purpose of the Routing Table
- Why Is BGP the King of Routing Protocols?
The Need for Default Gateway Redundancy
End devices always send packets to the default gateway when the destination IP is not in the local network where they belong. However, the communications break if the default gateway fails, and the end devices become limited only to local network communications.
For that reason, dual redundant routers or Layer 3 switches can be implemented, so when the primary fails, the secondary can take over the role of the default gateway.
But redundant equipment alone does not guarantee failover. Let's look at the image above. The topology consists of two routers, R1 and R2, and both know how to reach the network's core and go to the internet.
At the same time, R1 operates as the primary default gateway for the end devices, so when PC1 needs to send data outside its local network, it sends it to R1.
However, like any other network device, R1 can fail, which is when the problems start for the end devices. Even though there is a redundant link through R2, the end devices are not capable of using that redundant option.
The reason is that each end device is configured with a single default gateway, and this information does not dynamically update when the network topology changes. Because there is no dynamic method that can help the end devices to update the default gateway IP, they stay isolated from the rest of the network, even though a redundant device (R2) is available and can operate as a default gateway.
Explore your options here at PivIT. Click below to learn more about the router solutions we can bring to your network, whether it be the hardware itself, maintenance, or the field services you need to get online.
Understanding FHRP
Because end devices depend on using a default gateway, and no mechanism exists to update it dynamically when a topology change occurs, an additional feature must be implemented. The solution comes in the form of a concept called the First Hop Redundancy Protocol.
The image below shows a set of Layer 3 devices, which can be two or more routers or Layer 3 switches working together in a group as a single unit to present the illusion of a single "virtual" device (default gateway) to the end devices in the local network.
One of the devices is always active and responsible for processing the data it receives from the end devices, while another device functions as a backup and takes over the primary role when the active device fails.
For this concept to work, the "virtual device" is assigned a virtual IP address and a virtual MAC address. The end devices use the virtual IP address as a default gateway.
In reality, no such virtual device exists. Still, both physical devices (either routers or L3 switches) are aware of these two virtual parameters and use them when they have the active role.
As a result, when end devices send data to the default gateway (the virtual IP address), the device operating as an active unit oversees the virtual IP and MAC addresses and processes the traffic data.
On the other hand, when the active device fails, the backup device learns about that failure and takes over the active role transparently. Hence, endpoints see no disruption in service, even though a different device continues to operate as a default gateway for them. This is illustrated in the image above, which shows R2 assuming the role of the active (forwarding) router when R1 fails.
Also, the active device in the group is not just responsible for processing the data from the end devices that it receives but also for replying to the Address Resolution Protocol (ARP) request messages that it receives from the endpoints asking for the MAC address of the default gateway. The virtual MAC address is included in the ARP reply messages in such a case.
As part of PivIT's EXTEND, we offer a secure, isolated, and remote environment to pre-configure your network, compute, and storage hardware prior to deployment to your locations around the world using our out-of-band (OOB) management platform. Find out more about how our Remote Staging Environment works.
FHRP Variants
Besides providing transparent default gateway failover to the endpoints, the FHRP also offers device redundancy, load balancing, and Service Level Agreement (SLA) services, among many other features. You can choose the best FHRP for your network depending on different factors and criteria. On Cisco routers and switches, you can use the following protocols:
- Hot Standby Router Protocol (HSRP): First FHRP protocol that Cisco developed to provide Layer 3 redundancy on routers and Layer 3 switches. This protocol allows only one active device to process the traffic data, regardless of the number of devices included in the HSRP group.
- Virtual Router Redundancy Protocol (VRRP): Standard FHRP protocol that works like the HSRP protocol but slightly differs. Again, only one active device is responsible for processing the data traffic.
- Gateway Load Balancing Protocol (GLBP): New FHRP protocol from Cisco offers multiple active devices to operate simultaneously instead of just one. It provides better optimization and more beneficial load balancing.
Understanding the requirements for a Layer 3 redundancy and the advantages of using the FHRPs is crucial for providing a stable enterprise network without uninterrupted network communications. This not only optimizes the network behavior but also offers higher employee productivity at the same time.
To learn more about the FHRP concept and get familiar with the configuration of HSRP and the additional features it supports, check out the second part of this article.
If you are currently stuck with 90-120+ day lead times? Click below to cut your lead times down to a fraction of what they are, and get pricing in as little as 24 hours!
Share this
- Configuration Guides (47)
- Cisco Routers (29)
- Switches (27)
- Network Security (23)
- Cisco Switches (21)
- Routing Protocols (21)
- Routers (20)
- Cisco (19)
- Product Comparisons (19)
- Firewall (18)
- Cisco Security (17)
- Cisco Technical Information (17)
- IT Hardware Solutions (17)
- Network Protocols (17)
- Wireless (17)
- Security (15)
- OneCall (13)
- Servers (12)
- cisco asa (12)
- Cisco Wireless (11)
- Router Protocols (11)
- Cisco Catalyst (9)
- Cisco UCS (9)
- Upgrading Network (9)
- Cisco Servers (8)
- Product Highlight (8)
- Access Control Lists (7)
- Fortinet (7)
- Server Comparisons (7)
- Access Points (6)
- Arista Networks (6)
- OSPF (6)
- Wireless APs (6)
- Cisco ASR (5)
- Cloud Solutions (5)
- HPE-Aruba Wireless (5)
- Juniper Mist (5)
- Network Management (5)
- SD-WAN (5)
- Storage (5)
- Switch Comparison (5)
- Back To Basics (4)
- Cybersecurity (4)
- EIGRP (4)
- Firewall Architecture (4)
- HSRP (4)
- Juniper Networks (4)
- Network Automation (4)
- Network Servers (4)
- OEM Comparison (4)
- Aruba Central (3)
- Cisco Telephony (3)
- DHCP (3)
- DHCP Snooping (3)
- Dell EMC PowerEdge (3)
- Internet (3)
- Maintenance (3)
- Maintenance Renewal (3)
- Network Accessories (3)
- TPM (3)
- Telephony (3)
- aruba (3)
- Cisco NX-OS (2)
- Cisco Nexus (2)
- Dell Servers (2)
- Fortinet NGFWs (2)
- IT Trends (2)
- LAN Networks (2)
- Network Time Protocol (2)
- Palo Alto NGFWs (2)
- Rapid PVST+ (2)
- Remote Configuration (2)
- Software Defined Networking (2)
- WLAN (2)
- Ways to Save (2)
- fortigate (2)
- Asset Management (1)
- CPU Usage (1)
- Cisco AIR-CT (1)
- Cisco Aironet (1)
- Cisco DNA (1)
- Cisco ISR (1)
- Cisco Supervisor Engines (1)
- Cisco UCS Manager (1)
- Cognitive Campus (1)
- Cost of Downtime (1)
- Dell EMC Data Domain (1)
- Edge Switches (1)
- Fabric Extenders (1)
- GRE Tunnel (1)
- HPE BL (1)
- Juniper SRX (1)
- Nexus Switches (1)
- Nutanix (1)
- Optics (1)
- PowerEdge R740xd (1)
- STP Extension (1)
- Sparing Integrity Program (1)
- Switched Virtual Interface (1)
- TCP (1)
- UCS Fabric Interconnects (1)
- hyperconverge (1)
- April 2024 (2)
- March 2024 (1)
- February 2024 (2)
- January 2024 (1)
- December 2023 (1)
- November 2023 (2)
- October 2023 (1)
- September 2023 (3)
- August 2023 (5)
- July 2023 (2)
- June 2023 (4)
- May 2023 (5)
- April 2023 (8)
- March 2023 (7)
- February 2023 (5)
- January 2023 (2)
- December 2022 (3)
- November 2022 (3)
- October 2022 (8)
- September 2022 (9)
- August 2022 (9)
- July 2022 (8)
- June 2022 (9)
- May 2022 (5)
- April 2022 (3)
- March 2022 (1)
- February 2022 (2)
- November 2021 (2)
- October 2021 (1)
- September 2021 (2)
- August 2021 (2)
- July 2021 (3)
- June 2021 (2)
- May 2021 (4)
- April 2021 (4)
- March 2021 (2)
- February 2021 (1)
- January 2021 (2)
- December 2020 (2)
- November 2020 (2)
- October 2020 (2)
- September 2020 (2)
- August 2020 (4)
- July 2020 (5)
- June 2020 (4)
- May 2020 (6)
- April 2020 (2)
- March 2020 (1)
- February 2020 (2)
- January 2020 (2)
- December 2019 (1)
- May 2019 (2)
- April 2019 (5)
- February 2019 (1)
- January 2019 (3)
- December 2018 (1)
No Comments Yet
Let us know what you think