200-301 · Question #1406
Refer to the exhibit. Which IP route command created the best path for a packet destined for 10.10.10.3?
The correct answer is B. ip route 10.10.10.0 255.255.255.240 g0/0. The best path for a packet is determined by the most specific route, which is identified by the longest prefix match in the routing table.
Question
Exhibits
Options
- Aip route 10.10.0.0 255.255.252.0 g0/0
- Bip route 10.10.10.0 255.255.255.240 g0/0
- Cip route 10.0.0.0 255.0.0.0 g0/0
- Dip route 10.10.10.1 255.255.255.255 g0/0
How the community answered
(26 responses)- A4% (1)
- B81% (21)
- C12% (3)
- D4% (1)
Why each option
The best path for a packet is determined by the most specific route, which is identified by the longest prefix match in the routing table.
This route uses a /22 prefix (10.10.0.0/22), which is less specific than the /28 prefix in option B, making it a less preferred route for 10.10.10.3.
The ip route 10.10.10.0 255.255.255.240 g0/0 command creates a route with a /28 prefix (10.10.10.0/28), which is the most specific subnet that includes the destination IP address 10.10.10.3 among the given options, thus making it the best path.
This route uses a /8 prefix (10.0.0.0/8), which is the least specific of the options that match 10.10.10.3, and therefore not the best path.
This route defines a host route for 10.10.10.1 (/32) and does not match the destination IP address 10.10.10.3.
Concept tested: Longest prefix match routing
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_static/configuration/xe-3s/irs-xe-3s-book/irs-static-rt-cg-xe.html
Topics
Community Discussion
No community discussion yet for this question.

