Honestly, I just know some basics about subnetting and hosts, but how can you determine how many hosts would be in the following IP 10.10.0.0/22?
Asked
Active
Viewed 223 times
0
-
1Since there are 32 bits in an address, you can easily calculate the number of host bits because you are given the number of network bits. – Ron Maupin May 28 '15 at 16:12
-
@RonMaupin, thank you. How exactly would that be calculated? – Christopher Chipps May 28 '15 at 16:21
-
1Simple subtraction gives you the number of host bits. – Ron Maupin May 28 '15 at 16:37
-
@MikePennington I appreciate you sharing that thread. Very helpful indeed! – Christopher Chipps May 28 '15 at 16:51
1 Answers
2
for any host x.x.x.x/n
you have 32 - n bits available
which means
2^(32 - n)
but one of these needs to be a broadcast ip and one of them needs to be a netowrk ip, so
2^(32 - n) - 2
for your specific question
/22 = 2^10 - 2 = 1022

jhenn
- 219
- 1
- 1