CS FundamentalsHardTCS NQT · Infosys pattern

The block 172.24.0.0/17 must be split into at least 2000 equal-sized subnets, each with as many usable hosts as possible. How many usable hosts will each subnet have?

  1. A. 30
  2. B. 16
  3. C. 28
  4. D. 14

Correct answer: D. 14

2000 subnets need the smallest b with 2^b ≥ 2000, so b = 11 (2^11 = 2048), giving prefix /28. Host bits = 4, so usable hosts = 2^4 − 2 = 14.

More Computer Networks questions

Exams that ask this topic