Soru

Zorluk: OrtaRouting Concepts and Dynamic Routing Protocols

A Layer 3 router receives an IP packet and has multiple matching entries in its routing table for the destination address. Arrange the steps of the router's path selection process in the correct order from first to last.

  1. 1Filter candidate routes to identify the entries with the longest prefix match for the destination IP address.
  2. 2Compare the administrative distance among candidate routes with identical prefix lengths to select the most trustworthy route source.
  3. 3Compare protocol-specific metric values among candidate routes that share equal administrative distance.
  4. 4Install the optimal path into the active routing table for packet forwarding.

Cevap

The correct order of steps for the router path selection process is: 1) Filter candidate routes by evaluating the longest prefix match for the destination IP address, 2) Compare the administrative distance among routes with identical prefix lengths, 3) Compare protocol-specific metric values among routes with equal administrative distance, and 4) Install the optimal path into the active routing table for packet forwarding.
When an IP packet arrives, the router first identifies routes with the longest prefix match. If multiple routes share the exact same prefix length, the router compares their administrative distance to determine which protocol source is most believable. If routes share both equal prefix lengths and equal administrative distance (coming from the same protocol), the router compares protocol metrics to find the path with the lowest cost. Finally, the selected route is installed into the active forwarding table.

Adım Adım Çözüm

1
Evaluate subnet mask specificity
Candidate routes are narrowed down to those matching the highest number of continuous network bits.
Longest prefix match takes precedence over all other criteria, including administrative distance.
2
Evaluate route source trustworthiness
The route originating from the source with the lower administrative distance value is preferred.
Administrative distance distinguishes between different protocol sources (e.g., EIGRP vs OSPF) when prefix specificity is equal.
3
Evaluate intra-protocol path cost
The path with the lowest metric value (e.g., OSPF cost) is selected.
Metrics are only directly comparable when candidate routes originate from the same routing protocol.
4
Commit route selection
The winning route entry is placed in the active Routing Information Base (RIB) / Forwarding Information Base (FIB).
Only the single best route (or tied equal-cost paths for load balancing) is actively used to forward traffic.

Anahtar Kavram

Router Path Selection Hierarchy (Longest Prefix Match -> Administrative Distance -> Protocol Metric)
Bu soruyu puanla