CS FundamentalsHardHCL · Tech Mahindra pattern

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

  1. A. 172.16.32.0/22
  2. B. 172.16.32.0/23
  3. C. 172.16.32.0/21
  4. D. 172.16.32.0/24

Correct answer: A. 172.16.32.0/22

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

More Computer Networks questions

Exams that ask this topic