RE: Prefix-list RIP and redistribution

From: Curt Girardin (curt.girardin@chicos.com)
Date: Tue Aug 01 2006 - 08:02:10 ART


Hi,

What is the exact subnet mask of your connected loopback addresses as
listed in the routing table? The prefix-list as you've configured in
option B must also make an EXACT 21-bit match on the SUBNET MASK also.
That is the beauty of prefix-lists - that they are more granular in that
they look at the subnet mask in addition to the network address.

If your subnet mask on your loopback interface are /24's, then I would
suggest using:

ip prefix-list NEW permit 111.1.0.0/24

HTH,

Curt

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Stefan Grey
Sent: Tuesday, August 01, 2006 5:47 AM
To: ccielab@groupstudy.com
Subject: Prefix-list RIP and redistribution

Hello guys!

lo - R1 - R2 -lo

I have rip configured between R1 and R2. I also configured some
loopbacks interfaces on R1 with IP addresses of: 111.1.x.0
(x=1,2,3,4,5,6,7). I want redistribute this directly connected
interfaces into RIP so that R2 has the route to it.

I configure: router rip
redistribute connected metric 2 route-map NEWCONNECTED:

Question:
If I use configuration A everything works just fine:
A:
access-list 2 permit 111.1.0.0 0.0.7.255 route-map NEWCONNECTED permit
10 match ip address 2

But if I use configuration B nothig is redistributed, and R2 doesn't see
any routes from R1:
b:
ip prefix-list NEW permit 111.1.0.0/21
route-map NEWCONNECTED permit 10
match ip address prefix-list NEW.

Why ip prefix-list doesn't match this routes. I just can't understand
what is ther reason of such behaviour. Could anybody please explain.

Thanks,



This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:56 ART