A router has the following routes in its routing table: a static route to 10.60.4.16/28, an OSPF route to 10.60.4.0/24, and an EIGRP route to 10.60.0.0/16. Which route will be used for a packet destined to 10.60.4.17?
Exhibit
R1# show ip route O 10.60.4.0/24 [110/20] via 192.0.2.2 S 10.60.4.16/28 [1/0] via 192.0.2.6 D 10.60.0.0/16 [90/30720] via 192.0.2.10 Destination being tested: 10.60.4.17
Trap 1: The OSPF route to 10.60.4.0/24
This is wrong because the /24 is less specific than the /28.
Trap 2: The EIGRP route to 10.60.0.0/16
This is wrong because the /16 is broader than both other matches.
Trap 3: No route at all
This is wrong because the destination clearly matches all three shown prefixes.
- A
The static route to 10.60.4.16/28
This is correct because the destination falls inside the more specific /28 prefix.
- B
The OSPF route to 10.60.4.0/24
Why wrong: This is wrong because the /24 is less specific than the /28.
- C
The EIGRP route to 10.60.0.0/16
Why wrong: This is wrong because the /16 is broader than both other matches.
- D
No route at all
Why wrong: This is wrong because the destination clearly matches all three shown prefixes.