Recommended Posts

Ok I'm studying for my network+ exam the only thing I'm seem to be a little unsure on is calculating users and hosts using the subnet masks. Ok so here is the thing you calculate how many subnets by 2n when equals the number of bits so in other wards 2*8 power 256 the concept is the same for hosts except you subtract two you get 254 that gives you your default subnet mask of 255.255.255 but lets say my network needs this is the class c standard. So all I need to do to increase client capacity is adjust my gateway mask address. In other wards if I adjusted 255.255.250 that would give me an extra 38 hosts? And an extra 40 subnets?

Share on other sites

Ok I think I have this now...ok you get the number hosts by doubling each number starting by 2 in other wards if you wanted 512 hosts it would take 9 bits. But in reality you would only have 510 hosts so If I wanted 512 valid hosts I would have to move up to 11 bits. That would also give us the same amount of subnets 512 because you use the same method just count left to right instead of right to left. Now calculating the subnet mask is simple since this is a cider 23 know the first 2 bits will be 255.255. Now since nine bits are left we basically easy way to do it is count right to left so since 8 bits would give us a dot zero for the last bit we wind up having one bit left making it 255.255.254.0

So how did I do?

Edited by Jklein

Share on other sites

So basically how many hosts will give you how many bits once you know that bits will give you your subnet mask. Which is calculated by cider in other wards if I take in otherwards if my cider is 25 my subnet would be 255.255.255.254 that's what happens when you try to do math at 1:30 in the morning

Edited by Jklein