RE: ACL's: Even/Odd -- allow EVEN

From: Bob Usa (boby2kusa@hotmail.com)
Date: Thu Feb 13 2003 - 04:24:25 GMT-3


David is right, in additoin the access-list should be a standard access such
as
access-list 1 permit x.x.x.x 0.0.254.255

>From: "David Terry (ETL)" <David.Terry@etl.ericsson.se>
>Reply-To: "David Terry (ETL)" <David.Terry@etl.ericsson.se>
>To: "'Sage Vadi'" <sagevadi@yahoo.co.uk>, ccielab@groupstudy.com
>Subject: RE: ACL's: Even/Odd -- allow EVEN
>Date: Wed, 12 Feb 2003 12:52:28 +0100
>
>Hi Sage,
>
>Not sure if you are doing it or not but I think you should apply it as a
>distribute list inbound on the routing protocol.
>
>router rip
> network 150.50.0.0
> distribute-list 1 in Ethernet2/0
>
>The ACL looks fine.....
>
>Cheers
>
>David
>
>-----Original Message-----
>From: Sage Vadi [mailto:sagevadi@yahoo.co.uk]
>Sent: 12 February 2003 10:23
>To: ccielab@groupstudy.com
>Subject: RE: ACL's: Even/Odd -- allow EVEN
>
>
>All,
>
>Receive the following RIPv1 routes (ingress).
>
>198.5.51.0 in 1 hops
>198.5.52.0 in 1 hops
>198.5.53.0 in 1 hops
>198.5.54.0 in 1 hops
>
>Want to permit only the EVEN networks. My calculation
>as follows:
>
>52 = 00110100
>54 = 00110110
>
>Accordingly we have to do an inverse mask that matches
>on the LAST bit (even numbers). That is what I have
>done and tested on a subnet calculator (it seems to
>bring out the correct addresses).
>
>Hence -
>
>permit ip 198.5.0.0 0.0.254.255 any
>
>Would permit ALL even networks (til 254). Which is
>fine, I don't care how speficic.
>
>Q) When I apply this inbound on my egress interface
>where I'm receiving this routes - it just doesn't
>work?!?!
>
>What stupid thing am I doing? I feel like bashing this
>monitor...
>
>rgds,
>Sage
>
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Everything you'll ever need on one web page
>from News and Sport to Email and Music Charts
>http://uk.my.yahoo.com
>.
>.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:21 GMT-3