Tuesday, February 14, 2006

 

HSRP and GLBP work fine together.

HSRP and GLBP are similar protocols used for redundancy and load-sharing of routers on a subnet. (VRRP is the non-proprietary version of HSRP; HSRP is a Cisco-specific protocol.) HSRP requires a little more configuration and multiple groups to achieve load balancing while GLBP does the same thing with less configuration. Also, the load balancing that GLBP can achieve can better than with HSRP because with HSRP the load balancing is done manually and not related to actual traffic at any point in time.

The reason I am even thinking about HSRP and GLBP right now is because there was a question on one of the Cisco newsgroups if running both HSRP and GLBP on the same routers would work fine. I thought about it a bit and could not see why anyone would want to do that. In any case, I was curious about this and so I decided to try it on my routers and did just that. I found that the two protocols do work fine when configured simultaneously on the same routers!

Here are the configs I used on the two HSRP routers

Router 1


interface Ethernet1
ip address 192.169.0.2 255.255.255.0
no keepalive
standby 2 ip 192.169.0.254
glbp 10 ip 192.169.0.253



Router 2


interface Ethernet1
ip address 192.169.0.3 255.255.255.0
no keepalive
standby 2 ip 192.169.0.254
standby 2 priority 150
standby 2 preempt
glbp 10 ip 192.169.0.253


Comments:
I do think this could prove useful in rare circumstances where you don't want hosts to be load balanced. If you want the ability to control which router a particular host (or group of hosts) to go to, you could use HSRP and set to preemt so that if the preferred router is up, the hosts in that group would use that router and failover only upon a router failure. I could see a use for it. And great job putting it to the test - I would have never thought of using them together.

Ryan
 
as i see, router2 is active router in HSRP. but i need to know which router act as AVG in GLBP.can u tell me?
 
The Registration plate shall bear nine characters, laser branded into the reflective sheeting and would act as a permanent consecutive identification number. The hot stamping film shall bear a verification inscription.
 
Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?