CS FundamentalsVery hardGATE CS · ISRO Scientist

An organisation has a /23 and needs subnets for 120, 60, 60, 30 and 10 hosts. Allocated with VLSM (largest first, aligned), how many addresses remain unallocated?

  1. A. 192
  2. B. 208
  3. C. 256
  4. D. 224

Correct answer: B. 208

Block sizes: 120 → 128, 60 → 64, 60 → 64, 30 → 32 (30 + 2 = 32 fits exactly), 10 → 16. Total 128 + 64 + 64 + 32 + 16 = 304 of the /23's 512 addresses, so 208 remain. Rounding 30 hosts up to 64 (forgetting that 32 − 2 = 30 is enough) would give 176.

More Computer Networks questions

Exams that ask this topic