12-16-2008 01:25 PM - edited 03-04-2019 12:44 AM
I have 3 routers- see diagram. R2 is active hsrp with R1. what i am trying to do is track ip routing eth0/2 and eth0/3 on R2. if both interfaces loose EIGRP routes from R3, them decrement hsrp priority to 20. based on the configuration below, it looks like the tracking ip-routing only monitor the line-protocol for the interfaces not the routing reachability. can someone perhaps advise how to go about using hsrp based on ip routing (eigrp) on R2.
track 1 interface Ethernet0/2 ip routing
!
track 2 interface Ethernet0/3 ip routing
!
track 100 list boolean and
object 1
object 2
!
!
!
interface Ethernet0/0
no ip address
shutdown
half-duplex
!
interface Ethernet0/1
ip address 192.168.151.252 255.255.255.0
half-duplex
standby 1 ip 192.168.151.254
standby 1 timers 1 3
standby 1 priority 115
standby 1 preempt delay minimum 60
standby 1 authentication secret
standby 1 name LAB
standby 1 track 100 decrement 20
R2#sh ip route eigrp
D 192.168.254.0/24 [90/409600] via 192.168.3.3, 00:00:15, Ethernet0/3
[90/409600] via 192.168.2.3, 00:00:15, Ethernet0/2
D 192.168.1.0/24 [90/307200] via 192.168.151.253, 00:00:15, Ethernet0/1
[90/307200] via 192.168.3.3, 00:00:15, Ethernet0/3
[90/307200] via 192.168.2.3, 00:00:15, Ethernet0/2
R2#sh standby brief
P indicates configured to preempt.
|
Interface Grp Prio P State Active Standby Virtual IP
Et0/1 1 115 P Active local 192.168.151.253 192.168.151.254
12-16-2008 01:35 PM
Hello Francisco,
see the following link the ip route option
track object-number ip route ip-address/prefix-length {metric threshold | reachability}
metric threshold I think is AD, reachability if it can be accessed
so if this works define track for some routes of interest that are learned from EIGRP
Hope to help
Giuseppe
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