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

HSRP router with lower priority keeps becoming default router

I am creating a network on packet tracer, and have load balancing configured on a couple of 2911 routers. But, the router with the lower priority continues to become the

default router

and I am not sure why. Here are my configurations:

I configured the first router with the following commands:

R1(config)# int g0/1

R1(config-if)# standby group 1 ip 172.16.0.254

R1(config-if)# standby 1 priority 1

R1(config-if)# standby 1 preempt

I configured then the second router with the following:

R2(config)# int g0/2

R2(config-if)# standby group 1 ip 172.16.0.254

R2(config-if)# standby 1 priority 100

 

When I disable

R1's g0/1

interface to test the functionality of the configuration, R2 does indeed go from standby mode to active mode. But, when I once again enable

R1's g0/1

interface, it

(r1's g0/1)

does not become active again, despite having the higher priority,

R2's g0/2

stays active. Preemption is not functioning it seems. 

The output of show standby on R1 and R2 when

R1's g0/1

was turned back on are as follows:

R1 output:

GigabitEthernet0/1 - Group 1

State is Standby

19 state changes, last state change 00:49:29

Virtual IP address is 172.16.0.254

Active virtual MAC address is 0000.0C07.AC01

Local virtual MAC address is 0000.0C07.AC01 (v1 default)

Hello time 3 sec, hold time 10 sec

Next hello sent in 2.623 secs

Preemption enabled

Active router is 172.16.0.2, priority 100 (expires in 7 sec)

MAC address is 0000.0C07.AC01

Standby router is local

Priority 1 (configured 1)

Group name is hsrp-Gig0/1-1 (default)

R2 output:

GigabitEthernet0/2 - Group 1

State is Active

18 state changes, last state change 00:36:16

Virtual IP address is 172.16.0.254

Active virtual MAC address is 0000.0C07.AC01

Local virtual MAC address is 0000.0C07.AC01 (v1 default)

Hello time 3 sec, hold time 10 sec

Next hello sent in 2.724 secs

Preemption disabled

Active router is local

Standby router is 172.16.0.1, priority 1 (expires in 8 sec)

Priority 100 (default 100)

Group name is hsrp-Gig0/2-1 (default)

Active virtual MAC address is 0000.0C07.AC01

Local virtual MAC address is 0000.0C07.AC01 (v1 default)

Hello time 3 sec, hold time 10 sec

Next hello sent in 2.623 secs

Preemption enabled

Active router is 172.16.0.2, priority 100 (expires in 7 sec)

MAC address is 0000.0C07.AC01

Standby router is local

Priority 1 (configured 1)

Group name is hsrp-Gig0/1-1 (default)

 

 

Any tips on why this may be occurring would be helpful, thank you!

@hsrp

1 Accepted Solution

Accepted Solutions

Change priority of R1 to 110 and see effect .

View solution in original post

4 Replies 4

Change priority of R1 to 110 and see effect .

M02@rt37
VIP
VIP

Hello @michaeleastongodwin,

Please follow @MHM Cisco World advice.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

M02@rt37
VIP
VIP

@michaeleastongodwin,

Add

preempt

command on R2 and test please.

Both routers have the

preempt

command configured under the HSRP interface. It should be present on both

R1's GigabitEthernet0/1 and R2's GigabitEthernet0/2

interfaces.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Joseph W. Doherty
Hall of Fame
Hall of Fame

It's working correctly.

R2 has the higher priority, i.e. 100, vs. a priority of only 1 for R1.  Since R1 has the lower priority, it won't

preempt

Conversely, if R1 is active, even though it has the lower priority, as R2 doesn't have

preempt

it will not

preempt
Review Cisco Networking for a $25 gift card