I am a fairly new IT student and I am stuck with figuring out subnetting. I have read my book and searched the internet and am still confused. I have two areas I still am having trouble with.
One area is finding the number of host addresses when given so many bits of mask on the host portion. Would I use the method of 2^H-2? Ex. 3 bits of mask on host portion so 2^3-2= 6 host addressed available. Is this correct?
Second area is kinda the same. Number of bits on a netowrk portion how many subnets? Would I use 2^s? so say 8 bits of the network portion would mean 2^8= 256 subnets available or would you use S=P-N. If so how do you know what is the number for P?
If someone could let me know if I m on the right track or explain in a better way for me to grasp this it would be great.