From: Bogdan Sass (bogdan.sass@catc.ro)
Date: Tue Jan 20 2009 - 16:19:15 ARST
CCIE To Be wrote:
> Dear Group,
>
> I have a very basic question regarding prefix list. For example I have
> following networks and I want to permit only 100.10.0.0 - 100.10.3.0 except
> 100.10.4.0,
>
> 100.10.0.0 /24
> 100.10.1.0 /24
> 100.10.2.0 /24
> 100.10.3.0 /24
> 100.10.4.0 /24
>
> What is the difference between below mentioned prefix-lists while both are
> giving same result ?
>
> ip prefix-list TEST permit 100.10.0.0/22 ge 24 le 24
>
> or
>
> ip prefix-list TEST permit 100.10.0.0/22 ge 23 le 24
>
>
The second one will also allow 100.10.0.0/23, or 100.10.2.0/23 .
In your example (where all the networks are /24s), it doesn't
matter. In the lab (or in real life), it most probably will.
-- Bogdan Sass CCAI,CCSP,JNCIA-ER,CCIE #22221 (RS) Information Systems Security Professional "Curiosity was framed - ignorance killed the cat"Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:43:39 ARST