{"id":248,"date":"2014-07-13T15:09:33","date_gmt":"2014-07-13T15:09:33","guid":{"rendered":"https:\/\/learncisco.net\/index.php\/glbp-overview\/"},"modified":"2023-01-27T19:27:31","modified_gmt":"2023-01-27T12:27:31","slug":"glbp-overview","status":"publish","type":"page","link":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html","title":{"rendered":"Cisco GLBP Configuration with Example"},"content":{"rendered":"
In the previous lesson we showed you a load balancing mechanism and I’ll still argue that that’s the best way to go. Gateway Load Balancing Protocol – GLBP is the third and final First Hop Redundancy Protocol – FHRP. First Hop Redundancy Protocol, that’s a gateway protocol. GLBP is far more complicated. It’s mission in life though is to dynamically distribute the load within a group. So what we showed you is a per group load balancing. You could only get any kind of load balancing if you add multiple groups. Gateway Load Balancing Protocol on the other hand, allows you to load balance within one group. How does this happen? Well we still have a virtual MAC, short for Media Access Control address, a virtual IP address, and we point our clients to that. But there is far more intelligence baked into this technology, where when a client ARPs, short for Address Resolution Protocol, for it’s default gateway, one client could get one response, a different client would get a different response, because all of the routers are forwarding. We call them active virtual forwarders, and there is a virtual MAC address that is tied to each of them. And there is a router that is responsible to say, hey here is your virtual MAC address, next one, here’s a different virtual MAC address.<\/p>\n
<\/p>\n
You still have fail over by the way, you still have fail over, but we get load balancing baked into this technology. I’ll tell you the reality though and the reality is this. We’re still far more likely to use HSRP, short for Hot Standby Router Protocol, and here is why? HSRP is going to give us what we need, and that’s predictability. GLBP is a workable technology. It’s the most advanced, but it can generate some traffic flow that is downright undesirable. Because what can happen is traffic can go up to the distribution layer and then get forwarded across the distribution layer link to the other router. And it could have done this because spanning tree led us one way and we need to go another. It seems pretty benign, right? Well for large volumes of traffic, it results in some pretty inefficient and potentially problematic traffic flow. Nevertheless, GLBP is a very nice technology on paper but I would encourage you, regardless of what your skill level is, to use HSRP.<\/span><\/p>\n Here is a sample output, similar to what we saw for HSRP.<\/p>\n R1(config)#interface ethernet 0\/1 R2(config)#interface ethernet 0\/1 Now by the way, any time HSRP comes up in the IOS it’s going to say standby. Why? Because they didn’t have the foresight to call it HSRP. So the configuration commands are standby, the show commands are standby and that’s really annoying. Here instead of standby, we see GLBP. Back in the day when HSRP was created, they only had one. So they didn’t actually bake that into the names of all the commands. I’ve digressed. OK. So we can see we’re active, virtual IP address but the reality is there is far more to it than what we can even get into in this discussion. So I would say, keep this at a high level for now and if you have a choice, HSRP is your best answer for First Hop Redundancy Protocol – FHRP needs.<\/p>\n","protected":false},"excerpt":{"rendered":"In the previous lesson we showed you a load balancing mechanism and I’ll still argue that that’s the best way to go. Gateway Load Balancing Protocol – GLBP is the third and final First Hop Redundancy Protocol – FHRP. First Hop Redundancy Protocol, that’s a gateway protocol. GLBP is far more complicated. It’s mission in … Read more<\/a>","protected":false},"author":5,"featured_media":0,"parent":140,"menu_order":177,"comment_status":"closed","ping_status":"closed","template":"cisco-page.php","meta":{"_acf_changed":false,"footnotes":""},"acf":[],"yoast_head":"\n
\nR1(config-if)#ip address 10.1.1.1 255.255.255.0
\nR1(config-if)#glbp 1 ip 10.1.1.100<\/p><\/blockquote>\n
\nR2(config-if)#ip address 10.1.1.2 255.255.255.0
\nR2(config-if)#glbp 1 ip 10.1.1.100<\/p><\/blockquote>\n\n