From: Scott Morris (swm@emanon.com)
Date: Sat Feb 08 2003 - 11:52:02 GMT-3
Not quite there...
51 = 00110011
52 = 00110100
53 = 00110101
54 = 00110110
Looking at 52 and 54 only:
52 = 00110100
54 = 00110110
^
There's 1 bit of difference between them, and that's on the '2' bit
place. So remember that a 0 in an ACL netmask means the value remains
the same and a 1 means I don't care what it is. There's only 1 bit here
I don't care about, so my mask is 00000010 or 2.
That means the overall mask is 0.0.2.255
In your answer, the 0.0.3.255 would permit 52, 53, 54 and 55 to match
(work out the binary)
Hope that helps!
Scott
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Ram Shummoogum
Sent: Saturday, February 08, 2003 9:21 AM
To: sagevadi@yahoo.co.uk
Cc: ccielab@groupstudy.com
Subject: Re: ACL's: Even/Odd permit/deny
To match 198.5.52.0 and 198.5.54.0
Try 198.5.52.0 0.0.3.255
cheers,
RAM
Sage Vadi <sagevadi@yahoo.co.uk>@groupstudy.com on 02/08/2003 03:41:25
AM
Please respond to Sage Vadi <sagevadi@yahoo.co.uk>
Sent by: nobody@groupstudy.com
To: ccielab@groupstudy.com
cc:
Subject: ACL's: Even/Odd permit/deny
All,
Trying to permit these* even networks:
198.5.51.0
198.5.52.0*
198.5.53.0
198.5.54.0*
ACL I use:
permit 198.5.0.0 0.0.254.255
Q) I'm redistributing these RIP learnt networks into
OSPF, since I can't use a distribute-list (lab req)
I'm using ACL and route-map. Basically the route-map
says match the above ACL.
Problem is - when I do so ALL of the networks are sent
into OSPF. Q) Any ideas, is my ACL right?
Cheers,
Sage
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:16 GMT-3