RE: ACL Tips and Tricks

From: Jim Brown (Jim.Brown@caselogic.com)
Date: Tue Mar 11 2003 - 19:46:22 GMT-3


access-list 1 permit 196.95.60.0 11.0.0.255

199 = 11000111
204 = 11001100
--------------
196 = 11000100 exact match bits
 11 = 00001011 wildcard bits

This solution will include the 205 and 207 networks in addition to the
199 and 204 networks.

This is the BEST answer IMHO.

-----Original Message-----
From: Scott Morris [mailto:swm@emanon.com]
Sent: Tuesday, March 11, 2003 12:34 PM
To: 'Voss, David'; ccielab@groupstudy.com
Subject: RE: ACL Tips and Tricks

199 = 11000111
204 = 11001100

There are 3 bits of difference between the two, so it is impossible to
summarize them in one statement without including extraneous routes.

Enjoy!

Scott

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Voss, David
Sent: Tuesday, March 11, 2003 12:49 PM
To: ccielab@groupstudy.com
Subject: ACL Tips and Tricks

Permit the following subnets in an ACL with only 1 command... and deny
all other subnets.... I don't believe this can be done with 1 command.
Maybe someone can give it a shot?

204.95.160.0/24
199.95.160.0/24



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:37 GMT-3