nerdexam
GIAC

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.

Advanced Incident Response & Digital Forensics Fundamentals

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

GCIA question #13 exhibit

Options

  • A172.18.50.1
  • B192.168.10.0
  • C172.18.1.1
  • D172.18.60.1

How the community answered

(15 responses)
  • B
    7% (1)
  • C
    80% (12)
  • D
    13% (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.

A172.18.50.1

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.

B192.168.10.0

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.

C172.18.1.1Correct

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.

D172.18.60.1

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

#IP routing#routing table#next hop#route selection

Community Discussion

No community discussion yet for this question.

Full GCIA Practice