Question 1
Topic: Networking Fundamentals
Skill tested: Applies longest-prefix matching to select a route for a destination address.
A branch router has three active routes relevant to traffic destined for 192.0.2.77: 192.0.2.0/24 via next hop A, 192.0.2.64/26 via next hop B, and 192.0.2.72/29 via next hop C. All routes are installed and usable, and no policy-based forwarding is configured. An application team reports that packets to 192.0.2.77 are reaching an unexpected subnet. Which next hop does the router select under normal longest-match forwarding?
The address 192.0.2.77 lies within all three listed prefixes, but forwarding selects the matching route with the longest prefix length. The /29 route is more specific than /26 and /24, so its next hop wins. The /24 and /26 remain valid routes for other addresses in their ranges, but they do not override a more-specific match. Ordinary longest-prefix forwarding does not load-balance across different prefix lengths merely because they all contain the destination.