{"id":436,"date":"2016-02-12T21:57:36","date_gmt":"2016-02-12T21:57:36","guid":{"rendered":"http:\/\/www.balajibandi.com\/?p=436"},"modified":"2017-09-12T07:58:23","modified_gmt":"2017-09-12T06:58:23","slug":"hsrp-vs-vrrp-vs-glbp","status":"publish","type":"post","link":"https:\/\/www.balajibandi.com\/?p=436","title":{"rendered":"HSRP vs VRRP vs GLBP"},"content":{"rendered":"<h1><span style=\"text-decoration: underline; color: #0000ff;\"><strong>HSRP vs VRRP vs GLBP<\/strong><\/span><\/h1>\n<p>Comparison between the three protocols named as HSRP, VRRP and GLBP<\/p>\n<p>Most of the\u00a0enterprise network you can only use VRRP or HSRP but you can use GLBP because actually load balancing is done by GLBP not with these HSRP and VRRP protocol.<\/p>\n<div>With the use of HSRP, you can have multiple active and standby router on the basis of VLAN. Lets take an example, If i have 4 different VLANs, one is VLAN 2 ,VLAN 3, VLAN 4 and VLAN 5. I have 2 routers R1 and R2. I can manage my traffic with the following options :<\/div>\n<div>\n<ul>\n<li>For VLAN2 :\u00a0R1 is active and R2 is standby router<\/li>\n<li>For VLAN3 : R2 is active and R1 is standby router<\/li>\n<li>For VLAN4: \u00a0R1 is active and R2 is standby router<\/li>\n<li>For VLAN5 : R2 is active and R1 is standby router<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p id=\"XKhGIFa\"><img loading=\"lazy\" decoding=\"async\" width=\"665\" height=\"311\" class=\"alignnone size-full wp-image-437 \" src=\"http:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e4e48346b.png\" alt=\"\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e4e48346b.png 665w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e4e48346b-300x140.png 300w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p id=\"DHDXpCC\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"634\" class=\"alignnone size-full wp-image-438 \" src=\"http:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e5703479c.png\" alt=\"\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e5703479c.png 637w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e5703479c-150x150.png 150w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e5703479c-300x300.png 300w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/07\/img_5961e5703479c-100x100.png 100w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/p>\n<h2><span id=\"Configuration_differences_between_HSRP_and_VRRP\">Configuration differences between HSRP and VRRP<\/span><\/h2>\n<p>The differences between both VRRP and HSRP, especially on a Cisco router are very slight. \u00a0If your familiar with\u00a0Configuring HSRP\u00a0you can easily understand VRRP commands. \u00a0Configuring VRRP on Juniper as well as other network equipment can vary significantly depending on the devices. \u00a0Many load balancers also support VRRP and their configuration is specific to each of these devices.<\/p>\n<p>Here are some configuration examples as seen on a Cisco router:<\/p>\n<h2>\u00a0<span id=\"HSRP_Configuration_Example\"><strong>HSRP Configuration Example<\/strong><\/span><\/h2>\n<p><code>R1(config)# interface GigE 0\/1<br \/>\nR1(config-if)# ip address 192.168.1.2 255.255.255.0<br \/>\nR1(config-if)# standby 1 ip 192.168.1.1<br \/>\nR1(config-if)# standby 1 priority 200<br \/>\nR1(config-if)# standby 1 preempt<br \/>\n<\/code><br \/>\n<code>R2(config-if)# ip address 192.168.1.3 255.255.255.0<br \/>\nR2(config-if)# standby 1 ip 192.168.1.1<br \/>\nR2(config-if)# standby 1 preempt<br \/>\n<\/code><\/p>\n<h2><span id=\"VRRP_Configuration_Example\"><strong>VRRP Configuration Example<\/strong><\/span><\/h2>\n<p><code>R1(config)# interface GigE 0\/1<br \/>\nR1(config-if)# ip address 192.168.1.2 255.255.255.0<br \/>\nR1(config-if)# vrrp 1 ip 192.168.1.1<br \/>\nR1(config-if)# vrrp 1 priority 110<br \/>\n<\/code><br \/>\n<code>R2(config)# interface GigE 0\/1<br \/>\nR2(config-if)# ip address 192.168.1.3 255.255.255.0<br \/>\nR2(config-if)# vrrp 1 ip 192.168.1.1<br \/>\n<\/code><br \/>\n<span style=\"text-decoration: underline;\">Notice the lack of a preempt command. This isn\u2019t necessary for VRRP. \u00a0It\u2019s enabled by default.<\/span><\/p>\n<p>The primary difference between HSRP versus VRRP would be that HSRP is proprietary to Cisco and can only be used on Cisco devices. VRRP is a standards based protocol and is vendor independent allow some flexibility when choosing network devices.<\/p>\n<div>\n<h1><strong>GLBP it is different, the traffic is flowing 4 ways<\/strong><\/h1>\n<\/div>\n<div>\n<ul>\n<li>None<\/li>\n<li>Weighted<\/li>\n<li>Host dependent<\/li>\n<li>Round-Robin<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>HSRP vs VRRP vs GLBP Comparison between the three protocols named as HSRP, VRRP and GLBP Most of the\u00a0enterprise network you can only use VRRP or HSRP but you can use GLBP because actually load balancing is done by GLBP not with these HSRP and VRRP protocol. With the use of HSRP, you can have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-436","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=436"}],"version-history":[{"count":2,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/436\/revisions"}],"predecessor-version":[{"id":525,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/436\/revisions\/525"}],"wp:attachment":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}