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?
- A. 150.20.16.0/22
- B. 150.20.16.0/20
- C. 150.20.16.0/24
- 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
- An ISP wants to advertise the 2 contiguous /24 networks starting at 10.1.4.0 as a single aggregate route. What is the correct CIDR…
- An ISP wants to advertise the 16 contiguous /24 networks starting at 192.168.64.0 as a single aggregate route. What is the correct CIDR…
- 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…
- An ISP wants to advertise the 2 contiguous /24 networks starting at 203.45.8.0 as a single aggregate route. What is the correct CIDR…
- An ISP wants to advertise the 8 contiguous /24 networks starting at 198.51.0.0 as a single aggregate route. What is the correct CIDR…
- A single-error-correcting Hamming code must protect 57 data bits. What is the minimum number of parity bits required?