CCNA Show IP Route Questions

17 of 92 questions · Page 2/2 · Show IP Route topic · Answers revealed

76
MCQhard

Refer to the exhibit. A network engineer is troubleshooting a missing route on R1. The router R3 is configured to advertise network 192.168.30.0/24 via OSPF, but the route is not present in the OSPF routing table of R1 when issuing the show ip route ospf command. What is the most likely cause?

A.R3 has not enabled OSPF on the network 192.168.30.0/24 using the network command.
B.R3 has passive-interface default configured and has not issued the no passive-interface command on the interface facing the OSPF neighbor.
C.R1 has an inbound ACL applied to GigabitEthernet0/1 that blocks OSPF multicast traffic to 224.0.0.5 and 224.0.0.6.
D.R3's OSPF router ID is duplicated with another OSPF router, causing the SPF algorithm to drop routes.
AnswerB

Passive-interface default suppresses OSPF hello packets on all interfaces unless explicitly enabled. Without hellos, an adjacency cannot form, so R1 never learns the 192.168.30.0/24 route. The exhibit shows OSPF working with another neighbor, confirming the problem is isolated to R3’s interface configuration.

Why this answer

The exhibit from R1# show ip route ospf displays OSPF routes for 192.168.10.0/24 and 192.168.20.0/24 learned via 10.1.1.2 on GigabitEthernet0/1, proving that OSPF is functioning with neighbor R2. The route 192.168.30.0/24 that R3 is supposed to advertise is missing, indicating that R1 has not formed an OSPF adjacency with R3. When 'passive-interface default' is configured, OSPF hello packets are suppressed on all interfaces unless explicitly overridden with 'no passive-interface'.

As a result, R3 does not send hellos, preventing adjacency and route advertisement. This directly explains why the exhibit lacks the 192.168.30.0/24 entry.

Exam trap

Candidates often jump to answer A, thinking that a missing route means the network command is missing under OSPF. However, the scenario explicitly states R3 is configured to advertise the network, so the real issue is an adjacency problem caused by passive-interface default, which stops hellos from being exchanged.

Why the other options are wrong

A

The question says R3 advertises the network via OSPF; a missing network command would contradict that, so the failure must be in adjacency formation.

C

The presence of other OSPF routes on the same interface disproves a blanket multicast ACL; the issue is specific to R3’s adjacency.

D

A duplicate router ID could prevent adjacency, but the scenario’s focus on passive-interface default provides a more common and direct cause for a total lack of adjacency when OSPF is correctly configured on the network.

77
MCQhard

Refer to the exhibit. An administrator is troubleshooting connectivity from a branch router R1 to the internet. A ping to 8.8.8.8 from R1 fails. The output of the show ip route command is shown. What is the most likely cause?

A.The default route is missing from the routing table.
B.The next-hop IP address for the default route is not reachable.
C.The static route has an incorrect administrative distance.
D.The ip routing process has not been enabled.
AnswerB

The default route via 203.0.113.1 is present, but the routing table contains no connected or static route to reach 203.0.113.1. Without a route to the next-hop, the default route cannot be used, causing the ping failure.

Why this answer

The routing table shows the static default route 'S* 0.0.0.0/0 [1/0] via 203.0.113.1', but there is no connected or static route to network 203.0.113.0/24 (or any subnet containing 203.0.113.1). Without a route to the next-hop, the default route is unreachable, so the router cannot forward traffic to the internet, causing ping failures.

Exam trap

Candidates often see that a default route is present and assume it is sufficient, ignoring the requirement that the next-hop address must be directly reachable via another route in the table. The trap answer would be to think the default route is missing or misconfigured, but the real issue is its next-hop unreachability.

Why the other options are wrong

A

Candidates may misinterpret a failed ping as indicating no default route exists, overlooking that the route is present but unusable.

C

Candidates may think a higher AD is blocking the route, but the AD is standard and not the issue.

D

A common troubleshooting step is to verify ip routing, but the exhibit clearly shows an active routing table.

78
PBQhard

You are connected to R1 via the console. R1 has two directly connected interfaces: G0/0 to R2 (IPv4 only) and G0/1 to a LAN switch (dual stack). Your task: configure IPv4 and IPv6 default routes on R1 pointing to R2 (next-hop 10.0.0.2 and 2001:db8:1::2). Also configure a floating static route to 192.0.2.0/24 via R2 with an administrative distance of 10 (so it is used only if the directly connected route fails). The current running-config shows an incorrect static route that causes recursive routing failure. Identify and fix the issue.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkG0/1192.168.1.1/24R2R1switchLAN

