RE: Access list wildcard mask

From: Chua, Parry (Parry.Chua@xxxxxxxxxx)
Date: Wed Mar 27 2002 - 22:09:59 GMT-3


   
>access-list 30 permit 198.5.48.0 0.0.6.255

Your 2 bits "1" in the mask field(6) give 4 combination (000,010(2),100(4) and
110(6))
This access list include 48,50,52 and 54.

If your given list is btween 49 to 54, you have to deny 48 and put it to the to
p
of the list.

Parry Chua
////////////////////////////
-----Original Message-----
From: yakout esmat [mailto:yesmat@iprimus.com.au]
Sent: Wednesday, March 27, 2002 3:37 PM
To: BEDA jain; manny@nyp.org
Cc: ccielab@groupstudy.com
Subject: RE: Access list wildcard mask

Thanks very much guys, your feed back is really great.

The outcome is as follows:

Between 198.5.49.0 & 198.5.54.0

access-list 30 permit 198.5.48.0 0.0.6.255 (allows 50 52 & 54 all even)
access-list 30 permit 198.5.49.0 0.0.6.255 (allows 49, 51 & 53 all odd)

Manny,
(access-list 10 deny 198.5.48.0 0.0.3.255) This one will only allow for 2
hosts 49&50 am I right?

thanks again

Yakout
//////////////



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