Consider routing table of an organization’s router shown below:
Which of the following prefixes in notation can be collectively used to correctly aggregate all of the subnets in the routing table?
View worked solution
Answer: B;D
To find the CIDR prefixes that collectively aggregate all the subnets, let us determine the IP address range for each subnet in the routing table:
-
Subnet 1: with mask (/22)
Range: to -
Subnet 4: with mask (/23)
Range: to
Note: This range is completely contained within Subnet 1. Thus, the prefix (Option B) aggregates both Subnet 1 and Subnet 4. -
Subnet 3: with mask (/23)
Range: to -
Subnet 2: with mask (/23)
Range: to
Combining the ranges of Subnet 3 and Subnet 2 gives the continuous block to . This block is represented by the aggregated prefix (Option D).
Together, the prefixes and precisely cover the entire range of all four subnets without including any external addresses.
Free practice · Your answers on this page are not saved.
