CS FundamentalsVery hardGATE CS

A router must summarise 198.51.96.0/21, 198.51.104.0/22 and 198.51.110.0/23 into the smallest single prefix. Which prefix is it, and how many addresses does it cover that are in none of the three routes?

  1. A. 198.51.96.0/20, 0
  2. B. 198.51.96.0/19, 4608
  3. C. 198.51.104.0/21, 512
  4. D. 198.51.96.0/20, 512

Correct answer: D. 198.51.96.0/20, 512

The routes span third octets 96–103, 104–107 and 110–111, so the smallest aligned block is 96–111 = 198.51.96.0/20 (4096 addresses). It also covers 198.51.108.0/23, which none of the routes includes: 512 extra addresses, which is why such summaries can attract traffic for unassigned space.

More Computer Networks questions

Exams that ask this topic