FHRP or “First Hop Redundancy Protocols” - RouterFreak (2024)

Table of Contents
6 comments Leave a Reply FAQs
  • CCNA, CCNP, Certification, Configuration Tips
  • Josué Vargas

FHRP or “First Hop Redundancy Protocols” - RouterFreak (1)

First Hop Redundancy Protocols (a.k.a. FHRP) are used to allowgateway redundancy. In this article, we cover the basics of this technology, with practical examples of configurations.

I’m amazed at how the approach of the CCNA certification has changed since the time I took my test and entered the Cisco world officially. Even though I personally believe Cisco has done a great job at gathering the topics and assembling tough evaluations, somehow there comes a point where technology changes and the topics that used to be worthy of attention and effort become outdated and the market starts demanding some new skills.

I came to realise this soon after I achieved my CCNA and started preparing for CCNP; one of the things I always wondered as a CCNA student was: why if default gateways are such a critical piece in a LAN environment, they seem to be a single point of failure? I found my answer in the CCNP SWITCH curricula on a topic called “First Hop RedundancyProtocols” and people who are preparing for the newest version of CCNA are lucky enough that this is now a topic taught and evaluated as part of this certification’s blueprint.

Well, first off, let’s briefly recall the concept of a default gateway: a default gateway is nothing else than the first hop for packets from a particular LAN (or VLAN to be more accurate) that need to reach a remote network; the router is able to forward such packets as long as its routing table keeps a route to the intended remote network or a default route is present. This means that if that first hop ever goes down, that particular network will become incapable to communicate to the outside world and only local communication across the switched domain will be possible, which in most cases, is of little use.

Having stated the problem, there’s a solution to it, fortunately. First Hop Redundancyprotocols will allow default gateway redundancy, meaning, having more than one default gateway enabled, in the event of a router failure there’s a backup device that will kick in and almost transparently to users, continue to forward traffic to remote networks, thus avoiding the situation of isolation depicted in the above paragraph.

There are three first hop redundancyprotocols that could be used for this purpose:

1. HSRP: It’s the first FHRP ever created and it’s Cisco proprietary, which means, it will not work with other manufacturers’ gear. HSRP is enabled in a particular interface and this interface is part of a “standby” group; besides the physical IP address of the defined interface, there’s a virtual IP address in the same subnet. The idea behind this is to perform, parallel to this, a similar configuration in an interface belonging to another router; this will effectively generate redundancy, since to different interface from different devices will share the same virtual IP address, then you can freely assign that virtual IP address as a default gateway to hosts in a network and regardless of which host is active you will always have a consistent gateway you could reach.

Now, I know you might be wondering about ARP and how the change is managed in the physical part of the communication; well, by default, HSRP also provides a virtual MAC address which is advertised by either router depending on which one is active at a given time; so the only thing to be updated when it comes to MAC addresses is the CAM table of the switch(es) in place; truly this is transparent to end users as they keep having the same entry in their ARP tables. What you see in the diagram as “Standby 1” is the group name the interface belong to, notice that both redundant interfaces in each router belong to the same “standby”. Also notice that a particular priority value is configured; in HSRP the higher the priority the more preferred the router, meaning R1 in this case will be the “active” router for standby 1, whereas R2 will be idle and ready to jump in if something happens to R1. As you can see, both interface have their own IP address, however the both share the virtual IP 10.2.2.1 since this is the one that hosts will know as their default gateway.

2. VRRP: Since Cisco had this great idea with HSRP, soon the industry wanted to have such a functionality ported out to products from different vendors, therefore the IETF started working on a standards-based FHRP and the result was VRRP. As much as it might disappoint you, VRRP is not significantly different from HSRP, it’s really just the “open” version of it; the differences that exist between the two protocols are minimal, and this is why the CCNA curricula doesn’t ask you to have a deep understanding of VRRP. It’s still important that you understand what are this few differences, but the topic has already been covered by Joe in thisarticlein RouterFreak and I do recommend for your certification and general knowledge.

3. GLBP: Finally, the more advanced of the three possible FHRP protocols is GLBP. GLBP was designed with one main goal: improve the resource utilisation by achieving built-in load balancing between participating routers, and if you think about it, it makes perfect sense. Whenever you’re using HSRP or VRRP of gateway redundancy, if you wanted to achieve load-balancing between say, different VLANs, you would have configure different standby groups with different priorities in each router to achieve this “active-active” type of design that will not waste the capabilities of a full router while waiting for the other to fail. Even when this is still a common practice (the only possible one in many instances), it’s administratively burdensome and it might not scale as well as one would wish. The answer to this, was to create protocol that would natively provide both redundancy and load balancing, thus GLBP was created.

