From: Pierre-Alex (paguanel@hotmail.com)
Date: Fri Nov 25 2005 - 17:10:53 GMT-3
Why not use an extended acces-list to match the mask also ?
This way you don't have to worry about matching other prefix.
You are doing exactly what was asked of you!
access-list 100 permit 192.168.20.0 0.0.3.0 255.255.255.0 0.0.0.0
Pierre
----- Original Message -----
From: "Montiean" <noktes@bellsouth.net>
To: <ccielab@groupstudy.com>
Sent: Monday, October 31, 2005 12:24 AM
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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:07 GMT-3