cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
882
Views
15
Helpful
6
Replies

HSRP functionality question

wilson_1234_2
Level 3
Level 3

Is it possible to have HSRP set up across a trunk (different sites), and depending on the site, have the local interface be the primary, remote site be the secondary?

For example:

HQ VLAN 10 interface = 10.0.0.2

DR VLAN 10 interface = 10.0.0.3

HSRP Standby VLAN 10 = 10.0.0.1 (10.0.0.2 + 10.0.0.3)

HQ VLAN Primary = 10.0.0.2, Secondary = 10.0.0.3

DR VLAN Primary = 10.0.0.3, Secondary = 10.0.0.2

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

Yes it's entirely possible but you may need to tewak the timers depening on latency etc.

However whether it does what you want is another question ie. a standard setup with HSRP is to have an access-layer switch connected to both distro switches running HSRP. If the active switch failed then it would failover to the standby switch but that assumes there is a link from the access layer switch to the standby switch ie. the path cannot go via the active switch as that switch has gone down.

Jon

Thanks Jon,

We don't really need the redundancy aspect, we are trunking this vlan across an EVPL and I need to ensure the devices on each end of the trunk use the same default gatway address, but each site uses the local hardware (routing table) for their gateway.

Would this be an acceptable design practice, or something we should try to avoid?

Not sure i follow.

If you use HSRP then each site will use the same gateway. That means -

site 1 - HSRP active

site 2 - HSRP standby

all clients in site 2 would have to send their traffic across the trunk link to site 1 for any destinations not on their vlan. Is this what you want because when you say but each site uses the local hardware (routing table) for their gateway it sounds like it isn't ?

Jon

Jon,

I need to have both ends of the trunk use the same VIP address, but each end of the trunk is using the local interface as the gateway.

For example

HQ devices use 10.0.0.1 for the VIP address but 10.0.0.2 (HQ switch) for the actual gateway.

DR devices use 10.0.0.1 for the VIP address but 10.0.0.3 (DR switch) for the actual gateway.

I want to have everything configured with the same VIP address, but each end is using the local SVI for the actual gateway.

It may not be practical or best practice to do something like this, just wondering.

HSRP won't do that for you.

You could set the gateway to the actual physical addresses but then you have no redundancy although you say redundancy is not an issue.

Another option would be to use MHSRP and have 2 HSRP VIPs one at each site and then you set the DG for the clients in each site to their respective VIP but this requires manual configuration rather than just being able to use DHCP.

GLBP might be an option but i would need to read the docs because i'm not sure you can control which gateway the clients pick up.

Jon

Thnks for the replies jon, I will look ing MHSRP