{"id":2882,"date":"2020-12-30T10:51:54","date_gmt":"2020-12-30T18:51:54","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=2882"},"modified":"2020-12-30T10:53:05","modified_gmt":"2020-12-30T18:53:05","slug":"network-redundancy-protocols-hsrp-vs-vrrp-vs-glbp","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=2882","title":{"rendered":"Network Redundancy Protocols &#8211; HSRP vs VRRP vs GLBP"},"content":{"rendered":"\n<p>In this article we will discuss the similarities and differences between the 3 \u201cFirst Hop Redundancy\u201d protocols supported by Cisco devices. These are&nbsp;<strong>Hot Standby Router Protocol (HSRP)<\/strong>,&nbsp;<strong>Virtual Router Redundancy Protocol (VRRP)<\/strong>&nbsp;and&nbsp;<strong>Gateway Load Balancing Protocol (GLBP)<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Comparison among HSRP, VRRP, GLBP<\/h3>\n\n\n\n<p>Now let\u2019s move to the main purpose of this article: To see similarities and differences between the 3 protocols. I\u2019ll just state briefly some comparison points below and then use a table to compare more features.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>HSRP and VRRP are very similar. Both have one active and one standby router at any given time.<\/li><li>GLBP is the only one that provides load balancing of traffic among the devices in the group.<\/li><li>HSRP and GLBP are Cisco proprietary.<\/li><li>VRRP is an IETF standard (RFC 3768), so all router vendors support it.<\/li><li>If you have a mixed vendor environment (e.g. Cisco, Juniper etc.). Then it is better to use VRRP.<\/li><li>All protocols support more than 2 routers in a group.<\/li><li>All protocols support tracking. This means that you can track an interface of the router (or other network conditions) and if something goes wrong (e.g interface goes down or a destination tracked host does not respond) then a failover action is triggered.<\/li><li>HSRP and GLBP support IPv6. The original VRRP does not support IPv6 but you need a special version of VRRPv3 for this.<\/li><\/ul>\n\n\n\n<p>Now let\u2019s put some more comparison info in a table:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>HSRP<\/strong><\/td><td><strong>VRRP<\/strong><\/td><td><strong>GLBP<\/strong><\/td><\/tr><tr><td>Cisco Proprietary<\/td><td>Standardized<\/td><td>Cisco Proprietary<\/td><\/tr><tr><td>Active and Standby mode only<\/td><td>Active and Standby mode only<\/td><td>Multiple routers pass traffic thus achieving load balancing<\/td><\/tr><tr><td>Must configure a separate IP for the Virtual.<\/td><td>Virtual IP can be same as physical IP of one of the routers<\/td><td>Must configure a separate IP for the Virtual.<\/td><\/tr><tr><td>Default priority = 100<\/td><td>Default priority = 100<\/td><td>Default priority = 100<\/td><\/tr><tr><td>Higher priority (above 100) makes router active. Otherwise, higher IP makes router active.<\/td><td>Higher priority (above 100) makes router active. Otherwise, higher IP makes router active.<\/td><td>Higher priority (above 100) makes router primary forwarder. Otherwise, higher IP makes router primary forwarder.<\/td><\/tr><tr><td>Tracking supported (e.g interface state, routing info, reachability of remote host etc)<\/td><td>Tracking supported (e.g interface state, routing info, reachability of remote host etc)<\/td><td>Tracking supported (e.g interface state, routing info, reachability of remote host etc)<\/td><\/tr><tr><td>Supports IPv6<\/td><td>No support for IPv6 on the original VRRP implementation. However, VRRPv3 (RFC 5798) now supports it.<\/td><td>Supports IPv6<\/td><\/tr><tr><td>Supports timer and delay adjustments for failover<\/td><td>Supports timer and delay adjustments for failover<\/td><td>Supports timer and delay adjustments for failover<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Which one to Choose<\/h3>\n\n\n\n<p>If your network contains only Cisco devices, then I suggest using HSRP. It works pretty well and is well supported. Now, if you have other vendors in your network or you are planning to install devices from other vendors in the future, then VRRP is the way to go.<\/p>\n\n\n\n<p>The main purpose of the above protocols is to provide redundancy to the default gateway (router or Layer3 switch) in a LAN environment.<\/p>\n\n\n\n<p>Usually in a LAN we configure a default gateway IP on all users\u2019 computers in order to reach the Internet (or other networks).<\/p>\n\n\n\n<p>What if this default gateway (which is usually a router) fails? This means that Internet connectivity will be lost for the whole network. The protocols we will discuss here provide automated switchover of the default gateway IP address to a second routing device so that to have uninterruptible connectivity in case the primary device breaks down.<\/p>\n\n\n\n<p>Although the above is the most commonly used scenario, we can also use HSRP\/VRRP\/GLBP in conjunction with some other mechanisms and protocols (such as BGP for example) to implement ISP redundancy (Dual WAN connectivity).<\/p>\n\n\n\n<p>However in this particular article we\u2019ll just discuss a simple implementation of providing redundancy to two routers in a LAN and provide comparison of VRRP Vs HSRP Vs GLBP which are supported by Cisco.<\/p>\n\n\n\n<p>Let\u2019s see a simple router network deployment in a LAN which will be used as the base to our discussion:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.networkstraining.com\/wp-content\/uploads\/2016\/06\/hsrp-vrrp-glbp.jpg\" alt=\"hsrp vs vrrp vs glbp\" class=\"wp-image-1884\"\/><\/figure><\/div>\n\n\n\n<p>In our simple network above, we want to provide redundancy to the border routers (R1 and R2) which connect users to the Internet. By configuring one of the redundancy protocols (HSRP, VRRP, GLBP) we can achieve just that.<\/p>\n\n\n\n<p>Each router has its own IP configured to its LAN interface (192.168.1.1 on R1 and 192.168.1.2 on R2). However, a Virtual IP (192.168.1.254) will also exist which will serve as the default gateway for the whole LAN. No matter which router is active or if we have one failed router, the Virtual IP will still exist in order to route packets from the users.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Basic Configuration of HSRP \u2013 VRRP \u2013 GLBP<\/h3>\n\n\n\n<p>Before moving into our comparison between the 3 protocols, let\u2019s first see the basic configuration for each one:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HSRP Configuration<\/h3>\n\n\n\n<p>interface Ethernet0\/1<br>description LAN Interface of Active Router<br>ip address 192.168.1.1 255.255.255.0<br>standby 1 ip 192.168.1.254&nbsp;&nbsp;&nbsp;<strong>&lt;\u2014- Create HSRP Group 1 and assign Virtual IP<\/strong><br>standby 1 priority 101&nbsp;&nbsp;<strong>&lt;\u2014- Assign priority above 100 to make this the primary router<\/strong><br>standby 1 preempt&nbsp;<strong>&lt;\u2014- Makes router active if it has higher priority<\/strong><\/p>\n\n\n\n<p><strong><u>R2<\/u><\/strong><\/p>\n\n\n\n<p>interface Ethernet0\/1<br>description LAN Interface of Standby Router<br>ip address 192.168.1.2 255.255.255.0<br>standby 1 ip 192.168.1.254&nbsp;&nbsp;<strong>&lt;\u2014- Create HSRP Group 1 and assign Virtual IP<\/strong><br>standby 1 preempt&nbsp;<strong>&lt;\u2014- Makes router active if it has higher priority<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">VRRP Configuration<\/h3>\n\n\n\n<p><strong><u>R1<\/u><\/strong><\/p>\n\n\n\n<p>interface Ethernet0\/1<br>description LAN Interface of Active Router<br>ip address 192.168.1.1 255.255.255.0<br>vrrp 1 ip 192.168.1.254&nbsp;&nbsp;&nbsp;<strong>&lt;\u2014- Create VRRP Group 1 and assign Virtual IP<\/strong><br>vrrp 1 priority 101&nbsp;&nbsp;<strong>&lt;\u2014- Assign priority above 100 to make this the primary router<\/strong><br>vrrp 1 preempt&nbsp;<strong>&lt;\u2014- Makes router active if it has higher priority<\/strong><\/p>\n\n\n\n<p><strong><u>R2<\/u><\/strong><\/p>\n\n\n\n<p>interface Ethernet0\/1<br>description LAN Interface of Standby Router<br>ip address 192.168.1.2 255.255.255.0<br>vrrp 1 ip 192.168.1.254&nbsp;&nbsp;<strong>&lt;\u2014- Create VRRP Group 1 and assign Virtual IP<\/strong><br>vrrp 1 preempt&nbsp;<strong>&lt;\u2014- Makes router active if it has higher priority<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">GLBP Configuration<\/h3>\n\n\n\n<p><strong><u>R1<\/u><\/strong><\/p>\n\n\n\n<p>interface Ethernet0\/1<br>description LAN Interface of Primary&nbsp;Router<br>ip address 192.168.1.1 255.255.255.0<br>glbp 1 ip 192.168.1.254&nbsp;&nbsp;&nbsp;<strong>&lt;\u2014- Create GLBP Group 1 and assign Virtual IP<\/strong><br>glbp 1 priority 101&nbsp;&nbsp;<strong>&lt;\u2014- Assign priority above 100 to make this the primary router<\/strong><br>glbp 1 preempt&nbsp;<strong>&lt;\u2014- Makes router active if it has higher priority<\/strong><br>glbp 1 load-balancing round-robin&nbsp;<strong>&lt;\u2014- Configure round-robin balancing of traffic<\/strong><\/p>\n\n\n\n<p><strong><u>R2<\/u><\/strong><\/p>\n\n\n\n<p>interface Ethernet0\/1<br>description LAN Interface of Secondary Router<br>ip address 192.168.1.2 255.255.255.0<br>glbp 1 ip 192.168.1.254&nbsp;&nbsp;<strong>&lt;\u2014- Create GLBP Group 1 and assign Virtual IP<\/strong><br>glbp 1 preempt&nbsp;<strong>&lt;\u2014- Makes router active if it has higher priority<\/strong><br>glbp 1 load-balancing round-robin&nbsp;<strong>&lt;\u2014- Configure round-robin balancing of traffic<\/strong><\/p>\n\n\n\n<p>Ref: https:\/\/www.networkstraining.com\/hsrp-vrrp-glbp-comparison\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we will discuss the similarities and differences between the 3 \u201cFirst Hop Redundancy\u201d protocols supported by Cisco devices. These are&nbsp;Hot Standby Router Protocol (HSRP),&nbsp;Virtual Router Redundancy Protocol (VRRP)&nbsp;and&nbsp;Gateway Load Balancing Protocol (GLBP). Comparison among HSRP, VRRP, GLBP Now let\u2019s move to the main purpose of this article: To see similarities and differences <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=2882\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[400,4,9,19],"tags":[539,537,538],"class_list":["post-2882","post","type-post","status-publish","format-standard","hentry","category-ccnp","category-cert","category-networks","category-router-switch","tag-blgp","tag-hsrp","tag-vrrp"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/2882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2882"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/2882\/revisions"}],"predecessor-version":[{"id":2887,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/2882\/revisions\/2887"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}