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

From: David Terry (ETL) (David.Terry@etl.ericsson.se)
Date: Wed Feb 12 2003 - 08:52:28 GMT-3


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



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