02-28-2023 04:30 PM
Hello everyone.
I have an issue with HSRP tracking. IS it supposed to the track of the interface which is not setup for HSRP? I have this network that is attached, but tracking doesn't work. Any suggestion?
interface GigabitEthernet0/0
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
shutdown
standby version 2
standby 20 ip 192.168.10.250
standby 20 priority 150
standby 20 preempt
standby 20 track GigabitEthernet0/1
!
interface GigabitEthernet0/1
ip address 192.168.20.2 255.255.255.0
duplex auto
speed auto
standby version 2
standby 30 ip 192.168.20.250
standby 30 priority 150
standby 30 preempt
standby 30 track GigabitEthernet0/0
!
interface GigabitEthernet0/0
ip address 192.168.10.2 255.255.255.0
duplex auto
speed auto
standby version 2
standby 20 ip 192.168.10.250
standby 20 priority 130
standby 20 preempt
standby 20 track GigabitEthernet0/1
!
interface GigabitEthernet0/1
ip address 192.168.20.2 255.255.255.0
duplex auto
speed auto
standby version 2
standby 30 ip 192.168.20.250
standby 30 priority 130
standby 30 preempt
standby 0 track GigabitEthernet0/0
Solved! Go to Solution.
02-28-2023 05:57 PM
Thank you for your response.
there are 2 HSRP, 20 for left side and 30 for the right side. we have to have HSRP for both side as we have 3 routers in the middle. How can we not have HSRP for one side?
Do I need to create sub interface to tackle this? if I remove one HSRP, let say right side, how should I route the packet in R3?
thanks
02-28-2023 08:25 PM
I found the answer. It doesn't matter if both side are using HSRP. the decrement number by default is 10, so the priority number should be not more than 10 so after the decrementing, other router can take the routing.
02-28-2023 05:06 PM
Hi,
Both Interfaces 0/0 and 0/1 are part of HSRP group 30. You need to track an interface that is NOT part of any HSRP.
HTH
02-28-2023 05:57 PM
Thank you for your response.
there are 2 HSRP, 20 for left side and 30 for the right side. we have to have HSRP for both side as we have 3 routers in the middle. How can we not have HSRP for one side?
Do I need to create sub interface to tackle this? if I remove one HSRP, let say right side, how should I route the packet in R3?
thanks
02-28-2023 08:25 PM
I found the answer. It doesn't matter if both side are using HSRP. the decrement number by default is 10, so the priority number should be not more than 10 so after the decrementing, other router can take the routing.
02-28-2023 08:55 PM - edited 02-28-2023 09:27 PM
Also, keep in mind I don't believe pre-emption is enabled by default. So even if it decrements you still need to enable preemption or the router wont take over.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide