CS FundamentalsVery hardGATE CS · Cisco/networking placement

An organisation holds 150.20.0.0/16 and needs at least 50 subnets, each with at least 1000 usable host addresses, all of one size. Which mask works, and how many subnets of that size are left unused after allocating 50 (subnet zero and the all-ones subnet allowed)?

  1. A. 255.255.248.0, with no subnets left over
  2. B. 255.255.252.0, with 12 subnets left over
  3. C. 255.255.254.0, with 78 subnets left over
  4. D. 255.255.252.0, with 14 subnets left over

Correct answer: D. 255.255.252.0, with 14 subnets left over

50 subnets need 6 subnet bits (64), leaving 10 host bits: 1022 usable hosts, so /22 = 255.255.252.0 works and 64 − 50 = 14 are spare. A /21 gives only 32 subnets, a /23 only 510 hosts, and 12 spare comes from wrongly discarding subnet zero and the all-ones subnet.

More Computer Networks questions

Exams that ask this topic