From: ccie2be (ccie2be@nyc.rr.com)
Date: Mon Dec 27 2004 - 16:30:02 GMT-3
Hi guys,
Depending on what is being matched in the route-map, I discovered that
sometimes the
conditional default injection works and sometimes it doesn't even though it
seems to me that it
should work either way.
The objective is to advertise a default route to R1 if either of R2's s0's
sub-interfaces is up.
Here's the scenario:
R1 --- rip --- r2 s0
s0 is using frame encap and has 2 sub-interfaces s0.501 and s0.502
And, R2's rip config is like this:
router rip
ver 2
default-info originate route-map CONDITIONAL
r1 sees the default route if the route-map on R2 matches against the ip
address
configured on s0.501 and s0.502 when a prefix list is used
route-map CONDITIONAL
mat ip address prefix FRAME <- the prefix list specifies the ip addresses
configured on s0.501 and s0.502
If the route-map matches on interface s0/0, it doesn't work.
route-map CONDITIONAL
match int s0 <- Configured this way, R1 doesn't see the
default route.
The way I see it, if either of the s0 sub-interfaces is up, then s0 itself
will be up and therefore, R2
should advertise the default route.
Can anyone explain why I need to match against an ip prefix list for this to
work and why matching against
the interface doesn't work?
TIA, Tim
This archive was generated by hypermail 2.1.4 : Mon Jan 03 2005 - 10:31:30 GMT-3