From: Luca Hall (lhall@setnine.com)
Date: Sat May 24 2008 - 11:27:01 ART
Does anyone have a link to the exact rules to
do conditional default injection via rip with
default-information originate route-map?
Send a default out s3 if e1 and e2 are down, the only
way I can get it to work (not using obj tracking/rtr/sla monitor):
e1 1.1.1.0/24
e2 2.2.2.0/24
s3 3.3.3.0/24
e1
s3 [R1]
e2
access-list 1 permit 1.1.1.0 0.0.0.255
access-list 2 permit 2.2.2.0 0.0.0.255
access-list 3 permit 3.3.3.0 0.0.0.255
route-map COND permit 10
match ip add 1
set int null0
route-map COND permit 20
match ip add 2
set int null0
route-map COND permit 30
match ip add 3
set int s3
From what I can tell (c3640-jk9o3s-mz.123-10.bin):
route-map COND permit 30 must have an explicit match to an
access-list that matches a route in the routing table,
relying on the implicit match dosent work, I started to go
insane trying to figure this out. Also I cant get this to
work using denys in the ACL's or in the route-map,
and the order of operations seems really important in this
eg. if I changed an ACL or the route-map without removing/reapplying
default-information ... there was about a 50/50 chance of it
working. I cant find a detailed link on these exact rules - or
is the rule just that you must use permits and must match an acl?
Also is there any way to do this with redistribute static in rip?
I cant get it to work or find anything on it...
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:18 ART