CS FundamentalsHardCognizant · Capgemini pattern

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

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

Correct answer: D. 30

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

More Computer Networks questions

Exams that ask this topic