Rich,

I think you should use "and" in this case, take a look:

interface FastEthernet0/0
 ip address 150.19.42.2 255.255.255.0
 vrrp 19 ip 150.19.42.1
 vrrp 19 track 3 decrement 20

track 1 ip route 150.19.123.0 255.255.255.0 reachability
track 2 ip route 150.19.123.0 255.255.255.0 metric threshold
 threshold metric up 20 down 21
track 3 list boolean and
 object 1
 object 2

R2#sh trac
Track 1
  IP route 150.19.123.0 255.255.255.0 reachability
  Reachability is Up (OSPF)
    1 change, last change 00:22:34
  First-hop interface is Tunnel0
  Tracked by:
    Track-list 3
Track 2
  IP route 150.19.123.0 255.255.255.0 metric threshold
  Metric threshold is Up (OSPF/20/20)
    1 change, last change 00:21:35
  Metric threshold down 21 up 20
  First-hop interface is Tunnel0
  Tracked by:
    Track-list 3
Track 3
  List boolean and
  Boolean AND is Up
    2 changes, last change 00:16:13
    object 1 Up
    object 2 Up
  Tracked by:
    VRRP FastEthernet0/0 19

R2#sh vrrp brief 
Interface          Grp Pri Time  Own Pre State   Master addr     Group addr
Fa0/0              19  100 3609       Y  Master  150.19.42.2     150.19.42.1  

R2#sir 150.19.123.0
Routing entry for 150.19.123.0/24
  Known via "ospf 1", distance 110, metric 20
  Tag 2, type extern 2, forward metric 32
  Redistributing via eigrp 100
  Advertised by eigrp 100 route-map from-ospf
  Last update from 150.19.1.1 on Tunnel0, 00:04:12 ago
  Routing Descriptor Blocks:
  * 150.19.1.1, from 150.19.1.1, 00:04:12 ago, via Tunnel0
      Route metric is 20, traffic share count is 1
      Route tag 2

R1(config)#router ospf 1
R1(config-router)# redistribute rip subnets route-map from-rip metric-type 1


R2#sir 150.19.123.0
Routing entry for 150.19.123.0/24
  Known via "ospf 1", distance 110, metric 52
  Tag 2, type extern 1
  Redistributing via eigrp 100
  Advertised by eigrp 100 route-map from-ospf
  Last update from 150.19.1.1 on Tunnel0, 00:00:03 ago
  Routing Descriptor Blocks:
  * 150.19.1.1, from 150.19.1.1, 00:00:03 ago, via Tunnel0
      Route metric is 52, traffic share count is 1
      Route tag 2

*Mar  3 02:25:27.155: %TRACKING-5-STATE: 2 ip route 150.19.123.0/24 metric 
threshold Up->Down
*Mar  3 02:25:27.791: %TRACKING-5-STATE: 3 list boolean and Up->Down
R2#sh track 
Track 1
  IP route 150.19.123.0 255.255.255.0 reachability
  Reachability is Up (OSPF)
    1 change, last change 00:24:54
  First-hop interface is Tunnel0
  Tracked by:
    Track-list 3
Track 2
  IP route 150.19.123.0 255.255.255.0 metric threshold
  Metric threshold is Down (OSPF/52/52)
    2 changes, last change 00:00:01
  Metric threshold down 21 up 20
  First-hop interface is Tunnel0
  Tracked by:
    Track-list 3
Track 3
  List boolean and
  Boolean AND is Down
    3 changes, last change 00:00:01
    object 1 Up
    object 2 Down
  Tracked by:
    VRRP FastEthernet0/0 19

R2#sh vrrp brief 
Interface          Grp Pri Time  Own Pre State   Master addr     Group addr
Fa0/0              19  80  3609       Y  Backup  150.19.42.4     150.19.42.1    

Regards,
Adonys
Date: Sat, 4 Jul 2009 10:15:54 -0400
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [OSL | CCIE_RS] Vol2 Sect8 Task6.1 VRRP and Object Tracking

This solution looks perfectly valid to me Richard.

On Fri, Jul 3, 2009 at 9:13 PM, Meraz, Richard <[email protected]> wrote:














Task 6.1 asks us to configure VRRP and “If
R5 loses the route to 172.30.21.0, or the metric increases, it should not be 
preferred
gateway.”  I configured the following:


 


IPeR5#sir 172.30.21.0


Routing entry for 172.30.21.0/24


  Known via "ospf 1", distance 110, metric 65



 


track 1 ip route 172.30.21.0/24
reachability 


track 2 ip route 172.30.21.0/24 metric
threshold 


 threshold metric up 65 down 66


track 100 list boolean or


 object 1


 object 2


 


int fa0/0


 vrrp 1 priority 150


 vrrp 1 track 100 decrement 75


 


The PG did not use the track 100 list boolean or option.  I’m
still a bit unsure about tracking with multiple objects, and using the and/or
boolean, so I was wondering if the above configuration would be considered
correct or not?


 


Thanks,


Rich


 









-- 
Regards,

Joe Astorino 
CCIE #24347 (R&S)
Sr. Support Engineer – IPexpert, Inc.
URL: http://www.IPexpert.com

Reply via email to