All mock tests are FREE till 31 December — register to save your progress
Unit 9 · Data Communication and Computer Networks Paper 2 CS · December 2022 Shift 1

A router's table has subnets 12.20.164.0/22 → R1, 12.20.170.0/23 → R2, 12.20.168.0/23 → Interface 0, 12.20.166.0/23 → Interface 1 and a default → R3. Which of the following prefixes can collectively be used to correctly aggregate all of the subnets?
A. 12.20.164.0/20
B. 12.20.164.0/22
C. 12.20.164.0/21
D. 12.20.168.0/22
Choose the correct answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. B and D Only

Explanation

The subnets cover 12.20.164.0–167.255 (/22) and 12.20.168.0–171.255 (two /23s = 168.0/22). 164.0/21 and 164.0/20 are not valid aligned blocks for this range, so the aggregate is 164.0/22 plus 168.0/22.

More Data Communication and Computer Networks questions