RE: Access-list clarification

From: Edwards, Andrew M (andrew.m.edwards@boeing.com)
Date: Tue Oct 19 2004 - 12:19:35 GMT-3


Sounds like you want to use a prefix list.

Ip prefix test sequence 5 permit 145.0.0.0/8 ge 16 le 16

At least I think that's right... Basically it says match the first 8
bits (e.g. 145) and any subnet that is /16

HTH,

andy

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Cisco Net
Sent: Monday, October 18, 2004 10:37 PM
To: Nico van Niekerk
Cc: Group Study
Subject: Re: Access-list clarification

Mmmm
145.0.0.0 /8 will match anything above /8 subnet.. like /9, /10, /11 etc

I want to match only 145.x.0.0/16... Ex 145.1.0.0/16, 145.2.0.0/16 etc
But not 145.0.0.0/8...
It should be /16 for sure...
Regards
Cert

On Tue, 19 Oct 2004 15:16:58 +1000, Nico van Niekerk
<nico@vanniekerk.co.za> wrote:
> 145.x.0.0/16 with x being any number is the same as saying 145.0.0.0/8

> Once you specify 'any' number in second octet with a /16 mask you're
> actually specifying a mask of /8.
>
>
>
>
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf
> > Of Cisco Net
> > Sent: Tuesday, 19 October 2004 2:31 PM
> > To: Group Study
> > Subject: Access-list clarification
> >
> >
> > Hi
> > How to write an acl for the following,
> > 145.X.0.0 /16 where as second octet can be any number
> >
> > Got confused..
> >
> > 145.0.0.0 0.255.255.255 will not match the mask.
> >
> > Is it,
> >
> > 145.0.0.0 0.255.255.255 host 255.255.0.0 ???
> >
> > Please clarify....
> > Regards
> > Cert
> >
> > ____________________________________________________________________
> > ___
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:49 GMT-3