A Cisco router receives an IPv4 unicast packet destined for . The router's Routing Information Base (RIB) and Forwarding Information Base (FIB) contain multiple overlapping routes, static entries, and dynamic routing protocol paths. In what exact sequence does the router evaluate routing parameters and process the packet from ingress lookup to physical egress forwarding? Arrange the steps in the correct chronological order from first to last.
- 1Evaluate all candidate routes in the routing table to identify the entry with the longest subnet mask (Longest Prefix Match) matching the destination IP address.
- 2Compare Administrative Distance (AD) values among candidate routes sharing the exact same longest prefix length to select the most believable route source.
- 3Evaluate protocol-specific metrics (cost/distance) to break ties between candidate routes learned from the same routing protocol for the identical prefix length.
- 4Query the ARP cache or NDP table to resolve the Layer 2 hardware address (MAC) associated with the chosen next-hop IP address.
- 5Encapsulate the packet in a new Layer 2 frame header with updated MAC addresses, decrement the IPv4 Time to Live (TTL) by , recalculate the IP header checksum, and transmit out the egress interface.
Cevap
The correct evaluation sequence for router forwarding decision logic is: 1) Longest Prefix Match evaluation, 2) Administrative Distance tie-breaking for identical prefixes across different protocols, 3) Metric tie-breaking for identical prefixes within the same protocol, 4) ARP lookup for next-hop MAC address resolution, and 5) Layer 2 encapsulation rewrite, TTL decrement, checksum update, and frame transmission.
The router forwarding process follows a strict hierarchy: Longest Prefix Match (LPM) is evaluated first across all routes in the routing table. If multiple routes from different protocol sources share the exact same prefix length, Administrative Distance (AD) breaks the tie. If multiple routes from the same protocol share the exact same prefix length, protocol metric breaks the tie. Once the best route and next-hop are chosen, the router resolves the next-hop MAC via ARP/NDP, updates IP header fields (TTL decrement by 1 and checksum update), rewrites the Layer 2 header, and transmits the frame out the egress interface.
Adım Adım Çözüm
Anahtar Kavram
Router Forwarding Decision Logic and Longest Prefix Match Hierarchical Precedence