Re: IP Prefix-list Question

From: Philippe Couture (philippecouture@gmail.com)
Date: Tue Mar 29 2005 - 12:03:43 GMT-3


Sundar,

Wouldn't the third line need to be "ip prefix-list cisco permit
192.54.4.0/23 ge 24" ?

I could be wrong but I think that since you don't care about the 24th
bit (i.e. you want to match .4 and .5), you would use a mask length of
23, and the "ge 24" says to use prefix lengths of 24 or more. If you
want to really only allow 24 and nothing longer, you would also need
to add "le 24".

Phil

On Tue, 29 Mar 2005 09:54:59 -0500, Sundar Palaniappan
<sundarp@gmail.com> wrote:
> Lee,
>
> Or you could you configure
>
> ip prefix-list cisco permit 192.54.1.0/24
> ip prefix-list cisco permit 192.54.2.0/24
> ip prefix-list cisco permit 192.54.4.0/24 ge 23
>
> Either way you need 3 statements atleast.
>
> HTH,
> Sundar Palaniappan
>
> 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
>
> _______________________________________________________________________
> 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