CS FundamentalsHardGATE CS · ISRO Scientist

A firewall allows traffic to 10.0.0.0/9, 10.64.0.0/10, 10.128.0.0/10 and 10.192.0.0/11. How many distinct destination addresses are allowed?

  1. A. 18,874,368
  2. B. 16,777,216
  3. C. 14,680,064
  4. D. 12,582,912

Correct answer: C. 14,680,064

10.64.0.0/10 lies inside 10.0.0.0/9 (10.0–10.127), so it adds nothing. The union is 2²³ + 2²² + 2²¹ = 14,680,064. Simply adding all four sizes double-counts the nested /10.

More Computer Networks questions

Exams that ask this topic