On Thu, Aug 06, 2009 at 05:06:48PM +0100, Andy Goldschmidt wrote: > very nice thanks... > > The bits I'm not sure about its stuff like.. > given this netmask - how many subnets are there.. etc..
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. :) -- Len Sorensen _______________________________________________ lpi-examdev mailing list [email protected] http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
