CS FundamentalsModerateGATE CS · Product company CS fundamentals

How many /27 subnets fit inside the block 172.16.64.0/18, and how many usable hosts does each have?

  1. A. 256 subnets, 30 hosts
  2. B. 512 subnets, 32 hosts
  3. C. 64 subnets, 30 hosts
  4. D. 512 subnets, 30 hosts

Correct answer: D. 512 subnets, 30 hosts

Going from /18 to /27 borrows 9 bits, giving 2⁹ = 512 subnets; each /27 has 5 host bits, so 2⁵ − 2 = 30 usable hosts. 256 would come from counting from /19.

More Computer Networks questions

Exams that ask this topic