Re: Funky acl question-Check if this is correct

From: George Roman (georgeroman@gmail.com)
Date: Mon Jul 09 2007 - 11:16:35 ART


Hi,
I think i've done this in 2 lines: please correct me if i'm wrong:

#this one permits only network .5.0
access-list 1 permit 10.0.5.0 0.0.0.255
#this one permits all networks from 8 to 15
access-list 1 permit 10.0.8.0 0.0.7.255

George

On 7/9/07, Amit Kohli <amitkohli18@yahoo.com> wrote:
>
> Djerk
>
> Very good and correct explanation. Thanks for pointing out the mistake
> in line 2.
>
> Regards
> Amit
>
> Djerk Geurts <djerk@djerk.nl> wrote:
> Amit,
>
> My take is listed below...
>
> > 3 lines tho
> >
> > permit 10.0.5.0 0.0.0.255 (Permit only .5)
>
> Correct
>
> > permit 10.0.10.0 0.0.5.255 (Permit only .10 and .15)
>
> A 2 bit mask (3rd octet) will allow 4 networks: .10 .11 .14 and .15
>
> > permit 10.0.12.0 0.0.1.255 (Permit only .12 and .13)
>
> Correct
>
> > Let me know if this is correct?
>
> You're close, don't forget that each bit is a don't care. Each bit in the
> network part of the address adds n2 options (aka matched networks).
>
> Regards,
> Djerk Geurts
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
> Best Regards,
> Amit Kohli
>
>
>
> ---------------------------------
> Looking for earth-friendly autos?
> Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:40 ART