Hints

  • Check the next-hop IP in the static route to 192.0.2.0/24 — is it a directly connected neighbor?
  • For a floating static route, the administrative distance must be higher than the primary route's AD.
  • Use 'show ip route 192.0.2.0' to see if the route is flagged as 'recursive failure'.
A.Remove the incorrect static route 192.0.2.0 255.255.255.0 10.0.0.1 and add ip route 192.0.2.0 255.255.255.0 10.0.0.2 10
B.Remove the incorrect static route 192.0.2.0 255.255.255.0 10.0.0.1 and add ip route 192.0.2.0 255.255.255.0 10.0.0.2 1
C.Keep the existing static route and add ip route 192.0.2.0 255.255.255.0 10.0.0.2 10
D.Remove the incorrect static route 192.0.2.0 255.255.255.0 10.0.0.1 and add ip route 192.0.2.0 255.255.255.0 g0/0
AnswerA
solution
! R1
no ip route 192.0.2.0 255.255.255.0 10.0.0.1
ip route 192.0.2.0 255.255.255.0 10.0.0.2 10

Why this answer

The static route to 192.0.2.0/24 uses next-hop 10.0.0.1, which is R1's own interface IP, not R2's. This causes recursive routing failure because the router tries to reach itself. The correct next-hop should be 10.0.0.2 (R2's G0/0 IP).

Additionally, the floating static route must have a higher AD (10) so it is less preferred than the directly connected route (AD 0). Remove the incorrect route and add the correct floating static route with AD 10.

Exam trap

Watch out for recursive routing failures caused by using the router's own interface IP as the next-hop. Also, remember that floating static routes require a higher administrative distance than the primary route to act as a backup.

Why the other options are wrong

B

The specific factual error: The AD of a floating static route must be higher than the primary route's AD to serve as a backup. Here AD 1 is lower than 0? Actually directly connected routes have AD 0, so AD 1 is higher than 0, but the question states the floating static route should be used only if the directly connected route fails, so AD must be higher than 0. AD 1 is higher than 0, so it would still be a backup? Wait, the primary route is directly connected (AD 0).

A floating static route with AD 1 would be less preferred than AD 0, so it would only be used if the directly connected route fails. That is correct behavior. However, the question says 'with an administrative distance of 10' so AD 1 is not 10.

The error is that the AD is not 10 as specified. Also, the explanation in the stem says 'the floating static route must have a higher AD (10) so it is less preferred than the directly connected route (AD 0).' Actually AD 1 is also higher than 0, so it would also be less preferred. But the question explicitly asks for AD 10.

So the answer is wrong because it uses AD 1 instead of 10.

C

The specific factual error: The incorrect static route remains in the routing table, causing recursive routing failure. The router will still try to resolve the next-hop 10.0.0.1, which is its own interface, leading to a loop.

D

The specific factual error: The route does not have an administrative distance of 10, and using an exit interface instead of a next-hop IP is not the intended configuration. Also, the route would be installed with default AD 1, not 10.

79
PBQhard

You are connected to a multilayer switch MLS1. Configure a static default route for IPv4 that points to next-hop 192.0.2.2, but also configure a floating static default route with an administrative distance of 10 that uses next-hop 198.51.100.2. Additionally, configure a static host route for IPv6 host 2001:db8:1::10/128 via next-hop 2001:db8:1::1. The current configuration has a recursive routing failure for the IPv4 default route because the next-hop 192.0.2.2 is not reachable; you must first fix that by adding a directly connected static route. Ensure the floating route becomes active only when the primary route fails.

Network Topology
192.0.2.2/30G0/0SiMLS1R2

Hints

  • The default route fails because the next-hop is not directly connected and there is no route to reach it.
  • You need a static route to the network containing 192.0.2.2, specifying the outgoing interface.
  • Use the command 'ip route 192.0.2.0 255.255.255.252 GigabitEthernet0/0 192.0.2.2' to fix recursive routing.
A.ip route 0.0.0.0 0.0.0.0 192.0.2.2 ip route 0.0.0.0 0.0.0.0 198.51.100.2 10 ip route 192.0.2.0 255.255.255.252 GigabitEthernet0/0 192.0.2.2 ipv6 route 2001:db8:1::10/128 2001:db8:1::1
B.ip route 0.0.0.0 0.0.0.0 192.0.2.2 ip route 0.0.0.0 0.0.0.0 198.51.100.2 10 ip route 192.0.2.0 255.255.255.0 GigabitEthernet0/0 ipv6 route 2001:db8:1::10/128 2001:db8:1::1
C.ip route 0.0.0.0 0.0.0.0 192.0.2.2 ip route 0.0.0.0 0.0.0.0 198.51.100.2 10 ip route 192.0.2.2 255.255.255.255 GigabitEthernet0/0 ipv6 route 2001:db8:1::10/128 2001:db8:1::1
D.ip route 0.0.0.0 0.0.0.0 192.0.2.2 ip route 0.0.0.0 0.0.0.0 198.51.100.2 10 ip route 192.0.2.0 255.255.255.252 198.51.100.2 ipv6 route 2001:db8:1::10/128 2001:db8:1::1
AnswerA
solution
! MLS1
configure terminal
ip route 192.0.2.0 255.255.255.252 GigabitEthernet0/0 192.0.2.2

Why this answer

The IPv4 primary default route fails because next-hop 192.0.2.2 is not directly connected and no recursive route exists to it. The floating static route with next-hop 198.51.100.2 is in the directly connected Vlan20 subnet (198.51.100.1/30), so it installs without issue. To fix the primary default route, add a directly connected static route for the network containing 192.0.2.2, e.g., ip route 192.0.2.0 255.255.255.252 GigabitEthernet0/0 192.0.2.2.

The IPv6 host route is correct if next-hop 2001:db8:1::1 is reachable.

Exam trap

Be careful with recursive routing failures: a static route with a next-hop that is not directly connected requires a route to that next-hop in the routing table. Always ensure the next-hop is reachable, either by a directly connected route or another static/dynamic route. Also, remember that a floating static route uses a higher administrative distance than the primary route, so it only becomes active when the primary route is removed.

Why the other options are wrong

B

The specific factual error is using an incorrect subnet mask and omitting the next-hop IP in the directly connected static route. The mask should match the point-to-point link (typically /30 or /31), and the next-hop must be specified to ensure the route is directly connected.

C

The specific factual error is using a /32 mask instead of the subnet mask of the link. A /32 route to the next-hop IP is a valid workaround but is not the standard practice; the question expects a directly connected route to the network containing the next-hop, not a host route.

D

The specific factual error is using the floating route's next-hop as the next-hop for the directly connected route. The directly connected route must be to the network containing 192.0.2.2, not to the backup next-hop.

80
MCQhard

A router has the following routes in its routing table: a static route to 10.60.4.16/28, an OSPF route to 10.60.4.0/24, and an EIGRP route to 10.60.0.0/16. Which route will be used for a packet destined to 10.60.4.17?

A.The static route to 10.60.4.16/28
B.The OSPF route to 10.60.4.0/24
C.The EIGRP route to 10.60.0.0/16
D.No route at all
AnswerA

This is correct because the destination falls inside the more specific /28 prefix.

Why this answer

The route used will be the route with the longest matching prefix. In practical terms, 10.60.4.17 falls inside the /28 route shown, and that is more specific than the broader /24 and /16 alternatives. Because specificity comes first, the /28 route wins.

This is a clean route-table interpretation problem that mirrors actual exam-style thinking very closely.

Exam trap

Remember, the longest prefix match rule is crucial; don't assume broader prefixes are better.

Why the other options are wrong

B

This option is wrong because the OSPF route to 10.60.4.0/24 does not directly match the destination 10.60.4.17, which falls under the static route to 10.60.4.16/28. OSPF would not be preferred if a more specific static route exists.

C

The EIGRP route to 10.60.0.0/16 is not used for the destination 10.60.4.17 because it does not match the more specific subnet of 10.60.4.16/28, which is preferred in routing decisions.

D

This option is wrong because there is a valid static route to the destination 10.60.4.17 via the static route to 10.60.4.16/28, making it reachable. Therefore, stating 'no route at all' is incorrect in this context.

81
PBQhard

You are connected to R1. Configure IPv4 and IPv6 static routes, default routes, and floating static routes so that R1 can reach the Internet via R2 (IPv4 and IPv6). The primary route to the Internet should use next-hop 203.0.113.2 (IPv4) and 2001:db8:203:0:113::2 (IPv6). A backup floating static route with administrative distance 200 must exist for IPv4 only, using next-hop 198.51.100.2. Ensure the default routes are correctly configured and troubleshoot any recursive routing failure. Note: R1 currently has an incorrect IPv6 default route pointing to 2001:db8:198:51:100::2 that must be removed.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkG0/1198.51.100.1/30G0/1198.51.100.2/30linkG0/2203.0.113.1/30G0/2203.0.113.2/30linkR1R2R3R4

Hints

  • The IPv4 primary default route is missing; only the floating route exists.
  • The IPv6 default route points to the wrong next-hop (should be via 2001:db8:203:0:113::2).
  • Floating static route AD must be higher than the primary route's AD to act as backup.
A.Remove the incorrect IPv6 default route: no ipv6 route ::/0 2001:db8:198:51:100::2; configure the primary default route: ip route 0.0.0.0 0.0.0.0 203.0.113.2; the floating route is already configured with AD 200; add IPv6 default route: ipv6 route ::/0 2001:db8:203:0:113::2
B.Configure the primary default route: ip route 0.0.0.0 0.0.0.0 203.0.113.2; change the floating route AD to 1; add IPv6 default route: ipv6 route ::/0 2001:db8:203:0:113::2
C.Configure the primary default route: ip route 0.0.0.0 0.0.0.0 203.0.113.2 200; the floating route is already configured with AD 200; add IPv6 default route: ipv6 route ::/0 2001:db8:203:0:113::2
D.Configure the primary default route: ip route 0.0.0.0 0.0.0.0 203.0.113.2; the floating route is already configured with AD 200; no IPv6 route is needed because IPv6 is not required.
AnswerA
solution
! R1
ip route 0.0.0.0 0.0.0.0 203.0.113.2
ip route 0.0.0.0 0.0.0.0 198.51.100.2 200
no ipv6 route ::/0 2001:db8:198:51:100::2
ipv6 route ::/0 2001:db8:203:0:113::2

Why this answer

The IPv4 floating route is already correctly pre-configured with AD 200 to serve as a backup. To meet the requirements, you must add the primary IPv4 default route with default AD 1, remove the existing incorrect IPv6 default route, and add the correct IPv6 default route. Option A correctly identifies these steps, while other options either omit the removal, assign a wrong AD to the primary route, or neglect IPv6 entirely.

Exam trap

The trap is that candidates may think the floating route needs to be modified or that the primary route should also have a high AD. Remember: a floating static route must have a higher AD than the primary route to act as a backup. Also, do not forget IPv6 if the question specifies it.

Why the other options are wrong

B

Setting the floating route AD to 1 makes it equal to the primary route's AD, defeating the purpose of a floating static route.

C

The primary route must have a lower AD than the floating route to be preferred. Setting it to 200 makes it equal to the backup, causing ambiguity.

D

The question states 'IPv4 and IPv6 static routes, default routes' and specifies an IPv6 next-hop. Ignoring IPv6 is a direct violation of the requirements.

82
MCQhard

After configuring a static discard route with the command 'ip route 0.0.0.0 0.0.0.0 Null0 254' on R1, a network engineer finds that traffic to destinations that are not in the routing table is still being forwarded out to the ISP instead of being dropped. What is the most likely cause?

A.The Null0 interface is administratively shut down.
B.The address 0.0.0.0/0 is an invalid destination for a static route because it is not a real network.
C.The static discard route must include a next-hop IP address instead of specifying Null0 as the interface.
D.The ISP static default route has an administrative distance of 1, which is lower than the administrative distance of 254 set for the Null0 route.
AnswerD

When a router has multiple routes for the same 0.0.0.0/0 prefix, it selects the one with the lowest administrative distance. The ISP route with AD 1 wins, so traffic never matches the AD 254 Null0 discard route.

Why this answer

The static default route via the ISP has an administrative distance of 1 (either explicitly configured or inherited as a static route), which is lower than the Null0 route's AD of 254. Because the router always prefers the route with the lowest administrative distance for the same destination, the ISP route is installed in the forwarding table, and the discard route is never used. For the discard route to be selected, its AD would need to be less than or equal to the ISP route's AD, or the ISP route must be removed.

Exam trap

Many candidates think the Null0 interface must be ‘up/up’ for the route to work and mistakenly assume it is down, but Null0 is a virtual interface that is always up. The real issue is the administrative distance preference.

Why the other options are wrong

A

Candidates often assume that a route pointing to an interface requires that interface to be up, but Null0 is always available.

B

A misconception that the default route is special and cannot be used with Null0, but any valid IP prefix can be directed to Null0 to create a discard route.

C

Confusing Null0 routes with Ethernet interface routes, which require a next hop, leads to the incorrect belief that a next hop is mandatory for all static routes.

83
PBQhard

You are troubleshooting a network connectivity issue on R1. The network 192.168.10.0/24 behind R2 must be reachable from R1 via the primary path through R2 (192.0.2.2). A backup path via R3 (198.51.100.2) should automatically take over if the primary fails. Currently, traffic to 192.168.10.0/24 is incorrectly using the backup path even though the primary path is operational. Analyze the routing table and configuration, then fix the issue so that the primary path is preferred when available.

Network Topology
G0/0192.0.2.1/30G0/0192.0.2.2/30linkG0/1198.51.100.1/30G0/0198.51.100.2/30linkR1R2R3

Hints

  • Compare the Administrative Distance values in the routing table for the two paths.
  • The default AD for a static route is 1; a floating static uses a higher AD.
  • You need to swap the AD values between the primary and backup routes.
A.Remove the static route to 192.168.10.0/24 via 198.51.100.2 and add a floating static route via 198.51.100.2 with AD 200. Ensure the primary route via 192.0.2.2 uses default AD 1.
B.Change the AD of the static route via 192.0.2.2 to 200 and the AD of the route via 198.51.100.2 to 1.
C.Add a static route to 192.168.10.0/24 via 192.0.2.2 with AD 1 and remove the existing route via 198.51.100.2.
D.Configure a policy-based route to prefer the next-hop 192.0.2.2 for traffic to 192.168.10.0/24.
AnswerA
solution
! R1
no ip route 192.168.10.0 255.255.255.0 198.51.100.2
no ip route 192.168.10.0 255.255.255.0 192.0.2.2 200
ip route 192.168.10.0 255.255.255.0 192.0.2.2
ip route 192.168.10.0 255.255.255.0 198.51.100.2 200

Why this answer

The routing table shows a static route to 192.168.10.0/24 via 198.51.100.2 with Administrative Distance (AD) 1, which is the default for static routes. The intended primary path via 192.0.2.2 was configured with AD 200 (floating static), but because the default AD (1) is lower than 200, the backup route is preferred. The fix is to reconfigure the primary path with the default AD (1) and the backup path with a higher AD (e.g., 200).

This ensures the primary path is used when available and the backup takes over only if the primary fails.

Exam trap

The trap is confusing which route is primary and which is backup. The route with lower AD is preferred, so the backup must have a higher AD. Candidates often misconfigure the AD values, setting the primary with a higher AD.

Why the other options are wrong

B

Swapping the ADs would keep the backup route preferred, failing to make the primary path active when available.

84
MCQhard

A router has a static route to 10.30.5.128/25, an OSPF route to 10.30.5.0/24, and a default route 0.0.0.0/0 in its routing table. Which route will the router use for destination 10.30.5.130?

A.The static route to 10.30.5.128/25
B.The OSPF route to 10.30.5.0/24
D.No route, because the destination is outside all prefixes shown.
AnswerA

This is correct because 10.30.5.130 falls inside the more specific /25 route.

Why this answer

The router selects the route with the longest prefix match between the destination IP and the prefixes in the routing table. 10.30.5.130 matches both 10.30.5.0/24 (prefix length 24) and 10.30.5.128/25 (prefix length 25); the /25 is more specific and wins. Option D is wrong because 10.30.5.130 falls within the subnet range of 10.30.5.128/25 (hosts .129–.254), so a valid route does exist.

Exam trap

Always prioritize the longest prefix match over broader subnets or default routes.

Why the other options are wrong

B

The OSPF route to 10.30.5.0/24 is less specific than the /25 static route, so the router prefers the longest mask.

C

The default route (0.0.0.0/0) has the shortest prefix length and would be used only if no other route matches.

D

10.30.5.130 is inside the 10.30.5.128/25 subnet range, meaning a route exists for this destination.

85
MCQhard

A static default route is configured with an administrative distance of 250. What is the most likely design intention?

A.To keep the route as a backup of last resort behind normal learned routes
B.To make the route override all dynamic routing immediately
C.To disable default routing entirely
D.To convert the default route into a host route
AnswerA

This is correct because a very high administrative distance makes the static route float behind preferred sources.

Why this answer

The design intention is to make the static default route a very low-priority backup path. In plain language, the administrator wants the route to exist only as a last resort behind almost any normal learned path. By assigning such a high administrative distance, the route stays out of the active table unless better routes disappear.

This is a floating-static design concept. The route is not meant to be primary. It is intentionally configured to sit in reserve and become relevant only during failure conditions or severe loss of normal routing information.

Exam trap

A common exam trap is assuming that increasing the administrative distance disables the static route or forces it to override dynamic routes. In reality, a higher AD causes the static route to be less preferred, effectively floating it behind all other routes. Candidates might confuse the AD value with route priority or think that setting it to 250 disables the route, but the route remains active and is used only as a last resort.

Misinterpreting this can lead to incorrect answers about route behavior and fail to recognize the floating static route design pattern.

Why the other options are wrong

B

Incorrect. A high administrative distance does not make a route override dynamic routes; it makes the route less preferred. Therefore, the static route will not immediately override dynamic routes.

C

Incorrect. Assigning a high administrative distance does not disable the route; it remains configured and available as a backup. The route is not conceptually disabled but deprioritized.

D

Incorrect. Administrative distance affects route preference, not the route prefix or mask. Changing AD does not convert a default route into a host route.

86
MCQmedium

Exhibit: R1 has learned 10.50.0.0/24 through OSPF and also has a floating static route to the same prefix with administrative distance 130. Which route is installed while OSPF is healthy?

A.The static route because static routes always win over dynamic routes
B.The OSPF route because its administrative distance is lower than the floating static route
C.Both routes because the prefix length matches
D.Neither route until equal-cost load balancing is configured
AnswerB

OSPF AD 110 beats the floating static AD 130.

Why this answer

A floating static route is meant to stay out of the table until the preferred route disappears. OSPF has administrative distance 110, which is lower than the static route AD 130, so the OSPF route is installed while the OSPF path is still present.

Exam trap

Remember that administrative distance determines route preference. A lower value means higher preference.

Why the other options are wrong

A

This option is incorrect because static routes do not always win over dynamic routes; the route with the lowest administrative distance is preferred. In this case, OSPF has a lower administrative distance (110) than the floating static route (130).

C

This option is incorrect because only one route can be installed in the routing table for a specific prefix, and in this case, OSPF has a lower administrative distance than the floating static route, so only the OSPF route will be installed.

D

This option is incorrect because OSPF is healthy and has a lower administrative distance than the floating static route, meaning the OSPF route will be preferred and installed in the routing table.

87
MCQhard

A packet is destined for 192.168.40.130. The routing table contains 192.168.40.0/24, 192.168.40.128/25, and 0.0.0.0/0. Which route is used?

A.192.168.40.0/24
B.192.168.40.128/25
C.0.0.0.0/0
D.No route can be used because the entries overlap
AnswerB

This is correct because 192.168.40.130 falls within that more specific range.

Why this answer

The /25 route is used because it is the most specific matching prefix. In plain language, even though the /24 and the default route also technically match, the router prefers the entry that most precisely describes the destination range. Since 192.168.40.130 falls inside 192.168.40.128/25, that route wins under longest-prefix match.

This is a classic routing-table interpretation pattern. The router does not start with the default route when more specific routes exist, and it does not choose the /24 simply because it is familiar. Specificity comes first.

Exam trap

A common exam trap is assuming that the default route or a larger subnet like /24 will be chosen over a more specific subnet like /25. Candidates may incorrectly think the default route is preferred or that overlapping routes cause ambiguity. However, routers always use the longest prefix match rule, which means the route with the most specific subnet mask that includes the destination IP is selected.

Misunderstanding subnet mask lengths or ignoring longest prefix match leads to wrong answers in routing questions.

Why the other options are wrong

A

192.168.40.0/24 is a valid route but less specific than 192.168.40.128/25. Since the destination IP falls within both, the router prefers the more specific /25 route, so this option is incorrect.

C

0.0.0.0/0 is the default route and only used when no other route matches. Since more specific routes exist for the destination IP, this option is incorrect.

D

Overlapping routes like /24 and /25 are common and resolved by longest prefix match. The presence of overlapping entries does not prevent route selection, so this option is incorrect.

88
MCQhard

Refer to the exhibit. A network engineer is verifying OSPF routing on R1. All routers in the topology are expected to reside in OSPF area 0, and the network 172.16.0.0/16 should be advertised from R2 within the same area. The engineer issues the show ip route 172.16.0.0 command on R1 and sees the output in the exhibit. The engineer expected to see an intra-area route (O) instead of an inter-area route (O IA). What is the most likely cause of this discrepancy?

A.R1 has a mismatched OSPF process ID compared to the ABR.
B.The network type on GigabitEthernet0/0 is configured as non-broadcast, preventing full adjacency.
C.The metric for the route is too high, causing OSPF to treat it as an inter-area route.
D.The destination network 172.16.0.0/16 is located in a different OSPF area.
AnswerD

The routing table entry shows 'type inter area'. This indicates the prefix is being learned via an OSPF Type-3 summary LSA, which is only generated when the network is in a different area than the local router. Therefore, the network is indeed in a different area, contradicting the assumption that R1 and the destination are both in area 0.

Why this answer

The exhibit explicitly lists the route type as 'inter area' for 172.16.0.0/16. In OSPF, an inter-area (IA) route means the destination network resides in a different OSPF area than the local router. Since all routers are expected to be in area 0, the presence of an IA route indicates the 172.16.0.0/16 network is actually located in a different area, causing the ABR to generate a Type-3 summary LSA.

Exam trap

Many candidates incorrectly choose option C, believing that a high OSPF metric can change the route type from intra-area to inter-area. OSPF route types are determined solely by the LSA type and area topology, not by the metric value.

Why the other options are wrong

A

Candidates mistakenly assume that OSPF process IDs must match globally for proper LSA exchange, but they are only locally significant.

B

Candidates may think that the network type influences the OSPF LSA type, but it only affects neighbor discovery and DR/BDR election, not the area origin of LSAs.

C

Candidates sometimes confuse the metric influence with the route type, thinking that OSPF converts routes when the cost exceeds a threshold.

89
PBQmedium

You are connected to R1 via console. R1 has two upstream paths to the Internet: a primary via ISP1 (G0/0 10.1.1.1/30) and a backup via ISP2 (G0/1 10.2.2.1/30). The backup path should only be used when the primary fails. The default route to ISP1 has been configured, but you must now configure a floating static default route to ISP2 with an administrative distance of 200.

Network Topology
G0/010.1.1.1/30G0/110.2.2.1/30R1ISP1ISP2

Hints

  • Floating static routes use a higher administrative distance to serve as backups.
  • The AD of a static route defaults to 1; to make it floating, set it higher than the primary route's AD.
  • The command format is 'ip route [network] [mask] [next-hop] [distance]'.
A.ip route 0.0.0.0 0.0.0.0 10.2.2.2 200
B.ip route 0.0.0.0 0.0.0.0 10.2.2.1 2
C.ip route 0.0.0.0 0.0.0.0 10.2.2.1 1
D.ip route 0.0.0.0 0.0.0.0 10.2.2.1 250
AnswerA
solution
! R1
ip route 0.0.0.0 0.0.0.0 10.2.2.2 200

Why this answer

A floating static route ensures backup connectivity by using an administrative distance (AD) higher than the primary route's AD. Here, the primary default route has an AD of 1, so the backup must be configured with AD 200 as specified. Crucially, the next-hop address must be the ISP's IP address (10.2.2.2) in the /30 subnet, not R1's own interface IP (10.2.2.1).

Using the local interface IP creates an invalid static route. Option A is correct only with the next-hop set to 10.2.2.2. Options B and C fail because they use AD 2 and 1 respectively (not the required 200) and also point to the wrong next-hop.

Option D uses AD 250 instead of 200 and has the same next-hop error.

Exam trap

The key trap is confusing administrative distance values. Candidates often forget that the backup route must have a higher AD than the primary. They might use the same AD (causing ECMP) or a lower AD (making it preferred).

Also, they might misremember the exact AD value specified in the question. Always ensure the floating static route's AD is explicitly set higher than the primary route's AD.

Why the other options are wrong

B

Uses AD 2 instead of the specified AD 200 and a wrong next-hop of 10.2.2.1.

C

Uses AD 1 (equal to the primary route's AD), preventing failover, and a wrong next-hop of 10.2.2.1.

D

Uses AD 250 instead of the required AD 200 as specified in the question, and still uses the wrong next-hop.

90
Drag & Dropmedium

Drag and drop the following steps into the correct order to describe the routing table lookup process when a router receives a packet destined for 192.168.1.100, from destination IP match to forwarding decision.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The routing table lookup process begins with matching the destination IP, then longest prefix match, determining next-hop, resolving Layer 2 address, and finally forwarding the packet.

Exam trap

Do not confuse the order of operations: the longest prefix match occurs after matching the destination IP to the routing table, not before. Also, Layer 2 resolution comes after next-hop determination.

91
MCQhard

A router has a static route configured: ip route 10.200.0.0 255.255.0.0 GigabitEthernet0/1. The output of show ip interface brief shows that interface GigabitEthernet0/1 is administratively down. Why is the route to 10.200.0.0/16 present in the running configuration but absent from the routing table?

A.Because the route points to an interface that is administratively down.
B.Because static routes cannot reference exit interfaces.
C.Because the destination must be a /24, not a /16.
D.Because static routes require NTP before installation.
AnswerA

This is correct because a route using an unusable exit path will not provide operational forwarding.

Why this answer

The static route is absent because the outgoing interface is down. In practical terms, when a static route depends on an interface that is not operational, the router cannot use that path, so the route is not installed as usable forwarding state. The configuration line alone is not enough; the forwarding path also has to be viable.

This is a realistic static-route troubleshooting pattern because it distinguishes between configured intent and operational state.

Exam trap

A frequent exam trap is to confuse the presence of a static route in the configuration with its presence in the routing table. Candidates often overlook the fact that a static route pointing to an administratively down interface will not be installed, leading to the mistaken belief that the route is missing due to mask length or protocol requirements. Another trap is assuming static routes cannot use exit interfaces or require time synchronization, which is false.

This question tests the candidate's understanding of the difference between configured routes and operationally valid routes, focusing on interface state as the critical factor for route installation.

Why the other options are wrong

B

Incorrect because static routes can reference exit interfaces directly; Cisco routers support static routes with either next-hop IP addresses or exit interfaces.

C

Incorrect because the subnet mask length (such as /16 vs /24) does not prevent a static route from being installed; the issue is the interface state, not the mask.

D

Incorrect because static routes do not depend on NTP or time synchronization for installation; this is unrelated to static routing behavior.

92
Multi-Selectmedium

Which TWO statements about interpreting routing table output are true? (Choose two.)

Select 2 answers
A.A route with a longer prefix length is always preferred over a route with a shorter prefix length, regardless of administrative distance.
B.A directly connected route has an administrative distance of 0 and is always preferred over any dynamic route for the same network.
C.If two routes have the same prefix length, the route with the higher administrative distance is preferred.
D.The metric is used to compare routes from different routing protocols.
E.A static route configured with an administrative distance of 200 will be preferred over an OSPF route with AD 110 for the same network.
AnswersA, B

The longest-prefix match rule ensures the most specific route is used first, even if another route has a lower AD.

Why this answer

Longest-prefix match always wins regardless of AD or route source (A correct), and directly connected routes have AD 0 (B correct). C is incorrect because among equal prefix lengths, lower AD wins. D is wrong because metric only compares same-protocol routes, while AD compares across protocols.

E fails because a higher AD (200) is less preferred than OSPF's 110.

Exam trap

Cisco often tests the misconception that administrative distance is the primary tie-breaker, but the trap here is that the longest prefix match rule always takes precedence, even over a directly connected route with AD 0.

Why the other options are wrong

C

A lower AD indicates a more trustworthy source, so the route with the lower AD is preferred, not the higher one.

D

Metrics are only comparable within the same routing protocol (e.g., OSPF cost vs. EIGRP composite metric). For different protocols, AD is used to select the best route.

E

A lower AD is preferred; OSPF AD 110 is lower than 200, so the OSPF route would be chosen.

← PreviousPage 2 of 2 · 92 questions total

Ready to test yourself?

Try a timed practice session using only Show IP Route questions.