CS FundamentalsHardTCS NQT · Infosys pattern

An ISP wants to advertise the 8 contiguous /24 networks starting at 150.20.16.0 as a single aggregate route. What is the correct CIDR aggregate, assuming the block aligns on a boundary?

  1. A. 150.20.16.0/22
  2. B. 150.20.16.0/20
  3. C. 150.20.16.0/24
  4. D. 150.20.16.0/21

Correct answer: D. 150.20.16.0/21

8 networks need log2(8) = 3 extra bits absorbed, giving /24 − 3 = /21. The aggregate is 150.20.16.0/21; a /22 covers only half the networks and a /20 would also include networks outside this range.

More Computer Networks questions

Exams that ask this topic