04-05-2017 10:57 PM - edited 03-08-2019 10:05 AM
Hi there,
First time posting so forgive me if I'm doing anything out of etiquette. From my readings, it says that "with HSRP, you must make the STP root bridge the same device as the Active switch for the VLAN". But when using GLBP as the FHRP with STP, "you will have inefficient routing regardless of the placement of the root bridge".
So if that's the case, is there really any point in trying to use both because using HSRP or VRRP doesn't seem efficient. Is there a way of implementing GLBP with STP without changing both protocols?
Thank you.
04-06-2017 05:18 AM
You can use both but it depends on your design.
So a very common design (before stacking, VSS etc) was to have your distribution switches interconnected via a trunk link and then each access switch would have an uplink to both distribution switches. This meant that per vlan there was a loop so one of the uplinks from each access switch would block and this is why GLBP could be seen as inefficient because with GLBP either distribution switch could be the gateway for the client but if the uplink to the gateway was the blocked link then traffic has to take the long way round ie. to the other distribution switch then across the interconnect.
But you can design your network to work around this although it does come with a limitation. The idea is you interconnect your distribution switches with a L3 link instead. The access switches are still using L2 uplinks. Because the interconnect is L3 you now do not have a loop so both uplinks from the access switch can be forwarding which means GLBP now works efficiently ie. whichever distribution is the gateway for a client the traffic can be sent direct.
The limitation, and it is a big one, is that a vlan cannot be on more than one access switch. This limitation does not apply to the first design I outlined. The reason for this limitation is that if the same vlan is on multiple access switches then you create a loop via the access switches even with a L3 interconnect via the distribution switches. If you draw it out you can see it more clearly. So then you are back to the access switches having to block uplinks etc.
Hope that makes sense.
Jon
04-06-2017 10:04 AM
Thank you! Had to read it a couple times to wrap my head around it but I more or less understand it better now. I really appreciate the response, thanks again.
04-06-2017 10:31 AM
No problem and if there is anything still unclear by all means ask because that's what these forums are for.
Jon
04-06-2017 12:20 PM
So if that's the case, is there really any point in trying to use both because using HSRP or VRRP doesn't seem efficient.
BTW, if you have multiple VLANs, you can balance out traffic by alternating HSRP or VRRP hot device per VLAN. Further, with mHSRP, you can balance out on the same VLAN by using two HSRP gateways. (Basically doing what GLBP does dynamically.)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide