From: hadek.el-ayachi@nsn.com
Date: Wed Nov 07 2007 - 09:04:09 ART
The two solutions are correct.
I will use concernet bits only
Your solution:
011 0001
111 0001
011 1001
111 1001
result: 51.3.0.1 0.4.0.8
AND
101 0001
101 1001
result: 51.5.0.1 0.0.0.8
first solution:
101 0001
111 0001
101 1001
111 1001
Result: 51.5.0.1 0.2.0.8
011 0001
011 1001
Result: 51.3.0.1 0.0.0.8
The same!
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
ext shiran guez
Sent: mercredi 7 novembre 2007 11:20
To: Simon Grace
Cc: groupstudy
Subject: Re: Second opinion appreciated on ACL's
i have the solution the same as the the first your second solution is
incorrect:
00110011.00000011.00000000.00000001
00110011.00000011.00000000.00001001
___________________________________
00110011.00000011.00000000.00000001
00000000.00000000.00000000.00001000
51.3.0.1 0.0.0.8
00110011.00000101.00000000.00000001
00110011.00000111.00000000.00000001
00110011.00000111.00000000.00001001
___________________________________
00110011.00000101.00000000.00000001
00000000.00000010.00000000.00001000
51.5.0.1 0.2.0.8
On Nov 7, 2007 1:00 PM, Simon Grace <SimonG@pcsystems.gr> 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
>
> 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
>
-- Shiran Guez MCSE CCNP NCE1 http://cciep3.blogspot.com http://www.linkedin.com/in/cciep3
This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:28 ART