CCNA 200-301 · IP Connectivity · hard
A Cisco router receives a packet destined for IPv4 address 10.16.1.50. The router has the following four routes in its routing Information sources: 1. OSPF (AD 110): 10.16.0.0/16 via 192.168.1.1 2. EIGRP (AD 90): 10.16.0.0/20 via 192.168.1.2 3. RIP (AD 120): 10.16.1.0/26 via 192.168.1.3 4. Static (AD 1): 10.16.1.0/24 via 192.168.1.4 Which next-hop IP address will the router use to forward the packet to 10.16.1.50?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: C. 192.168.1.3 because 10.16.1.0/26 is the longest matching prefix
First, verify which prefixes match 10.16.1.50: /16 (10.16.0.0–10.16.255.255), /20 (10.16.0.0–10.16.15.255), /24 (10.16.1.0–10.16.1.255), and /26 (10.16.1.0–10.16.1.63) all contain 10.16.1.50. Routers always evaluate Longest Prefix Match (LPM) before Administrative Distance. Because 10.16.1.0/26 is the longest matching prefix (/26 > /24 > /20 > /16), the packet is forwarded via 192.168.1.3 regardless of RIP's higher AD (120).
Why the other options are wrong
- A. 192.168.1.4 because the Static route has the lowest AD (1) — Administrative Distance only breaks ties between routes with the exact same prefix length; /26 is more specific than /24.
- B. 192.168.1.2 because EIGRP (AD 90) beats OSPF (AD 110) — The /20 prefix is shorter than both /24 and /26, so Longest Prefix Match selects /26.
- D. 192.168.1.1 because OSPF link-state metrics take priority — The /16 prefix is the least specific match of the four routes.
More IP Connectivity questions
- Two core routers (R1 and R2) are configured in HSRP (Hot Standby Router Protocol) Group 10 on VLAN 10 (10.10.10.0/24)…
- An enterprise branch router learns its primary route to the headquarters subnet 10.0.0.0/16 via OSPF (Gig0/0). The…
- Two routers (R1 and R2) are connected over a shared GigabitEthernet broadcast segment (10.1.12.0/24) running OSPFv2…
- In an enterprise network, the OSPF auto-cost reference-bandwidth has been increased on all routers to 10000 (10,000…
- An OSPF router is booted with no manual router-id command configured under router ospf 1. Its active IPv4 interfaces…
Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.