A router learned 10.0.0.0/8, 10.0.0.0/16, and 10.0.0.0/24. Which show ip route output correctly displays all three prefixes?
Choose an answer
Tap an option to check your answer.
Correct answer: Gateway of last resort is 172.16.1.1 to network 0.0.0.0 o E2 10.0.0.0/8 [110/5] via 192.168.1.1, 0:01:00, Ethernet0 o E2 10.0.0.0/16[110/5] via 192.168.2.1, 0:01:00, Ethernet1 o E2 10.0.0.0/24[110/5] via 192.168.3.1, 0:01:00, Ethernet2.
Why this is the answer
The correct output displays all three distinct prefixes (10.0.0.0/8, 10.0.0.0/16, and 10.0.0.0/24) because a router can maintain multiple entries for the same major network if they have different subnet masks. This is known as route specificity; the router will always prefer the most specific (longest prefix match) route when forwarding traffic. The other options are incorrect because they only show one or two of the learned prefixes, not all three. A router's routing table will list all learned routes unless they are superseded by a more specific route to the exact same destination, which is not the case here as the subnet masks differ.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed