A Cisco router receives an IPv4 packet destined for host . The router's routing table contains a static route `ip route 192.168.50.0 255.255.255.0 10.1.1.2` and a directly connected network out interface `GigabitEthernet0/1`. Arrange the sequential processing steps executed by the router to forward this packet from initial ingress lookup to egress transmission.
- 1Extract the destination IP address from the received packet header.
- 2Perform a routing table lookup for and identify the matching static prefix with next-hop IP .
- 3Perform a recursive lookup for next-hop IP to determine the outbound interface `GigabitEthernet0/1`.
- 4Query the ARP table (or send an ARP request) to resolve the Layer 2 destination MAC address for .
- 5Encapsulate the IPv4 packet into a Layer 2 frame with the target MAC address and transmit it out interface `GigabitEthernet0/1`.
Cevap
The correct sequence is: Extract the destination IP address -> Perform primary routing lookup -> Perform recursive lookup for the next-hop IP -> Query ARP table for next-hop MAC -> Encapsulate packet and transmit out egress interface.
When a Cisco router receives an IP packet, it first extracts the destination IP address. Using longest prefix match, it matches the static route entry pointing to next-hop IP 10.1.1.2. Because this route specifies an IP next-hop rather than an outbound interface directly, the router performs a recursive lookup to find which connected interface reaches 10.1.1.2 (GigabitEthernet0/1). Knowing the egress Ethernet interface, it resolves the next-hop MAC address using ARP, encapsulates the IPv4 packet in an Ethernet frame, and transmits it out GigabitEthernet0/1.
Adım Adım Çözüm
Anahtar Kavram
IPv4 Static Route Recursive Lookup & Packet Forwarding Pipeline
Tahmini Süre:2m 0s