How many subnets 

    

If you are asked to work out a subnet mask that will supply a certain amount of subnets this is how you can do it.

Before you go any further it is best if you know how to convert binary in to decimal

In this example you are asked to create a mask for 10 subnets. This is quite easy as long as you understand the power of 2

 

 

So 2^ of what? makes the desired subnets, look at my chart above we have been asked to create a subnet that will cater for 10 subnets. So if we look at 2^3 this would give us 8 subnets this is not enough. So if we look at 2^4 this would give us 16 subnets this is plenty as we need 10.

So lets convert that to binary 2^4 so we are using 4 zero's and 4 one's

11110000 This binary number converts to 240 which is the last subnet in the mask.