Re: Second opinion appreciated on ACL's

From: oedyp (oedyp@yahoo.com)
Date: Wed Nov 07 2007 - 16:12:21 ART


Simon Grace wrote:
> Hi Guys,
>
>
>
> Why oh why I get myself tied up into knots over these things I don't
> know, it's just 1's and 0's
>
>
>
> The question:
>
>
>
> Create an ACL to match these hosts and nothing else in as least lines:
>
>
>
> 51.3.0.1
>
> 51.5.0.1
>
> 51.7.0.1
>
> 51.3.0.9
>
> 51.3.0.9 <-- i think here must be 51.5.0.9, otherwise none of the listed solutions will work.

-if is not then my solution is:
51.3.0.1 0.4.0.8
51.5.0.1 0.0.0.0

- if it is then another solution is:
51.1.0.1 0.6.0.8

Thank's
Andrey

> 51.7.0.9
>
>
>
> The solution:
>
>
>
> access-list 1 deny 51.3.0.1 0.0.0.8
>
> access-list 1 deny 51.5.0.1 0.2.0.8
>
> access-list 1 permit any
>
>
>
> my solution
>
>
>
> access-list 1 deny 51.3.0.1 0.4.0.8
>
> access-list 1 deny 51.5.0.1 0.0.0.8
>
> access-list 1 permit any
>
>
>
> Now I believe that they both have the same effect, would someone care to
> back me up on this.
>
>
>
> Thanks,
>
> Simon.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:28 ART