RE: Funky acl question-Check if this is correct

From: Amit Kohli (amitkohli18@yahoo.com)
Date: Mon Jul 09 2007 - 11:09:37 ART


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



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