RE: Conditional injection of default route with rip: IE lab

From: Roberto Adjakou (radjakou@cfao.sn)
Date: Tue Dec 28 2004 - 09:32:24 GMT-3


Since there is no ip address configured on s0/0, no routing protocol relies on it.
In fact, ISIS is enabled on s0/0.501 and s0/0502 not on s0/0!!

sh ip route | i Serial0/0 should edify on this point.

-----Message d'origine-----
De : ccie2be [mailto:ccie2be@nyc.rr.com]
Envoyi : lundi 27 dicembre 2004 19:30
@ : Group Study
Objet : Conditional injection of default route with rip: IE lab 13, task 5.12

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