A Cisco IOS router receives an IPv4 packet destined for host . The router's routing table contains a static route configured as `ip route 192.168.2.0 255.255.255.0 10.1.1.2`. Place the processing steps the router executes to resolve the exit interface and encapsulate the packet in the correct sequential order from first to last.
- 1Match the packet's destination IP address against the longest prefix in the IPv4 routing table to select the static route.
- 2Identify that the static route points to next-hop IPv4 address 10.1.1.2 rather than an outbound physical interface.
- 3Perform a recursive lookup in the routing table to locate an active route matching next-hop address 10.1.1.2.
- 4Match the directly connected route 10.1.1.0/24 to identify egress interface GigabitEthernet0/1.
- 5Retrieve the Layer 2 MAC address for 10.1.1.2 from the ARP table to encapsulate and transmit the frame out GigabitEthernet0/1.
Answer
The correct sequential order for recursive static route lookup and forwarding is: 1) Match destination IP against the routing table to select the static route; 2) Identify next-hop IP address 10.1.1.2; 3) Perform a recursive lookup in the routing table for 10.1.1.2; 4) Match the connected route 10.1.1.0/24 to determine exit interface GigabitEthernet0/1; 5) Retrieve the ARP table entry for 10.1.1.2 to encapsulate and transmit the frame.
When a static route is configured using only a next-hop IP address (e.g., `ip route 192.168.2.0 255.255.255.0 10.1.1.2`), Cisco IOS must execute a recursive lookup process. The router first matches the packet destination IP () against the static route in the routing table. Second, it identifies the configured next-hop IP (). Third, it performs a secondary (recursive) lookup for in the routing table. Fourth, it finds the directly connected route (), revealing the physical egress interface (GigabitEthernet0/1). Fifth, it queries the ARP table for the MAC address belonging to to build the Ethernet frame and transmit it out GigabitEthernet0/1.
Step-by-Step Solution
Key Concept
Recursive Routing Lookup for IPv4 Static Routes