networking - Subnet calculation for /22 prefix -


my calculation network id 172.16.0.0 subnet prefix of /22 giving me following stats:

  • usable hosts/subnet = 24-22 = 2 (next default mask - subnet mask)
  • block size = 2 + 2 (usable hosts/sub + network id + broadcast id)
  • no of subnets = 2^(22-16) = 64 (22-16 number of host bits borrowed subnet)
  • total usable hosts = 2 * 64 = 128 ( number of subnets * usable hosts/subnet)

but calculator gives me:

  • usable hosts/subnet = 1024
  • no of subnets = 16284

what doing wrong?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -