An engineer configures a next-hop IPv4 static route on a Cisco router using the command `ip route 10.1.2.0 255.255.255.0 192.168.12.2`. Place the processing steps in the correct sequential order from first to last that the router performs when forwarding an incoming packet destined for .
- 1The router performs a longest-prefix match lookup in the routing table for destination and matches the static route entry pointing to next-hop .
- 2The router conducts a recursive lookup in the routing table for next-hop address to determine the egress interface.
- 3The router consults the ARP table to resolve the Layer 2 MAC address associated with next-hop address .
- 4The router encapsulates the IPv4 packet into a Layer 2 frame and transmits it out the egress interface toward the next-hop destination.
Cevap
The correct sequence for packet forwarding with a next-hop static route is: First, match the packet destination IP to the static route entry pointing to next-hop . Second, perform a recursive lookup in the routing table for to find the outgoing interface. Third, look up the MAC address of in the ARP table. Fourth, encapsulate the packet into a Layer 2 frame and transmit it out the egress interface.
When a static route specifies only a next-hop IPv4 address (recursive static route), the router must first identify the static route via longest-prefix match. Next, it performs a recursive RIB lookup on the next-hop IP address to determine the exit interface. After identifying the exit interface, it performs an ARP table lookup to find the next-hop MAC address, and finally encapsulates and transmits the frame.
Adım Adım Çözüm
Anahtar Kavram
IPv4 Static Route Recursive Lookup & Forwarding Process
Tahmini Süre:1m 30s