A Cisco router receives an IPv4 packet destined for host , which matches a static route configured strictly with a next-hop IP address () rather than an exit interface. Arrange the operational steps in the exact sequence the router executes to process, resolve, and forward this packet.
- 1Extract the destination IPv4 address from the incoming packet header.
- 2Search the IPv4 Routing Information Base (RIB) using Longest Prefix Match (LPM) logic.
- 3Identify the next-hop IPv4 address associated with the matching static route.
- 4Perform a recursive lookup in the routing table to resolve next-hop to an outbound exit interface.
- 5Consult the ARP table for the Layer 2 MAC address of , rewrite the frame header, and transmit the packet.
Answer
The correct sequence of router operation steps is: Extract the destination IPv4 address (), search the IPv4 RIB using Longest Prefix Match, identify the next-hop IPv4 address (), perform a recursive lookup to resolve the exit interface, and consult the ARP table to encapsulate and transmit the packet.
When a Cisco router receives an IPv4 packet, it extracts the destination IP address from the packet header (). Next, it evaluates its routing table (RIB) using Longest Prefix Match (LPM) to find the most specific route entry. Upon finding the static route, it identifies that the destination is reached via next-hop IP . Because the static route was configured without specifying an egress interface, the router must perform a recursive lookup in the routing table to determine which directly connected interface reaches . Once the exit interface is resolved, the router queries its ARP cache to map to a Layer 2 MAC address, re-encapsulates the packet into a new Layer 2 frame, and transmits it out the interface.
Step-by-Step Solution
Key Concept
Recursive Static Route Lookup and Packet Forwarding Sequence