Re: Prefix List Filtering DEFAULT route

From: Herbert Maosa (asawilunda@googlemail.com)
Date: Fri Apr 18 2008 - 03:50:06 ART


Interesting. After a router reload, the filtering now seems to work as
expected. I hate it when a router reload is the solution.

Thanks,

Herbert.

On Fri, Apr 18, 2008 at 7:51 AM, Paul Cosgrove <paul.cosgrove@heanet.ie>
wrote:

> Hi Herbert,
>
> What version of IOS are you using? It works ok in 12.4(16).
>
> Router1(config)#router rip
> Router1(config-router)#network 172.16.12.0
> Router1(config-router)#version 2
> Router1(config-router)#ip prefix-list NO-DEFAULT deny 0.0.0.0/0
> *Apr 18 06:36:35.611: RIP: sending v2 update to 224.0.0.9 via
> FastEthernet0/0.13 (172.16.13.1)
> *Apr 18 06:36:35.611: RIP: build update entries
> *Apr 18 06:36:35.611: 0.0.0.0/0 via 0.0.0.0, metric 1, tag 0
> *Apr 18 06:36:35.611: 172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
> *Apr 18 06:36:35.611: 172.16.12.0/24 via 0.0.0.0, metric 1, tag 0
> *Apr 18 06:36:35.611: 172.16.14.0/24 via 0.0.0.0, metric 1, tag 0
> Router1(config-router)#distribute-list prefix NO-DEFAULT out
> Router1(config-router)#
> *Apr 18 06:36:42.163: RIP: Distribute-list changed: sending triggered
> update
> *Apr 18 06:36:52.199: RIP: sending v2 update to 224.0.0.9 via Loopback0 (
> 172.16.1.1)
> *Apr 18 06:36:52.199: RIP: build update entries - suppressing null update
> *Apr 18 06:36:54.527: RIP: sending v2 update to 224.0.0.9 via
> FastEthernet0/0.12 (172.16.12.1)
> *Apr 18 06:36:54.527: RIP: build update entries - suppressing null update
> Router1(config-router)#
> Router1(config)#ip prefix-list NO-DEFAULT seq 10 permit 0.0.0.0/0 le 32
> Router1(config)#
> *Apr 18 06:38:28.727: RIP: sending v2 update to 224.0.0.9 via
> FastEthernet0/0.13 (172.16.13.1)
> *Apr 18 06:38:28.727: RIP: build update entries
> *Apr 18 06:38:28.727: 172.16.1.0/24 via 0.0.0.0, metric 1, tag 0
> *Apr 18 06:38:28.727: 172.16.12.0/24 via 0.0.0.0, metric 1, tag 0
> *Apr 18 06:38:28.727: 172.16.14.0/24 via 0.0.0.0, metric 1, tag 0
> Router1#
>
> Paul.
>
> Herbert Maosa wrote:
>
> > Looks like I still have a lot to learn about filtering using prefix
> > lists. I
> > am finding it unusual that
> >
> > - ip prefix-list DEFAULT_ONLY permit 0.0.0.0/0 will correctly filter
> > out all routes and send only the default when used
> > withdistribute-list prefix DEFAULT_ONLY out in
> > RIP
> > - ip prefix-list NO-DEFAULT deny 0.0.0.0/0 will NOT stop the default
> > from being sent out when used with distribute-list prefix NO-DEFAULT
> > out
> > in RIP.
> >
> > Educate me here.
> > I managed to stop the default from being sent out with
> >
> > - ip prefix-list THIS-WORKS permit 0.0.0.0/0 ge 1 when used with
> > distribute-list
> > prefix THIS-WORKS out in RIP
> >
> > Herbert.
> >
> >
> > Pass the CCIE in six weeks, Guaranteed!
> > http://www.certscience.com/CCIE
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html

Pass the CCIE in six weeks, Guaranteed!
http://www.certscience.com/CCIE



This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:51 ART