HSRP and GLBP on the same interface

Answered Question
Aug 16th, 2007
User Badges:
  • Cisco Employee,

Hi,


As anyone ever configured HSRP and GLBP on the same interface please?


If so, are there any things I need to watch out for please?


Thanks.

Correct Answer by royalblues about 9 years 7 months ago

Friend,


I did some test and there is absolutely no problem in defining HSRP and GLBP on the same interface.

have a look at the below config

interface FastEthernet0/0

ip address 10.10.10.2 255.255.255.0

duplex auto

speed auto

glbp 1 ip 10.10.10.100

glbp 1 priority 200

glbp 1 preempt

standby 1 ip 10.10.10.1

standby 1 priority 105

standby 1 preempt


The only problem is that you cannot have the HSRP virtual IP and the GLBP IP as same.

When you try to do that you get an error as mentioned below


R2(config-if)#glbp 1 ip 10.10.10.1

% 10.10.10.1 is assigned to another application on FastEthernet0/0


So in effect, if you want to run GLBP, then your hosts should point to the GLBP IP and if you want to run HSRP point to the HSRP virtual IP


HTH, rate if it does

Narayan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
pevorley Thu, 08/16/2007 - 08:27
User Badges:
  • Cisco Employee,

Hi,


Thanks for the very quick reply. Unfortunately the other thread doesn't answer the question definitively. They think it will work (I think it will as well), but are not 100% sure.


The configuration guide doesn't state that enabling HSRP/GLBP will disable the other, but it also doesn't explicitly state that it doesn't either.

Correct Answer
royalblues Thu, 08/16/2007 - 09:47
User Badges:
  • Green, 3000 points or more

Friend,


I did some test and there is absolutely no problem in defining HSRP and GLBP on the same interface.

have a look at the below config

interface FastEthernet0/0

ip address 10.10.10.2 255.255.255.0

duplex auto

speed auto

glbp 1 ip 10.10.10.100

glbp 1 priority 200

glbp 1 preempt

standby 1 ip 10.10.10.1

standby 1 priority 105

standby 1 preempt


The only problem is that you cannot have the HSRP virtual IP and the GLBP IP as same.

When you try to do that you get an error as mentioned below


R2(config-if)#glbp 1 ip 10.10.10.1

% 10.10.10.1 is assigned to another application on FastEthernet0/0


So in effect, if you want to run GLBP, then your hosts should point to the GLBP IP and if you want to run HSRP point to the HSRP virtual IP


HTH, rate if it does

Narayan

pevorley Fri, 08/17/2007 - 01:43
User Badges:
  • Cisco Employee,

Hi Narayan,


Thanks for much for trying this out for me, I really appreciate that.


This is exactly what I was after, so thanks again!!!

pevorley Fri, 08/17/2007 - 01:42
User Badges:
  • Cisco Employee,

perfect, that's exactly what I was looking for. Thanks for taking the time to reply.

Actions

This Discussion