Prefix Length Versus Route Metric
A router has learned multiple paths to various subnets within the 172.20.10.0 address space, as shown in the routing table.
The router receives a packet destined for the IP address 172.20.10.65.
| Destination Network | Next Hop | Protocol | Metric |
|---|---|---|---|
| 172.20.10.0/24 | 10.0.0.1 | OSPF | 15 |
| 172.20.10.0/24 | 10.0.0.2 | OSPF | 10 |
| 172.20.10.0/25 | 10.0.0.3 | OSPF | 50 |
| 172.20.10.128/25 | 10.0.0.4 | OSPF | 5 |
Based on the provided routing table, which next hop will the router select for the packet, and what is the correct justification?
10.0.0.4, because it has the absolute lowest metric in the routing table for the 172.20.10.x address space.
10.0.0.3, because the longest matching prefix is always selected before comparing explicit route metrics.
10.0.0.2, because it has the lowest metric among the routes that successfully encompass the destination address.
10.0.0.1, because it is the first entry in the table that successfully matches the destination address.
Question Leaderboard
Not enough data yet to show leaderboard.
