prefix filtering w/ access-list.......stumped

From: John Matus (John.Matus@tokiom.com)
Date: Wed Nov 16 2005 - 19:40:28 GMT-3


ok,
this has always gotten me and i still don't understand why
lets say that you want to deny all routes (in rip) coming in w/ an even
second octet. when i look @ IE's solution guide, they show an offset list
with an ACL attached that is:

access-list 1 permit 0.0.0.0 255.254.255.255 ( the stipulation
is that the acl can only be 1 line), so this is supposed to say, i'm
assuming "permit odd routes"

but.....
from my understanding, if you have a 0 in the octet you are trying to
filter, then the octet is going to be even, and with a mask of 254, you are
going to be matching the 1's column, so it would seem to me that:
permit 0.0.0.0 255.254.255.255 would actually PERMIT all even routes
rather than denying them (my solution to the problem was "permit 0.1.0.0
255.254.255.255" which i believed would permit all odd routes...........but
it seems that i am mistaken somehow........

what am i not getting??

Regards,

John D. Matus
Technical Support / PAS
Fujitsu Consulting
626-568-7716
John.Matus@tokiom.com
========================================================================================================
   This e-mail is intended solely for the individual to whom it is
addressed. The information contained in this transmission contains
confidential and/or proprietary information or is otherwise privileged. If
the reader of this message is not the intended recipient, please be advised
that any dissemination, distribution or copying of this transmission is
strictly prohibited. If you have received this e-mail in error, please
notify us immediately by returning it to the sender and deleting this copy
from your system. Thank you for your cooperation.
========================================================================================================



This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:07 GMT-3