CS FundamentalsHardProduct company interview · GATE level

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

  1. A. 60
  2. B. 30
  3. C. 62
  4. D. 32

Correct answer: B. 30

100 subnets need the smallest b with 2^b ≥ 100, so b = 7 (2^7 = 128), giving prefix /27. Host bits = 5, so usable hosts = 2^5 − 2 = 30.

More Computer Networks questions

Exams that ask this topic