From: Jason Guy \(jguy\) (jguy@cisco.com)
Date: Mon Jun 04 2007 - 10:27:00 ART
Prashant,
You just need the right ACL and wcard mask.  So for the 3rd octet to be
even, the second bit must be a 1.  I have not verified this on a router
to double check, but try this:
access-list 2 permit 201.1.2.0 0.0.253.255
This should allow anything that has the second bit set (anything that is
a multiple of 2) to be matched.
Jason
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> prashant sansare
> Sent: Monday, June 04, 2007 7:07 AM
> To: ccielab@groupstudy.com
> Subject: ROute Filtering clarification
> 
> Hi
> Can some one please help me to understand the ACL
> 
> Scenerio:Route filtering
> 
> R1-----se0/0-----R2
> 
> 
> Networks on R2
> 201.1.1.1/24
> 201.1.2.1/24
> 201.1.3.1/24
> 201.1.4.1/24
> 201.1.5.1/24
> 
> EIgrp is the routing protocol running  R1 needs to receive the routers
> with
> 201.1.x.0 range that have even number in the third octet
> can some one pls explain me how do we filter the third octet evn
> numbers,please explain me the logic of filter the even numbers
> 
> i know how acl works and stuff and how to do router filtering
> 
> access-list 2 deny 201.1.1.0 0.0.254.255
> access-list 2 permit any
> 
> router eigrp 123
> network 201.1.1.0
> network 201.1.2.0
> network 201.1.3.0
> network 201.1.4.0
> network 201.1.5.0
> network 201.1.6.0
> 
> distribute-list 2 out se 0/0
> 
> can any one please me explain me the logic of filtring the even from
the
> acl
> how to play with wild card mask to acheive our requirment
> 
> 
> Regards
> Prashant
> 
>
This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:46 ART