What you see in the figure above is the mechanism GLBP utilises to achieve its load balancing functionality. There’s a designated AVG (Active Virtual Gateway) which responds to ARPs from hosts; the trick here is, it doesn’t, of course, respond to those ARPs with a physical MAC address but a virtual one, which it assigns to one of the AVF (Active Virtual Forwarder) routers and thus the host sends it’s traffic to the router using the designated virtual MAC address. In this way, hosts have the same IP as their default gateway, but different MAC addresses int their ARP table, thus, they send the traffic to different devices and the goal of load distribution is achieved. By default, the AVG will respond and assign AVFs in a round-robin fashion, although the source-mac-based and weighted options are also available.

One final warning about GLBP is that (as disappointing it might be) it’s not available in all Cisco platforms but on Cisco 4500 and 6500 switches; I know I’m not the only one hoping that Cisco will eventually make this wonderful protocol available on the branch planforms as well, but only time will tell.

Conclusion

While I didn’t expect to make you “master of FHRPs” by reading this single article, I do hope you get the idea and understand the functionality and particularities of the protocols described here. You will find a lot of this in your job as a network engineer and is advisable that you practice it a lot, tweaking different parameters.

Would you like to know more about FHRP protocols? Please leave a comment so we know what you’d like to see in future posts!

What do you think about this article?

6 comments

  1. FHRP or “First Hop Redundancy Protocols” - RouterFreak (5)

    Abdel

    August 1, 2019 at 7:07 am

    That was a well explained article thank you very much

    Reply

  2. FHRP or “First Hop Redundancy Protocols” - RouterFreak (6)

    Pankaj Kumar

    October 10, 2015 at 3:03 am

    nicely explained. I got the basic understanding to FHR Protocols.Thank you very much Josue

  3. FHRP or “First Hop Redundancy Protocols” - RouterFreak (7)

    Baba

    June 30, 2014 at 10:10 am

    But that virtual IP address on the HSRP implementation is not on the same subnet has the physical IP address on the network of /24. Am I missing something?

    Reply

  4. FHRP or “First Hop Redundancy Protocols” - RouterFreak (8)

    Chris

    June 13, 2014 at 11:23 am

    Isn’t it ‘First Hop Redundancy Protocols’?

    Reply

    • FHRP or “First Hop Redundancy Protocols” - RouterFreak (9)

      Daniele

      June 17, 2014 at 3:56 am

      Thanks Chris, fixed it 😉

      Reply

  5. FHRP or “First Hop Redundancy Protocols” - RouterFreak (10)

    Gulmohammed

    June 2, 2014 at 10:52 am

    It’s seem to have a good article with good content.

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About us

RouterFreak is a blog dedicated to professional network engineers. We
focus on network fundamentals, product/service reviews, and career advancements.

Disclaimer

As an Amazon Associate, I earn from qualifying purchases.

RouterFreak is supported by its audience. We may receive a small commission from the affiliate links in this post, at no extra cost to our readers.

Topics

Recommended

FHRP or “First Hop Redundancy Protocols” - RouterFreak (11)

Popular articles

  • Mac Ransomware on the Rise: How a VPN Minimizes the Risk
  • The Business Case For Investing In Website Accessibility
  • How To Connect Vizio TV To WiFi Without Remote
  • Hisense TV Universal Remote Codes
FHRP or “First Hop Redundancy Protocols” - RouterFreak (2024)

FAQs

What is FHRP first hop redundancy protocol? ›

A first hop redundancy protocol (FHRP) is a computer networking protocol which is designed to protect the default gateway used on a subnetwork by allowing two or more routers to provide backup for that address; in the event of failure of an active router, the backup router will take over the address, usually within a ...

What is the benefit of first hop redundancy protocol? ›

FHRP allows multiple routers to act as a backup for each other in case one of them fails or becomes unreachable. This way, the network can avoid losing connectivity to the default gateway and ensure uninterrupted traffic flow.

What is Cisco first hop redundancy? ›

First Hop Redundancy Protocol (FHRP) is a hop redundancy protocol that is designed to provide redundancy to the gateway router within the organization's network by the use of a virtual IP address and virtual MAC address. To implement FHRP, there should be two or more routers that will be used as a gateway router.

What's the purpose of using FHRP? ›

IP routing redundancy is designed to allow for transparent fail-over at the first-hop IP router. Both HSRP and VRRP enable two or more devices to work together in a group, sharing a single IP address, the virtual IP address.

What is the need for FHRP? ›

FHRP ensures that if the first hop fails, another device can take over and continue to provide connectivity for devices on the network. FHRP is important because it provides redundancy for the first hop of a network. If the first hop fails, devices on the network will lose connectivity.

What is the redundancy protocol for routers and switches? ›

Virtual Switch Redundancy Protocol
  • Common Address Redundancy Protocol.
  • Virtual Router Redundancy Protocol.
  • Hot Standby Router Protocol.
  • Spanning Tree Protocol.

Which one is the industry standard for first hop redundancy protocol? ›

