GCIA · Question #13
The following output is generated by running the show ip route command: RouterA#show ip route < - - Output Omitted for brevity - -> Which next hop address will RouterA use in forwarding traffic to…
The correct answer is C. 172.18.1.1. Reading a routing table requires identifying the most specific matching route (longest prefix match) to determine the correct next-hop address for a destination network.
Question
The following output is generated by running the show ip route command:
RouterA#show ip route < - - Output Omitted for brevity - -> Which next hop address will RouterA use in forwarding traffic to 10.10.100.0/24?
Exhibit
Options
- A172.18.50.1
- B192.168.10.0
- C172.18.1.1
- D172.18.60.1
How the community answered
(15 responses)- B7% (1)
- C80% (12)
- D13% (2)
Why each option
Reading a routing table requires identifying the most specific matching route (longest prefix match) to determine the correct next-hop address for a destination network.
172.18.50.1 is a next-hop address tied to a different route entry in the table and does not correspond to the best-matching route for 10.10.100.0/24.
192.168.10.0 is formatted as a network address rather than a valid unicast next-hop (gateway) address and would not appear as a via address in a route entry.
172.18.1.1 is the next-hop address associated with the routing table entry that best matches the destination 10.10.100.0/24 using the longest prefix match rule. Cisco IOS selects the route with the most specific subnet mask among all matching entries, and the entry pointing to 172.18.1.1 represents that best match for this destination.
172.18.60.1 is the next-hop for a different destination network and does not match the routing entry for 10.10.100.0/24.
Concept tested: IP routing table lookup and longest prefix match
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_pi/configuration/15-mt/iri-15-mt-book/iri-ip-static-route.html
Topics
Community Discussion
No community discussion yet for this question.
