cool. I know all that... 
I just wanted to make sure we never had to go further..


> Just convert to binary and it becomes simple.
> 
> ie given a netmask of:
> 255.255.255.240 -> 11111111 11111111 11111111 11110000
> 
> That means there are 4 bits not masked, and hence 2^4 adresses in
> the subnet.  Since each subnet needs a network and broadcast address
> (the first and last address respectively on modern systems (some systems
> used to use other broadcast addresses)), then you are left with 2^4-2
> addresses or 16-2 = 14 in this case.
> 
> If you don't know how to convert decimal to binary, then you probably
> shouldn't be doing any admin work yet, so that shouldn't be a problem. :)

-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

The information contained in this message or any of its attachments maybe
confidential and is intended for the exclusive use of the addressee(s).
Any disclosure, reproduction, distribution or other dissemination or use 
of this communication is strictly prohibited without the express permission
of the sender. The views expressed in this email are those of the individual
and not necessarily those of ForLinux Limited.

ForLinux Limited email is for business use only.

_______________________________________________
lpi-examdev mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev

Reply via email to