From: Schulz, Dave (DSchulz@dpsciences.com)
Date: Sun Oct 30 2005 - 20:38:04 GMT-3
Montiean -
I believe if you are looking to match a network, then you should use the
later. However, is you are looking for a specific host (with a specific host
number indicated), then you would use the former "0" which will match
exactly.
Dave
-----Original Message-----
From: nobody@groupstudy.com
To: ccielab@groupstudy.com
Sent: 10/30/2005 6:24 PM
Subject: wildcard mask question
Folks,
Just want to get the idea on wildcard mask using acl in the lab.
For an example, let say we need to use only one statement in acl to
filter
routes below
192.168.20.0/24
192.168.21.0/24
192.168.22.0/24
192.168.23.0/24
So we can use either ways as below
access-list 1 permit 192.168.20.0 0.0.3.0
or
access-list 1 permit 192.168.20.0 0.0.3.255
The result is going to be the same but which way should be right in the
lab.
Any comments would be appreciate.
Thanks,
Montiean
This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:55 GMT-3