cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
502
Views
5
Helpful
4
Replies

How to implement GLBP with STP

Jimmy Xue
Level 1
Level 1

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.

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

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

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.

No problem and if there is anything still unclear by all means ask because that's what these forums are for.

Jon

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.)