route filtering with wild-card mask

From: John Matus (john_matus@hotmail.com)
Date: Wed Jun 08 2005 - 01:57:08 GMT-3


ok,
you have networks 30.1.1.0 and 30.1.2.0. you want to deny anything with
an odd 3rd octed

now, i alway thought that you the access-list should be:

access-list 1 deny 30.1.0.0 0.0.1.255 since you are matching anything
with the last bit set to 1,
or
to deny any thing even you should use:

access-list 1 deny 30.1.0.0 0.0.255.255 since only numbers with the least
significant bit set to zero are even................but lately when i've
been configuring offset-lists my findings have been just the opposite as
anticipated....

it this correct?

as a side note, in the 1st example you can actually use "deny 30.1.0.0
0.0.1.0" yeah? since you don't need to match the 1, 2, or 4th bit <?>

just trying to get my fact nailed down!

tia



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:41 GMT-3