A Cisco router receives an IP packet and initiates a route lookup process to select the optimal path. Arrange the router forwarding decision logic steps in the correct sequential order from first to last.
- 1Identify all routing table entries whose network prefix and subnet mask match the packet's destination IP address.
- 2Select the candidate route with the longest prefix match (the most specific subnet mask / longest subnet mask length).
- 3If multiple candidate routes have identical prefix lengths from different routing sources, select the route with the lowest Administrative Distance.
- 4If candidate routes have identical prefix lengths and originate from the same routing protocol, select the route with the lowest Metric.
- 5Determine the next-hop IP address or exit interface and forward the packet.
Cevap
The correct sequence for router forwarding decision logic is: 1) Identify matching routing table entries, 2) Select the route with the Longest Prefix Match, 3) Break ties using Administrative Distance for different sources, 4) Break ties using Metric for identical sources, and 5) Forward the packet using the selected next-hop/exit interface.
The router forwarding process strictly follows a hierarchical evaluation sequence: First, the router checks for matching network entries in the routing table. Second, if multiple matching routes exist, it selects the route with the Longest Prefix Match (LPM), which represents the most specific path. Third, if multiple routes have the exact same prefix length but come from different sources, the router uses Administrative Distance (AD) to select the most reliable source. Fourth, if the prefix length and routing source are the same, the router uses the protocol's Metric to choose the optimal path. Finally, the packet is forwarded out the resulting egress interface to the next-hop IP.
Adım Adım Çözüm
Anahtar Kavram
Cisco Router Forwarding Decision Hierarchy (LPM -> AD -> Metric)