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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -