cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
852
Views
0
Helpful
1
Replies

Multiple HSRP groups and secondary addresses

kvajnand
Level 1
Level 1

I have two cisco 1720 routers with 1 fastethernet interface each. I need to run HSRP, plus I need two different subnets. So I created secondary ip address.

Config looks like this:

Router_1:

interface FastEthernet0

ip address 192.168.3.2 255.255.255.0 secondary

ip address 192.168.2.2 255.255.255.0

standby preempt

standby 1 ip 192.168.2.1

standby 1 priority 200

standby 1 track Serial0.101

standby 2 ip 192.168.3.1

standby 2 priority 150

standby 2 track Serial0.101

Router_2:

interface FastEthernet0

ip address 192.168.2.3 255.255.255.0 secondary

ip address 192.168.3.3 255.255.255.0

standby preempt

standby 1 ip 192.168.2.1

standby 1 priority 150

standby 1 track Serial0.101

standby 2 ip 192.168.3.1

standby 2 priority 200

standby 2 track Serial0.101

Actually I found one document on CCO about this topic, but I believe that configuration presented there had some errors.

I want to verify that this config is OK?

If I'm running BGP is there something I should take care of?

Thnk you,

Kristina

1 Reply 1

MickPhelps
Level 1
Level 1

Unless otherwise specified, the "standby track" will only drop your priority by 10 points... in your case, not enough to cause a failover.

Also, in order to use track, you need to use "preempt" so that when a priority *becomes* higher, it can preempt control. "preempt" is associated to a group so you would need to say "standby 1 preempt". The way you have it assignes preempt to group 0 and does not affect your config.

Also, unless you're load balancing, you can use "standby ip address x.x.x.x secondary" instead of creating multiple groups.

I would change your priorities to default for standby (100) and 105 for active. This will allow track to work with no changes.

Mick.

Review Cisco Networking for a $25 gift card