RE: access-list 3 deny 192.168.1.0 0.0.254.255

From: Aaron K. Dixon (adixon@xxxxxxxxxxxxxxxxxxxxx)
Date: Sat Sep 09 2000 - 13:50:42 GMT-3


   

John pointed out a mistake on my previous post on this question. I only
looked at the network part on the second ACL and didn't realize that the
wildcard mask was 0.0.252.255 instead of 0.0.254.255.

John was correct in saying that the second ACL will match every 4th address.
ie 2, 6, 10, 14, 18, 22, 26 etc.

Regards,
Aaron

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Aaron K. Dixon
Sent: Friday, September 08, 2000 11:29 PM
To: Derek Buelna; ccielab@groupstudy.com
Subject: RE: access-list 3 deny 192.168.1.0 0.0.254.255

The first access-list will cover all routes that have an odd number in the
third octet. The second access-list will cover all routes with an even
number in the third octet.

Regards,
Aaron K. Dixon

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Derek Buelna
Sent: Friday, September 08, 2000 11:01 PM
To: ccielab@groupstudy.com
Subject: access-list 3 deny 192.168.1.0 0.0.254.255

Hi,

I'm trying to understand this access-list:

access-list 3 deny 192.168.1.0 0.0.254.255
access-list 3 permit any

Does it say that all odd routes within 192.168.0.0/16 will be denied
because we match against the last bit in the third octet being one. I guess
this would cover all odd routes??

Would then:

access-list 4 deny 192.168.2.0 0.0.252.255
access-list 4 permit any

deny all even routes?

Thanks,

-Derek



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:54 GMT-3