Second opinion appreciated on ACL's

From: Simon Grace (SimonG@pcsystems.gr)
Date: Wed Nov 07 2007 - 08:00:19 ART


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.



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