RE: even router how to set wild mask

From: Voss, David (dvoss@heidrick.com)
Date: Mon Feb 10 2003 - 00:07:59 GMT-3


I believe you'd like to keep the .255 for masking on the final octet.

permit 135.172.1.0 0.0.254.255 odd
permit 135.172.0.0 0.0.254.255 even

-----Original Message-----
From: Jonathan V Hays [mailto:jhays@jtan.com]
Sent: Saturday, February 08, 2003 10:37 PM
To: 'zhang-meng'; 'Ccielab (E-mail)'
Subject: RE: even router how to set wild mask

Please note that odd numbers end in "1" and even numbers end in "0".
 
Odd:
1 = 0000 0001
3 = 0000 0011
5 = 0000 0101
etc.

Even:
0 = 0000 0000
2 = 0000 0010
4 = 0000 0100
6 = 0000 0110
etc.

If we assume from your example that you are filtering on the third octet
of the IP address (BTW, there are only 3 octets in your mask), then all
that has to change is the subnet:

permit 135.172.1.0 0.0.254.0 matches odd routes
permit 135.172.0.0 0.0.254.0 matches even routes

HTH

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
zhang-meng
Sent: Saturday, February 08, 2003 7:12 AM
To: Ccielab (E-mail)
Subject: even router how to set wild mask

    I'm stump proble, but I suddenly don't think clearly how to set
even router, for example, I can use ip access permit 135.172.1.0
0.254.0, only recieved odd router, but how to receive even router, how
to set wild mask. .
.
.



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