Re: Route filtering

From: Piotr Jelonek (piotr@jelonek.info)
Date: Sun Nov 13 2005 - 22:34:58 GMT-3


On nie, lis 13, 2005 at 06:20:21 -0500, jnkmail4eva@yahoo.com wrote:
> How do I allow only to receive routes below 10.0.0.0/8 ..
It depends what do you mean by below 10.0.0.0/8
*** If you mean all the major networks _below 10_
1.0.0.0
2.0.0.0
...
10.0.0.0
then it can be accomplished with ACL

acce 10 permit 0.0.0.0 7.255.255.255 !will permit networks begging with 0-7
acce 10 permit 8.0.0.0 1.255.255.255 !will permit networks 8-9

*** If you mean all the possible networks _within_ 10.0.0.0/8 address
space then it will be prefix-list:

ip prefix-list below10 permit 10.0.0.0/8 ge 9 le 32

Apply this filtering by distribute-list.

        Piotr

-- 
piotr@jelonek.info


This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:06 GMT-3