HSRP operates at the data link layer (Layer 2) and is widely used in Cisco environments. 2) Virtual Router Redundancy Protocol (VRRP): Similar to HSRP, VRRP is an industry-standard FHRP.

Why is router redundancy important? ›

Network redundancy is the process of providing multiple paths for traffic so that data can keep flowing even in the event of a failure. Put simply: more redundancy equals more reliability. It also helps with distributed site management.

What is the purpose of using first hop redundancy protocol in a specific subnet CCNA? ›

What is the purpose of using First Hop Redundancy Protocol on a specific subnet? The routers in the FHRP group share a virtual MAC and Virtual IP and that acts as the Default Gateway for the HOSTS. It provides redundancy is case a router fails, no need to change the default gateway information.

What is the redundant router protocol? ›

The Virtual Router Redundancy Protocol (VRRP) is a computer networking protocol that provides for automatic assignment of available Internet Protocol (IP) routers to participating hosts.

What is the redundancy command on a Cisco router? ›

To enter the redundancy main configuration submode and enable the standby switch, use the main-cpu command in redundancy configuration mode. This command has no arguments or keywords. From the redundancy main configuration submode, use the standby console enable command to enable the standby switch.

Which of the following is a Cisco-proprietary first hop redundancy protocol? ›

Hot Standby Router Protocol - (HSRP)HRSP is a Cisco-proprietary FHRP that is designed to allow for transparent failover of a first-hop IPv4 device.

What problem is solved with FHRP to restore network connectivity for clients? ›

The purpose of a First Hop Redundancy Protocol (FHRP) is to provide IP Routing Redundancy by allowing transparent fail-over at the First-Hop IP Router. Default gateway redundancy allows a network to recover from the failure of the device acting as the Default Gateway for end nodes on a physical segment.

What protocol is used for management gateway redundancy? ›

The best option for default gateway redundancy is implementing Layer 3 redundancy protocols such as HSRP, VRRP, and GLBP.

Is a Cisco proprietary FHRP that provides redundancy through use of an active device and standby device? ›

HSRP is a Cisco-proprietary FHRP designed to allow for transparent failover of a first-hop IP device. HSRP is used in a group of routers for selecting an active device and a standby device.

What does the common address redundancy protocol do? ›

The Common Address Redundancy Protocol or CARP is a computer networking protocol which allows multiple hosts on the same local area network to share a set of IP addresses. Its primary purpose is to provide failover redundancy, especially when used with firewalls and routers.

What is IP routing redundancy protocol? ›

The Virtual Router Redundancy Protocol (VRRP) is a computer networking protocol that provides for automatic assignment of available Internet Protocol (IP) routers to participating hosts.

Top Articles
Your Top 10 Recipes of 2020
Pennsylvania Dutch Apple Crumb Pie Recipe - Food.com
Navin Dimond Net Worth
Kokomoscanner
Victoria Tortilla & Tamales Factory Menu
Meet Scores Online 2022
Toro Dingo For Sale Craigslist
104 Whiley Road Lancaster Ohio
Lux Nails Columbia Mo
Craiglist Mohave
Teamsideline Manatee
Navicent Human Resources Phone Number
24 Hour Lock Up Knoxville Tn
Santa Cruz Craigslist Cars And Trucks - By Owner
Is Holly Warlick Married To Susan Patton
92801 Sales Tax
B Corp: Definition, Advantages, Disadvantages, and Examples
Machiavelli ‑ The Prince, Quotes & The Art of War
'Kendall Jenner of Bodybuilding' Vladislava Galagan Shares Her Best Fitness Advice For Women – Fitness Volt
Hellraiser 3 Parents Guide
Power Outage Hales Corners
Dayz Nyheim Map
Nope 123Movies Full
Labcorp Locations Near Me
How to Be an Extra in a Movie (and What to Expect)
Does Gamestop Sell Magic Cards
David Knowles, journalist who helped make the Telegraph podcast Ukraine: The Latest a runaway success
Craigslist Apts Near Me
MovieHaX.Click
Restaurants Near Defy Trampoline Park
Brublackvip
Dr Yakubu Riverview
Sky Nails Albany Oregon
Fgo Spirit Root
Live Gold Spot Price Chart | BullionVault
charleston rooms & shares - craigslist
Wlox Jail Docket
Ticket To Paradise Showtimes Near Laemmle Newhall
Www.manhunt.cim
Santa Cruz Craigslist Cars And Trucks - By Owner
Nobivac Pet Passport
123Movies Iron Man 2
Congdon Heart And Vascular Center
Henkels And Mccoy Pay Stub Portal
Nashville Predators Wiki
Press-Citizen Obituaries
Connie Mason - Book Series In Order
Luciipurrrr_
Alvin Isd Ixl
Equine Trail Sports
Craigslist Apartments For Rent Imperial Valley
Dark Pictures Wiki
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 6065

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.