From: simon hart (simon.hart@btinternet.com)
Date: Tue Mar 29 2005 - 14:52:37 GMT-3
No it will not, look at the third octet where we are checking for the last
bit on 192.54.0.0/23 ge 24 le 24
The third octet can be either
0000000 0
or
0000000 1
Therefore it will only check for 192.54.0.0 or 192.54.0.1
To cover both 192.54.0.1 and 192.54.0.2 you need two prefix statements as
illustrated by several others earlier
HTH
Simon
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
anantha S
Sent: 29 March 2005 18:37
To: Lee Donald
Cc: ccielab@groupstudy.com
Subject: Re: IP Prefix-list Question
ip prefix-list cisco permit 192.54.0.0/23 ge 24 le 24 ((for 1 & 2))
ip prefix-list cisco permit 192.54.4.0/23 ge 24 le 24 ((for 4 & 5))
Will this work ? I learnt from Dillion's example though.
/Ananth
On Tue, 29 Mar 2005 15:19:12 +0100, Lee Donald
<Lee.Donald@t-systems.co.uk> wrote:
> I'm having trouble understanding IP Prefix-lists can anybody clarify this
> for me?
>
> I have this question; use a prefix list with the minimum amount of lines
to
> allow 1,2,4,5 networks in.
>
> 192.54.1.0/24
>
> 192.54.2.0/24
>
> 192.54.4.0/24
>
> 192.54.5.0/24
>
> 192.54.21.0/24
>
> 192.54.22.0/24
>
> I have 3 lines, 2 denying 21, and 22, the other allowing everything.
>
> Is this the minimum?, if not why not?
>
> Thanks in advance for your help.
>
> Regards
>
> Lee Donald.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:54 GMT-3