> Assuming you want all 254 hosts in the 10.10.40.0/24 network 
> to match your
> filter rule, you'll need to use a /24 netmask.


Since David didn't explain how you get from here
to there, I'll take up where he left off.

The way you calculate the suffix notation for a
given netmask is to convert your netmask into
binary and count the 1's.

For your Class "C" network, the netmask is:
255.255.255.0.

If you convert that to binary, its:
11111111.11111111.11111111.00000000

If you count the 1's, you will find that there
are 24 of them, so the suffix notation would
be "/24".

If you were to subnet using a 255.255.255.240
netmask, the binary representation would be:
11111111.11111111.11111111.11110000

In this case, there are 28 1's, so the suffix
notation would be "/28".

Mike Burden
Lynk Systems
http://www.lynk.com
(616)532-4985
[EMAIL PROTECTED]


Reply via email to