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

RIP, default route and object tracking

rathinilesh
Level 1
Level 1

Hi All,

I was looking at injecting a conditional default route through RIP. I would like RIP to inject a default route if it sees 2 of its interfaces as UP. I am trying to make this work using (object tracking "AND" rule) and (default-information originate route-map CONDITION)

track 1 ip route 1.1.1.0 255.255.255.0 reachability

track 2 ip route 2.2.2.0 255.255.255.0 reachability

track 3 list boolean and

object 1

object 2

router rip

version 2

network 10.0.0.0

default-information originate route-map CONDITION

no auto-summary

route-map CONDITION permit 10

match ip address prefix-list CONDITION

Now my question is if I use the below commands RIP doesnot inject a default route to its neighbor

ip prefix-list CONDITION seq 5 permit 0.0.0.0/0

ip route 0.0.0.0 0.0.0.0 Null0 track 3

But if I use the below commands RIP does inject a default route to its neighbor where 5.5.5.5/32 is just a dummy/fake route

ip prefix-list CONDITION seq 5 permit 5.5.5.5/32

ip route 5.5.5.5 255.255.255.255 Null0 track 3

I am unable to understand as to why RIP does not inject a default route if I match a default route in the CONDITION prefix-list. Could anybody please advise ?

Regards,

Nilesh

1 Reply 1

Marwan ALshawi
VIP Alumni
VIP Alumni

in your CONDITION route-map you need to match the interfaces/routes to be watched for conditional route advertisement such as1.1.1.0 and 2.2.2.0 not the default route itself

have a look at this below link its very handy

http://ccietobe.blogspot.com.au/2008/07/rip-default-routes.html

hope this help

if helpful rate

Review Cisco Networking products for a $25 gift card