A Layer 3 core router receives an IP packet addressed to a remote destination host. Place the sequential evaluation and forwarding steps the router performs in the correct order from FIRST to LAST.
- 1Filter candidate routes in the Routing Information Base (RIB) to identify entries with the longest matching subnet mask (Longest Prefix Match).
- 2Compare the Administrative Distance (AD) among candidate routes that share the exact same longest prefix length to select the preferred routing source.
- 3Evaluate the routing metric among candidate routes from the same protocol sharing the same prefix length and AD to select the lowest-cost path.
- 4Install the winning route into the Forwarding Information Base (FIB) to map the destination prefix to an egress interface and next-hop IP address.
- 5Perform ARP/NDP lookup for the next-hop IP address, encapsulate the packet into a Layer 2 frame, and transmit it out the egress interface.
Cevap
The correct sequence for route evaluation and packet forwarding is: 1) Filter candidate routes by Longest Prefix Match (LPM), 2) Compare Administrative Distance (AD) for identical prefix lengths, 3) Evaluate internal routing metrics for tied protocols, 4) Install the optimal route into the Forwarding Information Base (FIB), and 5) Perform Layer 2 ARP resolution and frame encapsulation for transmission.
When a router processes a destination IP address, it follows a strict hierarchical order. First, it applies the Longest Prefix Match (LPM) rule, identifying routes with the most specific subnet mask. Next, if multiple candidate routes share the exact same prefix mask, it evaluates Administrative Distance (AD) to select the route from the most trustworthy routing source. If the tied candidate routes originate from the same routing protocol (having identical AD), the router compares their internal protocol metrics to select the path with the lowest cost. Once the best path is chosen, it is installed into the Forwarding Information Base (FIB) to map the next-hop IP and outbound interface. Finally, the router uses ARP or Neighbor Discovery to resolve the next-hop MAC address, rewrites the Layer 2 Ethernet frame header, and transmits the frame.
Adım Adım Çözüm
Anahtar Kavram
Routing Decision Hierarchy and Forwarding Pipeline