From: Ivan (ivan@iip.net)
Date: Fri Aug 04 2006 - 05:05:46 ART
ip prefix-list NEW permit 111.1.0.0/21 ge 24 le 24
On Tuesday 01 August 2006 12:45, Stefan Grey wrote:
> Hello guys:
> Coul you please help me with ease ip prefix list quesiton??
>
> lo0-R1-R2-Lo.
> I have rip configured between R1 and R2. I configured several loopbacks on
> R1 and whant redistribute this directly connected interfaces into rip:
> When I use the access-list 2 in the route-map than everything works just
> fine. R2 receives this routes.
>
> But if I use prefix-list nothing works. R2 doesn't receive the routes.
> Look at the config below. This works just fine.
>
> But if I use " ip prefix-list NEW permit 111.1.0.0/21" command and then
> route-map NEWCONNECTED permit 10
> match ip address prefix-list NEW
>
> than R2 receives no routes. What is the difference?? Could you please
> explain why ip prefix-list command doesn't work here as I expect??
>
> Thank you very much.
>
>
>
>
> hostname R1
> !
> interface Loopback0
> ip address 11.11.11.11 255.255.255.0
> !
> interface Loopback8
> ip address 111.1.8.1 255.255.255.0
> !
> interface Loopback111
> ip address 111.1.1.1 255.255.255.0
> !
> interface Loopback112
> ip address 111.1.2.1 255.255.255.0
> !
> interface Loopback113
> ip address 111.1.3.1 255.255.255.0
> !
> interface Loopback114
> ip address 111.1.4.1 255.255.255.0
> !
> interface Loopback115
> ip address 111.1.5.1 255.255.255.0
> !
> interface Loopback116
> ip address 111.1.6.1 255.255.255.0
> !
> interface Loopback117
> ip address 111.1.7.1 255.255.255.0
> !
> interface FastEthernet0/0
> ip address 195.1.112.1 255.255.255.0
> duplex half
> speed auto
> !
> !
> router rip
> version 2
> redistribute connected metric 3 route-map NEWCONNECTED
> network 11.0.0.0
> network 195.1.112.0
> no auto-summary
> !
>
> !
> access-list 2 permit 111.1.0.0 0.0.7.255
> !
> route-map NEWCONNECTED permit 5
> match ip address 2
> !
> route-map NEWCONNECTED permit 10
> match ip address prefix-list NEW
> !
>
>
>
>
>
> hostname R2
> !
> interface Loopback0
> ip address 22.22.22.22 255.255.255.0
> !
> interface FastEthernet0/0
> ip address 195.1.112.2 255.255.255.0
> duplex auto
> speed auto
>
> router rip
> version 2
> network 22.0.0.0
> network 195.1.112.0
> no auto-summary
> !
> !
>
> _________________________________________________________________
> Customise your home page with RSS feeds at MSN Ireland! http://ie.msn.com/
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
-- Ivan
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:56 ART