A Cisco router receives an IPv4 packet on an ingress interface destined for a remote destination host. In what exact sequence does the router execute its internal forwarding decision and frame processing logic from packet arrival to egress transmission?
- 1De-encapsulate the incoming Layer 2 frame, verify IP header integrity, and extract the destination IPv4 address.
- 2Search the IPv4 routing table for all prefix entries that match the packet destination IP address.
- 3Select the single best route entry from the candidate list strictly based on the Longest Prefix Match.
- 4Identify the egress exit interface and next-hop IPv4 address associated with the chosen longest prefix route.
- 5Resolve the next-hop Layer 2 MAC address, decrement TTL, rewrite the Layer 2 header, and transmit the frame out the exit interface.
Answer
The correct sequential order of the Cisco router forwarding decision logic is: First, de-encapsulate the frame, verify IP header integrity, and extract the destination IPv4 address. Second, search the IPv4 routing table for all matching prefix entries. Third, select the single best route entry strictly using Longest Prefix Match (LPM). Fourth, identify the egress exit interface and next-hop IPv4 address from the selected route. Fifth, resolve the next-hop Layer 2 MAC address, decrement TTL, rewrite the Layer 2 header, and transmit the frame.
The correct operational sequence begins when an IPv4 packet arrives at a router interface. The router first strips the ingress Layer 2 header, validates the IP checksum/TTL, and extracts the destination IP address. Next, it queries the IPv4 routing table for all matching subnets. It applies Longest Prefix Match (LPM) precedence to choose the candidate route with the longest subnet mask. After selecting the winning route, it extracts the next-hop IP address and outbound interface. Finally, it uses ARP to find the next-hop MAC address, decrements the TTL by 1, encapsulates the packet in a new Layer 2 header, and transmits it out the exit interface.
Step-by-Step Solution
Key Concept
Router Forwarding Decision Logic and Longest Prefix Match