Consider routing table of an organization's router shown below:\[\begin{array}{|c|c|c|} \hline \textbf{Subnet Number} & \textbf{Subnet Mask} & \textbf{Next Hop} \\ \hline \text{12.20.164.0} & \text{255.255.252.0} & \text{R1} \\ \hline \text{12.20.170.0} & \text{255.255.254.0} & \text{R2} \\ \hline \text{12.20.168.0} & \text{255.255.254.0} & \text{Interface 0} \\ \hline \text{12.20.166.0} & \text{255.255.254.0} & \text{Interface 1} \\ \hline \text{default} & \text{R3} \\ \hline \end{array}\]Which of the following prefixes in CIDR notation can be collectively used to correctly aggregate all of the subnets in the routing table?
Step 1: Convert the third octets to binary
All subnets share the first two octets (12.20). Let's examine the third octet for each:
10100100101001101010100010101010Step 2: Identify common bits and boundaries
Looking at the binary values, we see two distinct groups forming based on their bit patterns:
Group A (164 and 166):
Both share the first 6 bits: 101001xx. This corresponds to a /22 prefix (8+8+6 bits). The network address is the lowest value: 12.20.164.0/22.
Group B (168 and 170):
Both share the first 6 bits: 101010xx. This also corresponds to a /22 prefix. The network address is: 12.20.168.0/22.
Step 3: Evaluate for a single aggregate
Can we combine Group A and Group B?
1010xxxx.Step 4: Verify against the options
Checking the valid boundaries identified:
Final Answer:
The routing table can be most efficiently represented by the following aggregated prefixes: (B) 12.20.164.0/22 and (D) 12.20.168.0/22