Courseiva

CCNA Show IP Route Questions

75 of 78 questions · Page 1/2 · Show IP Route topic · Answers revealed

1
PBQhard

You are connected to R1 via console. R1 and R2 are directly connected via their GigabitEthernet0/0 interfaces. Configure OSPFv3 for IPv6 on both routers so that the loopback0 interface on R2 (with IPv6 address 2001:db8:acad:2::1/64) is reachable from R1. Enable IPv6 unicast routing, enable OSPFv3 on the appropriate interfaces, and verify the neighbor adjacency and routing table. (Note: R2 already has OSPFv3 configured and is waiting for R1 to complete its configuration.)

Hints

  • OSPFv3 uses a separate process from OSPFv2; you must create the OSPFv3 process with 'ipv6 router ospf <process-id>'.
  • The router-id must be configured manually (e.g., 1.1.1.1) because there are no IPv4 addresses on R1.
  • OSPFv3 is enabled on an interface using 'ipv6 ospf <process-id> area <area-id>'.
A.Enable IPv6 unicast routing, configure OSPFv3 process with router-id, enable OSPFv3 on GigabitEthernet0/0 in area 0, and verify neighbor and route.
B.Enable IPv6 unicast routing, configure OSPFv2 process with router-id, enable OSPFv2 on GigabitEthernet0/0 in area 0, and verify neighbor and route.
C.Enable IPv6 unicast routing, configure OSPFv3 process without a router-id, enable OSPFv3 on GigabitEthernet0/0 in area 0, and verify neighbor and route.
D.Enable IPv6 unicast routing, configure OSPFv3 process with router-id, enable OSPFv3 on GigabitEthernet0/0 in area 0, but do not verify neighbor or route.
AnswerA
solution
! R1
ipv6 unicast-routing
ipv6 router ospf 1
router-id 1.1.1.1
exit
interface gigabitethernet0/0
ipv6 ospf 1 area 0
end

Why this answer

The issue is that OSPFv3 process is not enabled on R1. To fix, first ensure IPv6 unicast routing is enabled (already done). Then configure OSPFv3 routing process with a process ID (e.g., 1) and router-id using the `ipv6 router ospf 1` command and `router-id` command.

Then enable OSPFv3 on the GigabitEthernet0/0 interface with `ipv6 ospf 1 area 0`. Finally, verify with `show ospfv3 neighbor` to see R2's router ID (e.g., 2.2.2.2) and `show ipv6 route ospf` to see the route to 2001:db8:acad:2::/64.

Exam trap

A common trap is confusing OSPFv2 and OSPFv3. Remember that OSPFv3 is for IPv6 and requires a router-id. Also, do not skip verification steps; they are often required in exam scenarios.

Why the other options are wrong

B

OSPFv2 supports only IPv4; OSPFv3 is required for IPv6 routing.

C

OSPFv3 uses a 32-bit router-id, which must be manually configured or derived from an IPv4 address; without it, the process cannot operate.

D

Verification commands like 'show ospfv3 neighbor' and 'show ipv6 route ospf' are necessary to ensure OSPFv3 is functioning correctly.

2
Multi-Selecthard

A router has learned route 172.16.50.0/24 from OSPF with cost 20 and also has a static route to the same prefix with administrative distance 5. Which two statements are correct about route selection?

Select 2 answers
A.The static route is installed because it has the lower administrative distance
B.The OSPF route is installed because cost 20 is lower than metric 0
C.If the static route is removed, OSPF can become the active route
D.Both routes are installed as equal-cost paths automatically
AnswersA, C

The router selects routes based on administrative distance (AD) when multiple sources provide paths to the same prefix. The static route in this scenario has an explicitly configured AD of 5. This value is lower than OSPF's default administrative distance of 110. Therefore, the static route is installed into the routing table, as it satisfies the crucial criterion of having the lowest administrative distance for the 172.16.50.0/24 network.

Why this answer

When the same prefix is learned from different routing sources, the router first compares administrative distance (AD). The static route with AD 5 wins over OSPF with AD 110, so option A is correct. Option C is correct because if the static route is removed, the OSPF route becomes the next best candidate and is installed.

Option B is wrong since AD is compared before metrics like OSPF cost; a lower cost does not override a lower AD. Option D is wrong because only one route is installed per destination based on AD, not both.

Exam trap

A common exam trap is to incorrectly assume that the OSPF route with a lower cost metric will be preferred over a static route. Many candidates mistakenly compare OSPF cost directly against the static route’s metric or ignore administrative distance entirely. This leads to the wrong conclusion that OSPF wins because 20 is less than 0 or some assumed static metric.

However, Cisco routers always compare administrative distance first when routes come from different sources. Ignoring this rule causes confusion and incorrect answers in routing questions involving multiple protocols.

Why the other options are wrong

B

Option B is incorrect because metrics like OSPF cost are only compared among routes from the same protocol; the router does not compare OSPF cost against static route administrative distance.

D

Option D is incorrect because routes from different sources with different administrative distances do not qualify for equal-cost multipath (ECMP), so both routes are not installed simultaneously.

3
MCQhard

A route to 192.168.1.0/24 appears in the routing table from OSPF, but a more specific static route to 192.168.1.128/25 is also configured. Which route is used for traffic to 192.168.1.200?

A.The OSPF /24 route
B.The static /25 route
C.Both routes automatically load-balance
D.Neither route because the network overlaps
AnswerB

The destination 192.168.1.200 falls within 192.168.1.128/25, which is a longer prefix than the OSPF-advertised 192.168.1.0/24. When a packet matches multiple routes, longest prefix match takes precedence regardless of administrative distance, so the static /25 route is preferred.

Why this answer

The static /25 route is used because longest-prefix match prefers the most specific matching route. In plain language, even though the OSPF /24 route covers the destination, the /25 static route covers a narrower range and therefore wins for addresses inside that upper half of the subnet.

The router does not begin by asking which protocol is more trusted unless the prefix lengths are equal among the matching routes.

Exam trap

A common exam trap is assuming that the routing protocol with the lower administrative distance or higher trustworthiness automatically wins, regardless of prefix length. Candidates may incorrectly choose the OSPF /24 route because OSPF is a dynamic protocol and often trusted. However, the router always applies the longest-prefix match rule first, so the more specific static /25 route is preferred.

Overlapping routes are normal and do not cause routing conflicts; the router simply forwards packets based on the most specific match. Misunderstanding this can lead to selecting the wrong answer and missing the core routing principle tested here.

Why the other options are wrong

A

The OSPF /24 route is less specific than the static /25 route. Since longest-prefix match prefers the more specific route, the OSPF route is not used for 192.168.1.200.

C

Both routes do not automatically load-balance because they have different prefix lengths. Load balancing requires equal prefix length and equal cost routes, which is not the case here.

D

Neither route is incorrect because overlapping routes are common and resolved by longest-prefix match. The router uses the more specific static /25 route, so traffic is forwarded correctly.

4
MCQhard

A router receives a destination prefix from EIGRP with administrative distance 90 and also from OSPF with administrative distance 110. The prefix length is identical. Which route source is preferred?

C.Both equally
D.Neither, because route sources cannot overlap
AnswerA

EIGRP is the correct choice because its default administrative distance of 90 is lower than OSPF's default of 110 for the same destination prefix. When a router receives overlapping routes from multiple routing protocols, the protocol with the lowest administrative distance is deemed most trustworthy and installed in the routing table. The EIGRP route becomes the active route, while the OSPF route is kept as a backup or not installed at all.

Why this answer

The EIGRP route is preferred because its administrative distance is lower. In practical terms, once the prefix length is the same, the router compares the trustworthiness of the route source. Lower administrative distance wins. Since 90 is lower than 110, EIGRP is preferred over OSPF for that destination.

This is an administrative-distance comparison question, not a longest-prefix question. The key is that the prefix length is equal, so source preference becomes the deciding factor.

Exam trap

A frequent exam trap is to assume that OSPF routes might be preferred over EIGRP routes simply because OSPF is a widely used IGP or because of metric comparisons within OSPF. Candidates often confuse administrative distance with routing metrics, mistakenly thinking that the lower metric route is preferred regardless of protocol. However, administrative distance is the first criterion when routes come from different protocols.

Another trap is to think that routes from different protocols cannot overlap or that prefix length alone determines preference. The key is that when prefix lengths are equal, the router uses administrative distance to select the best route, so EIGRP’s lower AD of 90 always beats OSPF’s 110.

Why the other options are wrong

B

This option is incorrect because OSPF’s administrative distance of 110 is higher than EIGRP’s 90, so OSPF routes are less preferred when both advertise the same prefix length.

C

This option is incorrect because routers do not treat routes from different protocols with equal administrative distance; they prefer the route with the lower administrative distance, so both routes are not equally preferred.

D

This option is incorrect because routers can and often do receive overlapping routes from multiple routing protocols and must compare administrative distance to choose the best route.

5
MCQhard

A router learns the same destination prefix from OSPF and from a static route configured with administrative distance 90. Which route is preferred by default?

A.The static route with distance 90
B.The OSPF route, because dynamic routes always beat static routes
C.Both routes equally, because the prefix is identical
D.Neither route, because duplicate information is dropped
AnswerA

The static route with distance 90 is correct because administrative distance is the tiebreaker for routes to the same prefix from different sources. OSPF has a default administrative distance of 110, which represents a lower trustworthiness than the explicitly configured value of 90. Since lower administrative distance is preferred, the router installs the static route in the routing table. The source being static is not the reason; the configured distance value is what makes it win.

Why this answer

The static route is preferred because its administrative distance of 90 is lower than OSPF’s default administrative distance of 110. In practical terms, when the prefix length is the same, the router compares route-source trust next. The lower administrative distance wins.

This question is important because many learners remember that static routes are often strong choices but forget that administrative distance can be tuned. Here, that tuning explicitly makes the static route more preferred than OSPF.

Exam trap

A frequent exam trap is believing that dynamic routing protocols like OSPF always take precedence over static routes. Many candidates mistakenly think that dynamic routes inherently override static routes regardless of administrative distance. However, Cisco routers use administrative distance as the primary factor in route selection, not the route source type.

Since the static route in this question has an AD of 90, which is lower than OSPF’s default 110, the static route is preferred. Misunderstanding this can lead to incorrect answers and confusion about route installation in the routing table.

Why the other options are wrong

B

This option is incorrect because route preference is determined by administrative distance, not by a blanket rule that dynamic routes always beat static routes.

C

This option is incorrect because identical prefix length alone does not guarantee equal route preference; administrative distance is the deciding factor.

D

This option is incorrect because routers do not drop duplicate routing information; instead, they choose the best route based on administrative distance.

6
PBQmedium

You are connected to R1 via console. R1 has two paths to the Internet: primary via ISP1 (G0/0) and backup via ISP2 (G0/1). The primary route has an administrative distance of 1, and the backup should only be used if the primary fails. Currently, both routes are active. You need to configure a floating static route for the backup.

Network Topology
G0/0198.51.100.1/30linkG0/1203.0.113.1/30linkR1ISP1ISP2

Hints

  • The existing default route has AD 1.
  • Use a higher administrative distance for the backup route.
  • The backup route should point to the ISP2 next-hop.
A.ip route 0.0.0.0 0.0.0.0 G0/1 200
B.ip route 0.0.0.0 0.0.0.0 G0/1 1
C.ip route 0.0.0.0 0.0.0.0 G0/1 0
D.ip route 0.0.0.0 0.0.0.0 G0/1 255
AnswerA
solution
! R1
ip route 0.0.0.0 0.0.0.0 203.0.113.2 200
end

Why this answer

A floating static route with a higher administrative distance (200) than the primary route (1) ensures it is only used when the primary route is removed from the routing table, providing redundancy.

Exam trap

Remember that a floating static route must have a higher administrative distance than the primary route. Do not confuse 'higher' with 'lower' or use extreme values like 0 or 255. Also, ensure the backup route is configured with the correct next-hop interface or IP address.

Why the other options are wrong

B

The specific factual error is that an AD of 1 does not create a floating static route; it matches the primary route's AD, so both routes are used.

C

The specific factual error is that AD 0 is used for directly connected routes; using it for a static route would override the primary route.

D

The specific factual error is that AD 255 means the route is not trusted and will not be installed; it cannot serve as a backup.

7
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure IPv4 and IPv6 static routes, a default route, and a floating static route with higher administrative distance, then verify the routing tables.

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 correct order is to first configure specific IPv4 and IPv6 static routes, then configure the default route and the floating static route with higher administrative distance (the order between these two can be interchanged but typically default is configured before the floating static), and finally verify the routing tables with show ip route and show ipv6 route. Option A correctly follows this sequence. Options B, C, and D are incorrect because they either place verification before configuration, configure the default route before specific routes, or configure the floating static route first.

Exam trap

Do not confuse the order of configuration with the order of preference. Specific routes should be configured first, then the default route and floating static route can be configured in any order (though typically default is configured before floating static). Verification is always the last step.

8
PBQhard

You are connected to R1. Configure R1 so that it uses a floating static route to reach the 203.0.113.0/24 network via R2 only when the primary route (learned via EIGRP) fails. The primary route has an administrative distance of 90. Currently, R1 has no route to 203.0.113.0/24 because EIGRP is down on the direct link. Ensure the floating static route is installed and used.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkG0/1192.0.2.1/24linkR1R2LAN

Hints

  • The primary route would be learned via EIGRP with AD 90.
  • A floating static route must have an AD higher than 90 to be less preferred.
  • Use the 'ip route' command with an AD value between 91 and 255.
A.ip route 203.0.113.0 255.255.255.0 10.0.0.2 95
B.ip route 203.0.113.0 255.255.255.0 10.0.0.2 90
C.ip route 203.0.113.0 255.255.255.0 10.0.0.2 85
D.ip route 203.0.113.0 255.255.255.0 10.0.0.2
AnswerA
solution
! R1
ip route 203.0.113.0 255.255.255.0 10.0.0.2 95

Why this answer

The issue is that R1 has no route to 203.0.113.0/24 because EIGRP is not working (likely due to misconfiguration or link failure). A floating static route with an administrative distance greater than EIGRP's default AD of 90 is needed. By configuring a static route to 203.0.113.0/24 via next-hop 10.0.0.2 with AD 95, the static route will be used only when EIGRP is down (since 95 > 90, EIGRP is preferred when active).

The command 'ip route 203.0.113.0 255.255.255.0 10.0.0.2 95' accomplishes this.

Exam trap

Remember that floating static routes require an administrative distance higher than the primary route's AD. Do not use the default AD (1) or match the primary AD; always set a higher value.

Why the other options are wrong

B

The AD must be greater than 90 to ensure the static route is only used when EIGRP fails. An AD of 90 does not create a floating static route.

C

A floating static route must have a higher AD than the primary route. An AD of 85 is lower than 90, so it would be preferred over EIGRP.

D

The default AD for static routes is 1, which is lower than EIGRP's 90. Without specifying a higher AD, the static route will be preferred and not act as a floating static route.

9
MCQhard

A static route is configured as 198.51.100.0/24 via 192.0.2.9, but the connected network to the next hop goes down. What happens to the static route in the routing table?

A.It remains permanently because static routes never disappear.
B.It is removed because the recursive next hop is no longer reachable.
C.It changes automatically into a default route.
D.It becomes an OSPF external route.
AnswerB

In Cisco IOS, a static route with a recursive next-hop requires that the next-hop IP address be resolvable through another route before it can be installed in the RIB. When the recursive lookup fails because 192.0.2.9 is no longer reachable, the router removes the static route from the routing table, though the configuration remains. This is why the route disappears from forwarding decisions.

Why this answer

If the outgoing interface or connected path to the next hop becomes unreachable, the router cannot resolve the recursive next hop and the route is removed from the table.

Exam trap

Remember that static routes are removed if the next hop is unreachable, unlike dynamic routes that may have additional states.

Why the other options are wrong

A

Static routes are not permanent; they are removed from the routing table if the next-hop interface goes down or the next-hop IP becomes unreachable, because the route is no longer valid.

C

A static route does not automatically change into a default route; default routes are explicitly configured (e.g., ip route 0.0.0.0 0.0.0.0 next-hop) and are not derived from other static routes.

D

A static route does not become an OSPF external route automatically; OSPF routes are learned through the OSPF protocol, and a static route remains static unless redistributed into OSPF via configuration.

10
PBQhard

You are connected to R1. Configure static routes so that R1 can reach the IPv4 network 203.0.113.0/24 and the IPv6 network 2001:db8:acad:1::/64 via R2 (G0/0 10.0.0.2/30). Additionally, configure a floating static default route (IPv4) with an administrative distance of 200 via R2, and a fully specified IPv6 default route via R2. Then, verify that the IPv4 static route to 203.0.113.0/24 is correctly installed by checking the routing table. The current configuration has an incorrect next-hop causing recursive routing failure for the IPv4 static route.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkG0/12001:db8:acad:2::1/64G0/12001:db8:acad:2::2/64linkR2R1R3

Hints

  • Check the next-hop IP of the IPv4 static route; it should not be the router's own interface.
  • IPv6 static routes cannot use an IPv4 next-hop; they require an IPv6 next-hop or an exit interface.
  • After correcting the recursive route, the floating default route will become active.
A.Change the IPv4 static route next-hop from 10.0.0.1 to 10.0.0.2, change the IPv6 static route next-hop from 10.0.0.2 to 2001:db8:acad:2::2, and change the IPv6 default route to use next-hop 2001:db8:acad:2::2.
B.Change the IPv4 static route next-hop from 10.0.0.1 to 10.0.0.2, and change the IPv6 static route to use exit interface G0/0 instead of a next-hop.
C.Change the IPv4 static route next-hop from 10.0.0.1 to 10.0.0.2, and change the IPv4 default route administrative distance to 1.
D.Change the IPv4 static route next-hop from 10.0.0.1 to 10.0.0.2, and change the IPv6 default route to use exit interface G0/0.
AnswerA
solution
! R1
no ip route 203.0.113.0 255.255.255.0 10.0.0.1
ip route 203.0.113.0 255.255.255.0 10.0.0.2
no ipv6 route 2001:db8:acad:1::/64 10.0.0.2
ipv6 route 2001:db8:acad:1::/64 2001:db8:acad:2::2
no ipv6 route ::/0 10.0.0.2
ipv6 route ::/0 2001:db8:acad:2::2

Why this answer

The IPv4 static route to 203.0.113.0/24 incorrectly uses next-hop 10.0.0.1 (R1's own interface) instead of 10.0.0.2 (R2), causing recursive routing failure because R1 tries to reach itself. To fix, change the next-hop to 10.0.0.2. The IPv6 static route to 2001:db8:acad:1::/64 also incorrectly uses an IPv4 next-hop; it must be a fully specified IPv6 next-hop (2001:db8:acad:2::2) or an exit interface.

The IPv4 default route has AD 200 which is correct for a floating route, but it is not shown in the routing table because there is no route to the next-hop; after fixing the recursive route, the default route will appear. The IPv6 default route uses an IPv4 next-hop which is invalid; it should be a fully specified IPv6 route (e.g., ipv6 route ::/0 2001:db8:acad:2::2).

Exam trap

A common trap is using the local interface IP as the next-hop for a static route, which causes recursive routing failure. Also, remember that IPv6 static routes require IPv6 next-hop addresses; using an IPv4 address is invalid. Floating static routes must have a higher AD than the primary route.

Why the other options are wrong

B

The IPv6 static route should use a fully specified next-hop (IPv6 address) rather than just an exit interface to avoid recursive routing failures.

C

Floating static routes require a higher administrative distance (e.g., 200) so they are only used when the primary route is unavailable.

D

A fully specified IPv6 static route includes both the exit interface and the next-hop IPv6 address to ensure proper routing.

11
MCQhard

A router has both an OSPF route and a static route to the same destination. The static route has an administrative distance of 200. What is the expected behavior while the OSPF route remains available?

A.The static route remains a backup and is used only if the OSPF route is lost.
B.The static route overrides OSPF immediately because static routes always win.
C.Both routes must be installed simultaneously because they point to the same destination.
D.The router removes the OSPF route because the static route has a manually configured distance.
AnswerA

The OSPF route has an administrative distance of 110, while the static route's distance is explicitly configured higher (e.g., 125) to create a floating static route. Because the router always prefers the lowest administrative distance, OSPF is installed in the routing table and used for forwarding; the static route is held in reserve. If the OSPF neighbor adjacency fails or the route is withdrawn from the routing table, the router then installs the static route to maintain reachability.

Why this answer

The static route with an administrative distance of 200 behaves as a floating backup. In plain language, the router keeps it in reserve and prefers the OSPF route while OSPF is healthy, because OSPF’s default administrative distance of 110 is lower and therefore more trusted. The static route does not disappear from the configuration, but it stays out of the active routing table unless the better route is lost.

This is a very common CCNA concept because it shows how routing preference works between different route sources. The higher-distance static route is not useless; it is intentionally configured so that it becomes active only during a failure. That design provides backup routing without interfering with the normal dynamic path. The correct answer is the one describing the static route as a standby or floating route rather than as the preferred path.

Exam trap

Remember that lower administrative distance means higher preference, regardless of whether a route is static or dynamic.

Why the other options are wrong

B

Static routes do not always override dynamic routes; route selection is based on administrative distance. OSPF has a default AD of 110, which is lower than 200, so the OSPF route is preferred. The statement that static routes always win is incorrect because AD values determine preference.

C

Routers install only the best route (lowest AD) for a given destination in the routing table, unless equal-cost multipath (ECMP) is configured with identical metrics. Since OSPF and static routes have different ADs, they are not installed simultaneously; only the OSPF route is used.

D

The router does not remove the OSPF route because the static route has a manually configured distance. The OSPF route has a lower AD (110) than the static route's AD (200), so OSPF remains the preferred route and stays in the routing table.

12
MCQhard

An administrator configured a floating static default route on R1 as a backup to reach 10.10.10.0/24. The primary path is learned via OSPF, and the floating static route uses an administrative distance of 130. After the primary OSPF neighbor fails, traffic to 10.10.10.0/24 is dropped. According to the exhibit, why is the backup default route not being used?

A.The static route specifies an outgoing interface that is down; the next‑hop must be reachable for the route to be used.
B.The administrative distance of 130 is still less than the OSPF default of 110, so it will never be installed.
C.The static route is missing the permanent keyword, which is required for backup routes.
D.The metric of the static route is too high; it should be reduced to 0.
AnswerA

Because the static route uses only the outgoing interface (Serial0/0/0) without a next‑hop IP, the interface must be up/up for the route to be placed in the RIB. Since Serial0/0/0 is down, the entry is invalid.

Why this answer

The floating static default route is not used because the outgoing interface specified in the static route is down. For a static route with an outgoing interface to be considered valid and installed in the routing table, the interface must be in an up/up state. When the primary OSPF neighbor fails, the backup static route cannot be used because its next-hop is unreachable due to the interface being down, causing traffic to be dropped.

Exam trap

Cisco often tests the distinction between static routes with an outgoing interface versus a next-hop IP address, where candidates mistakenly assume a floating static route will automatically become active when the primary route fails, without considering the interface state.

Why the other options are wrong

B

This misinterprets AD: after the primary route is gone, any route with a higher AD (i.e., lower numeric value) is no longer present, so the floating static route should be installed if reachable.

C

Permanent is rarely needed and does not make a route usable when the interface is down; it only keeps the routing table entry present, but traffic cannot be forwarded.

D

Changing a static route metric is not possible, and even if it were, it would not change the fact that the specified interface is down.

13
MCQhard

A packet destined for 10.1.1.130 arrives at the router. Based on the routing table, which route will be used?

A.The static route to 10.1.1.128/25
C.The OSPF route to 10.1.1.0/24
D.The OSPF route to 10.1.0.0/16
AnswerA

The static route to 10.1.1.128/25 is chosen because the router performs a longest prefix match (LPM) on the destination address. 10.1.1.130 falls within the range 10.1.1.128–10.1.1.255, and the /25 prefix length (25 bits) is the most specific match among all routes in the routing table. Even though other routes exist, this one has the greatest number of bits matching the destination, so it is preferred regardless of administrative distance or metric.

Why this answer

Routers do not choose the route with the lowest administrative distance first when several routes match a destination. They begin with the most specific matching prefix. In practical terms, the router looks for the narrowest route that still contains the destination address. The packet is going to 10.1.1.130. That address fits inside 10.1.1.128/25, and it also fits inside 10.1.1.0/24 and 10.1.0.0/16. But /25 is the most specific of those matches, so the router uses it.

Only after determining that two routes have the same prefix length would the router consider administrative distance and metric. The default route is ignored because more specific matches exist.

Exam trap

A frequent exam trap is to mistakenly select the default route or a less specific OSPF route because they appear in the routing table. Candidates often overlook that routers prioritize the longest prefix match before considering administrative distance or route type. This leads to choosing the default route or a broader subnet like 10.1.1.0/24 or 10.1.0.0/16 instead of the more specific static route 10.1.1.128/25.

Misunderstanding this can cause incorrect answers and confusion about how Cisco routers forward packets.

Why the other options are wrong

B

The default route is incorrect because it is the least specific route and only used when no other matching routes exist; here, more specific routes are available.

C

The OSPF route to 10.1.1.0/24 is less specific than the /25 static route, so it is not selected despite matching the destination IP address.

D

The OSPF route to 10.1.0.0/16 is the least specific among the options and will not be chosen when more specific routes like /24 or /25 exist.

14
PBQhard

You are connected to R1. The network consists of three routers: R1, R2, and R3. R1 must reach the loopback network 203.0.113.0/24 on R3 via two paths: a primary static route through R2's G0/0 (192.0.2.2) and a floating static route through R2's G0/1 (198.51.100.2) with an administrative distance of 150. Additionally, R1 already has a default route pointing to 192.0.2.2. Configure the two static routes to 203.0.113.0/24 on R1 as described. The default route does not need to be changed. Verify that the primary route is active and the floating route is used only if the primary fails.

Network Topology
G0/0192.0.2.1/30G0/0192.0.2.2/30G0/0192.0.2.2/30Lo0203.0.113.1/24R2R1R3

Hints

  • Check the administrative distance of the floating static route; it should be higher than the primary route's AD.
  • Verify that both next-hop addresses are directly connected to R1.
  • Ensure the default route is present and pointing to the correct next-hop.
A.Configure ip route 203.0.113.0 255.255.255.0 192.0.2.2 and ip route 203.0.113.0 255.255.255.0 198.51.100.2 150. The default route is already configured. No further changes needed.
B.Configure ip route 203.0.113.0 255.255.255.0 192.0.2.2 and ip route 203.0.113.0 255.255.255.0 198.51.100.2 150. Also, remove the existing default route and re-add it with a higher administrative distance.
C.Configure ip route 203.0.113.0 255.255.255.0 192.0.2.2 150 and ip route 203.0.113.0 255.255.255.0 198.51.100.2. The default route is already configured.
D.Configure ip route 203.0.113.0 255.255.255.0 192.0.2.2 and ip route 203.0.113.0 255.255.255.0 198.51.100.2. The default route is already configured. No administrative distance is needed because the router will automatically prefer the route with the lower metric.
AnswerA
solution
! R1
configure terminal
no ip route 203.0.113.0 255.255.255.0 198.51.100.2 150
ip route 203.0.113.0 255.255.255.0 198.51.100.2 150
end
show ip route 203.0.113.0

Why this answer

Option A because it correctly configures the primary static route to 203.0.113.0/24 via 192.0.2.2 (default AD 1) and the floating static route via 198.51.100.2 with AD 150, ensuring the primary route is preferred. The default route to 192.0.2.2 is already configured and does not need modification. Options B, C, and D are incorrect: B wrongly adds a higher AD to the default route, C inverts the ADs on the two routes, and D omits the required AD on the floating route, causing both routes to have equal AD and potential load balancing or conflict.

Exam trap

A common trap is confusing which route gets the higher administrative distance. Remember: the floating (backup) route gets the higher AD, so it is only used when the primary route fails. Also, do not modify the default route unless specified.

Always verify that the next-hop addresses are directly connected to avoid recursive routing issues.

Why the other options are wrong

B

The specific factual error is that the default route configuration is correct as given; there is no need to modify it. Changing the AD of the default route could cause routing issues.

C

The specific factual error is swapping the administrative distances: the primary route should have a lower AD than the floating route. Here, the primary route has AD 150 and the floating route has AD 1, causing the backup to be preferred.

D

The specific factual error is that static routes without an AD default to 1, so both routes would have equal AD. The floating route must have a higher AD (e.g., 150) to act as a backup.

15
PBQhard

You are troubleshooting connectivity from R1 to the 203.0.113.0/24 network. R1 is a multilayer switch running routed ports. Currently, R1 has two paths to reach that network: one via R2 (192.0.2.2) and one via R3 (198.51.100.2). The path via R2 is preferred, but after a link failure between R1 and R2, traffic should automatically fail over to the R3 path. However, after the failure, traffic is still being sent to R2. Examine the routing table and configuration, then fix the issue so that the floating static route takes over correctly when the primary route is lost.

Hints

  • The primary static route does not have an exit interface specified, so it relies on recursive lookup. When the next-hop becomes unreachable, the route may still be present if there is another route to the next-hop.
  • Check if the static route is using the 'permanent' keyword (not shown in config, but possible).
  • To make the route interface-dependent, specify the exit interface in the static route command.
A.Replace the primary static route with one that uses an exit interface: ip route 203.0.113.0 255.255.255.0 GigabitEthernet1/0/1 192.0.2.2
B.Increase the administrative distance of the floating static route to 255
C.Add the permanent keyword to the floating static route
D.Change the administrative distance of the primary static route to 200 and the floating static route to 1
AnswerA
solution
! R1
no ip route 203.0.113.0 255.255.255.0 192.0.2.2
ip route 203.0.113.0 255.255.255.0 GigabitEthernet1/0/1 192.0.2.2

Why this answer

The issue is that the primary static route to 203.0.113.0/24 via 192.0.2.2 has an administrative distance of 1 (default), and the backup floating static route via 198.51.100.2 has an AD of 200. When the next-hop interface (Gi1/0/1) goes down, the route via 192.0.2.2 should be removed from the routing table because its next-hop is unreachable. However, the show output indicates that the route remains, which suggests that the static route is configured with the 'permanent' keyword or that the next-hop is still considered reachable via some other mechanism (e.g., a recursive lookup to a still-active route).

In this case, the most common fix is to add the 'track' option or to remove the static route and re-add it without the 'permanent' keyword, or to ensure that the static route uses an interface instead of just an IP address. The correct solution is to replace the primary static route with one that uses an exit interface, so that the route is automatically removed when the interface goes down. For example: 'ip route 203.0.113.0 255.255.255.0 GigabitEthernet1/0/1 192.0.2.2'.

This causes the route to be directly dependent on the interface state.

Exam trap

Be careful: static routes with only a next-hop IP address may remain in the routing table if the next-hop is still reachable via a recursive route. Always consider using an exit interface or a track object to ensure proper failover. Also, the 'permanent' keyword prevents route removal even if the next-hop is unreachable.

Why the other options are wrong

B

The specific factual error: An administrative distance of 255 is reserved for routes that are not considered valid; they are not installed in the routing table.

C

The specific factual error: The permanent keyword forces the route to stay in the routing table regardless of reachability, which is the opposite of what is needed.

D

The specific factual error: The AD values determine route preference; swapping them changes which route is preferred but does not address the removal of the route when the next-hop is unreachable.

16
MCQmedium

A router learns 10.10.10.0/24 from OSPF and EIGRP at the same time. OSPF reports a metric of 20, and EIGRP reports a metric of 30720. Which route is installed in the routing table by default?

A.The OSPF route, because 20 is lower than 30720
B.The EIGRP route, because its administrative distance is lower
C.Both routes, because they point to the same prefix
D.Neither route, because the metrics are not comparable
AnswerB

Routers prioritise routes for the same destination using administrative distance (AD) before considering protocol metrics. EIGRP has a default administrative distance of 90, which is lower than OSPF's default of 110. Consequently, even though OSPF reports a numerically lower metric, the router will install the EIGRP route for 10.10.10.0/24 into its routing table because its superior administrative distance takes precedence.

Why this answer

When the same prefix is learned from different routing protocols, the router compares administrative distance first. EIGRP internal routes use AD 90, while OSPF uses AD 110, so the EIGRP route is preferred.

Exam trap

Remember, administrative distance is the first criterion for route selection between different protocols, not the metric.

Why the other options are wrong

A

Metrics from different routing protocols are not comparable because each protocol uses its own metric calculation (e.g., OSPF uses cost based on bandwidth, EIGRP uses composite metric based on bandwidth and delay). The router uses administrative distance to choose between routes from different protocols, not metric values.

C

A router installs only the best route to a destination in the routing table, unless equal-cost load balancing is configured. Since OSPF and EIGRP have different administrative distances, only the route with the lower AD is installed. Both routes cannot be installed simultaneously for the same prefix.

D

The router does compare routes from different protocols using administrative distance, not metrics. Since the metrics are from different protocols, they are not directly comparable, but the router still selects one route based on AD. Therefore, one route will be installed.

17
MCQhard

A router has a static default route with administrative distance 250 and also learns a default route through OSPF. What is the main design purpose of the static default route?

A.To serve as a backup default route if the OSPF default is lost.
B.To override the OSPF default route immediately.
C.To make the router ignore all default routes.
D.To turn the default route into a host route.
AnswerA

This is a classic floating static route configuration. By setting the administrative distance to 250, the static default route is less preferred than the OSPF default (AD 110), so it remains in the background. If OSPF fails and its default route is withdrawn from the routing table, the router then installs the static backup, ensuring continued default connectivity.

Why this answer

The main purpose is to act as a backup route of last resort if the OSPF-learned default route disappears. In practical terms, the very high administrative distance keeps the static default out of the active table while the OSPF default is available. It remains in reserve only for failure conditions.

This is a classic floating-static-default design. It provides resilience without replacing the primary dynamic path.

Exam trap

A common exam trap is assuming that a static default route with a high administrative distance will override the OSPF default route immediately. Candidates might think the static route takes precedence because it is manually configured, but in reality, the administrative distance value controls route preference. Since 250 is much higher than OSPF’s 110, the static route remains inactive while OSPF’s route is available.

This misunderstanding can lead to incorrect answers about route selection and failover behavior in Cisco routing exams.

Why the other options are wrong

B

This option is incorrect because a static route with an administrative distance of 250 does not override the OSPF default route, which has a lower AD of 110. The high AD prevents immediate override.

C

This option is incorrect because the static default route does not cause the router to ignore all default routes. Instead, it remains as a backup and only becomes active if the OSPF route disappears.

D

This option is incorrect because administrative distance does not change the route prefix or convert a default route into a host route. It only influences route preference and selection.

18
PBQhard

You are troubleshooting a client connectivity issue on PC1, which is connected to switch SW1. PC1 reports that it cannot access the internet, but it can ping its default gateway (192.168.1.1). The network uses VLAN 10 for the client subnet. Examine the following show outputs: On PC1, ipconfig shows IP 192.168.1.10, default gateway 192.168.1.1, DNS server 192.168.1.1. On SW1, show running-config includes 'interface Vlan10' with IP 192.168.1.1 255.255.255.0, but no 'ip dns server' and no 'ip name-server' commands. SW1's show ip route displays a default route via 203.0.113.1. Identify the root cause. Configure the necessary fix on the appropriate device to restore full connectivity.

Network Topology
G0/1G0/1203.0.113.1/30203.0.113.1/30PC1SW1RouterInternet

Hints

  • Check DNS configuration on the switch.
  • The PC's DNS server is likely the default gateway (switch).
  • The switch needs to be configured to forward DNS queries.
A.Configure 'ip dns server' and 'ip name-server 8.8.8.8' on SW1.
B.Configure 'ip default-gateway 192.168.1.1' on SW1.
C.Configure 'ip route 0.0.0.0 0.0.0.0 203.0.113.1' on SW1.
D.Configure 'ip domain-lookup' on SW1.
AnswerA
solution
! SW1
ip name-server 8.8.8.8

Why this answer

PC1 is configured with DNS server 192.168.1.1, which is the switch SW1. However, SW1 lacks DNS forwarding capability. To enable DNS relay on the switch, both the 'ip dns server' command (to activate the DNS forwarder) and 'ip name-server 8.8.8.8' (to point to an upstream resolver) are required.

Option A provides the necessary configuration to restore DNS resolution and internet connectivity.

Exam trap

Do not assume that internet connectivity issues are always routing problems. When a client can ping the gateway but cannot access websites, the issue is often DNS. Also, remember that 'ip name-server' configures DNS servers, while 'ip domain-lookup' only enables the DNS client feature.

Why the other options are wrong

B

A default gateway is needed only for management traffic from the switch itself, not for DNS forwarding; the switch already communicates with the router via its default route.

C

A static default route is already present and unrelated to DNS resolution; adding another route would not solve the name resolution failure.

D

The 'ip domain-lookup' command only enables the DNS client on the switch itself, not DNS forwarding for clients like PC1.

19
Drag & Dropmedium

Drag and drop the following steps into the correct order to determine the best route to a destination using a routing table.

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
5Step 5
6Step 6
7Step 7

Why this order

The correct order follows Cisco's route selection logic: 1. Extract the destination IP (the lookup key). 2. Find all matching routes in the routing table. 3.

Apply longest prefix match – the most specific route (longest subnet mask) is always preferred, regardless of administrative distance. 4. If multiple routes share that longest prefix length, compare administrative distances. 5. The route with the lowest administrative distance wins. 6.

If AD values are equal (same routing protocol is typical), compare metrics. 7. The route with the lowest metric becomes the best route. This hierarchy – longest match > AD > metric – is fundamental to Cisco router behavior.

20
MCQhard

A network administrator is troubleshooting a connectivity issue between two remote sites connected via a WAN link. Hosts on VLAN 10 at Site A (192.168.10.0/24) cannot ping the server at Site B (10.10.20.100). The router at Site A has a default route configured with the next-hop IP address 10.10.10.2. The administrator checks the routing table on Router A and notices that the default route is not installed. What is the most likely cause of the problem?

A.The static route for 10.10.20.0/24 is missing from the routing table.
B.The GigabitEthernet0/0 interface is administratively down.
C.The default route is not configured; the gateway of last resort is missing.
D.The next-hop router 10.10.10.2 is unreachable.
AnswerD

A static route with a next-hop IP is only installed in the routing table when that next-hop is reachable. Since the default route is missing from the routing table, the next-hop 10.10.10.2 must be unreachable, making option D the correct diagnosis.

Why this answer

The default route uses a next-hop IP (10.10.10.2) and will only be installed in the routing table if that next-hop is reachable. Since the router’s routing table shows no default route, the most likely cause is that the next-hop 10.10.10.2 is unreachable, preventing the static route from being used. This explains why traffic fails despite the configuration.

Exam trap

Cisco often tests the misconception that a default route alone guarantees connectivity, when in reality the next-hop must be reachable; candidates may overlook verifying the next-hop's availability.

Why the other options are wrong

A

The routing table shows a static route to 10.10.20.0/24 via 10.10.10.2, so the route is present. The issue is not a missing route.

B

The interface is shown as directly connected with a local address, indicating it is up and operational. An administratively down interface would show 'administratively down' in the status.

C

The output shows 'Gateway of last resort is 10.10.10.2 to network 0.0.0.0', confirming the default route is configured.

21
PBQmedium

You are connected to R1 via console. R1 is a router that has two paths to the Internet: one via ISP1 with next-hop 203.0.113.1, and a backup via ISP2 with next-hop 203.0.113.2. The primary path should be via ISP1, but if it fails, traffic should automatically use ISP2. Currently, R1 has a static default route to ISP1 only. You need to configure a floating static route to ISP2 with an administrative distance of 150 to provide backup connectivity. Additionally, you must ensure that the backup route is only used when the primary route is not available.

Network Topology
G0/0203.0.113.10/30203.0.113.1linkG0/1203.0.113.14/30203.0.113.2linkR1ISP1ISP2

Hints

  • A floating static route has a higher administrative distance than the primary route.
  • The default administrative distance for static routes is 1, so you need a distance greater than that.
  • When the primary route disappears (e.g., interface down), the floating route will appear in the routing table.
A.ip route 0.0.0.0 0.0.0.0 203.0.113.2 150
B.ip route 0.0.0.0 0.0.0.0 203.0.113.2 1
C.ip route 0.0.0.0 0.0.0.0 203.0.113.2 250
D.ip route 0.0.0.0 0.0.0.0 203.0.113.2
AnswerA
solution
! R1
ip route 0.0.0.0 0.0.0.0 203.0.113.2 150

Why this answer

By setting the administrative distance to 150, the backup static route is less preferred than the primary static route (distance 1). If the primary route is removed due to a failure, the floating route is installed, providing backup connectivity.

Exam trap

Do not confuse the metric with administrative distance. For static routes, the AD is used to determine preference. A floating static route must have a higher AD than the primary route to act as a backup.

Also, note that the question specifies the exact AD value to use.

Why the other options are wrong

B

The administrative distance should be higher than the primary route's AD (1) to make it less preferred. Setting it to 1 makes it equal, not a backup.

C

The question explicitly states 'with an administrative distance of 150'. Using 250 is not what was asked, though it would be technically valid.

D

The default AD is 1, which equals the primary route's AD. This does not create a floating route; both routes are equally preferred.

22
Multi-Selectmedium

Exhibit: R1 learns 192.168.50.0/24 from multiple sources. Which two statements are correct about the route that will be installed in the routing table?

Select 2 answers
A.The static route is preferred because its administrative distance is lowest
B.The OSPF route is preferred because cost 20 is lower than RIP metric 2
C.The eBGP route would win over the static route because BGP is more dynamic
D.If the static route were removed, the eBGP route would beat OSPF and RIP
E.RIP would be chosen before OSPF because hop count is simpler
AnswersA, D

The static route is preferred because it has the lowest administrative distance (AD) of any source for this prefix. By default, Cisco assigns a static route an AD of 1, while eBGP, OSPF, and RIP have AD values of 20, 110, and 120 respectively. A router selects the route with the lowest AD; metrics are only compared within the same routing source, so the static route wins decisively.

Why this answer

The router chooses the route with the lowest administrative distance first. If administrative distance ties, it then compares the metric within that routing source. In this case the static route wins because AD 1 beats eBGP 20, OSPF 110, and RIP 120.

Exam trap

A common exam trap is assuming that the routing protocol with the lowest metric always wins, regardless of administrative distance. For example, candidates might incorrectly believe that OSPF with a cost of 20 beats eBGP with an AD of 20 or that RIP’s hop count of 2 beats OSPF’s cost of 20. This mistake arises from confusing metrics with administrative distance.

Metrics are only compared within the same routing protocol, while administrative distance is the primary factor when routes come from different sources. Ignoring this can lead to selecting incorrect answers about route preference.

Why the other options are wrong

B

This option is incorrect because metrics such as OSPF cost and RIP hop count are not compared across different routing protocols. Administrative distance is the primary factor in route selection between protocols.

C

This option is incorrect because the dynamic nature of BGP does not override the administrative distance rule. Static routes with AD 1 are always preferred over eBGP routes with AD 20.

E

This option is incorrect because simplicity of metric calculation (hop count) does not influence route preference. Administrative distance is the deciding factor, and RIP’s higher AD (120) makes it less preferred than OSPF (110).

23
MCQhard

A junior network engineer configured a floating static route on Router R1 to provide backup connectivity to a remote network 10.10.10.0/24. The primary connection uses OSPF. However, after the primary link fails, hosts on R1 cannot reach the remote network. The OSPF adjacency is down, and the floating static route is not appearing in the routing table. Based on the exhibit, what is the most likely cause of the issue?

A.The floating static route is missing from the configuration.
B.The static route's next-hop becomes unreachable after the primary OSPF link fails.
C.The administrative distance of the static route is too high.
D.The default route is overriding the static route to 10.10.10.0/24.
AnswerB

The floating static route points to a next-hop that is only reachable via the OSPF-learned path. Once the primary link fails and OSPF is down, the router loses the route to that next-hop, preventing the static route from being installed.

Why this answer

The floating static route's next-hop becomes unreachable after the primary OSPF link fails. In the exhibit, the next-hop IP is likely configured to an address that is only reachable via OSPF; when that adjacency drops, the router has no route to the next-hop, so it cannot recursively resolve the static route. As a result, the route does not appear in the routing table.

Option A is wrong because the route is present in the configuration (as a floating static route). Option C is wrong because the administrative distance of the floating static route is intentionally higher than OSPF's so that it only installs when OSPF fails; this is correct behavior. Option D is wrong because a default route would not override a more specific static route to 10.10.10.0/24.

Exam trap

Cisco often tests the misconception that a floating static route will automatically appear when the primary route fails, without considering that the next-hop must be directly connected or recursively resolvable via a remaining route.

Why the other options are wrong

A

The exhibit shows the static route is configured, so the issue is not that it is missing.

C

An administrative distance of 200 is appropriate for a floating static route to be less preferred than OSPF (AD 110) but still usable as a backup.

D

A default route (0.0.0.0/0) does not override a more specific route like 10.10.10.0/24; the longest prefix match rule ensures the specific route is preferred.

24
Drag & Drophard

Drag and drop the following steps into the correct order to describe how a router selects the best path and forwards a packet, using the routing table lookup process from destination IP 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 router first identifies the destination IP, then finds the best matching route using longest prefix match, and forwards to the next hop.

Exam trap

The exam trap here is that candidates often confuse the order of steps, especially placing the longest prefix match before examining the destination IP. Remember: you must know the destination before you can look it up in the routing table.

25
MCQhard

A route to 10.10.10.0/24 is learned through two OSPF paths. Both have the same prefix length and the same administrative distance, but one path has a lower OSPF metric. Which path is preferred?

A.The path with the lower OSPF metric
B.The path with the higher OSPF metric
C.Both paths equally, because the administrative distance is the same
D.Neither path, because two OSPF routes to the same prefix are invalid
AnswerA

OSPF calculates a metric, called cost, as the sum of outgoing interface costs along a path, and the SPF algorithm identifies the lowest-cost path to a destination. When two OSPF paths exist for the same 10.10.10.0/24 prefix, the route with the lower cost is installed in the routing table because it represents the shortest or most efficient path. Since both routes come from OSPF, their administrative distance is identical, so the OSPF metric is the sole determining factor.

Why this answer

The path with the lower OSPF metric is preferred. In practical terms, when the prefix and route source are the same, the router uses the routing protocol’s internal path-selection logic. For OSPF, the lower metric is the more attractive path.

This is a clean example of metric-based selection within one routing protocol. Administrative distance is not the deciding factor here because the source protocol is the same on both paths.

Exam trap

Remember, administrative distance only matters when comparing different routing protocols, not when choosing between paths within the same protocol.

Why the other options are wrong

B

A higher OSPF metric indicates a less desirable path, as OSPF uses cost as its metric where lower cost is preferred. Selecting a higher metric path would contradict the fundamental routing principle of choosing the best path based on lowest metric.

C

Equal administrative distance does not imply equal preference when metrics differ. The router compares metrics within the same routing protocol; if metrics are different, the lower metric path is chosen, not both.

D

OSPF can learn the same prefix via multiple paths; this is normal. The router selects the best path based on metric, and the other paths are kept in the routing table as backup or for equal-cost load balancing if metrics are equal.

26
PBQhard

You are troubleshooting connectivity from R1 to the 172.16.20.0/24 network. The network engineer configured a floating static route on R1 as a backup for the OSPF-learned route, but after the primary OSPF route fails, the backup does not take over. Examine the current routing table and partial configuration on R1, then fix the issue so that when the OSPF neighbor goes down, R1 can still reach 172.16.20.0/24 via R3.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30G0/1203.0.113.1/30G0/0203.0.113.2/30R2OSPFR1static backupR3

Hints

  • Check if the next-hop address is reachable via a directly connected interface.
  • A static route with a next-hop that is not directly connected requires a valid route to that next-hop.
  • Configure the static route with an exit interface to make it directly connected.
A.Change the static route to use an exit interface: ip route 172.16.20.0 255.255.255.0 GigabitEthernet0/1 203.0.113.2
B.Change the administrative distance of the static route to 110
C.Remove the OSPF process from R1
D.Add a static route to 203.0.113.0/24 via R1's directly connected interface
AnswerA
solution
! R1
no ip route 172.16.20.0 255.255.255.0 203.0.113.2 130
ip route 172.16.20.0 255.255.255.0 GigabitEthernet0/1 203.0.113.2 130

Why this answer

The floating static route was configured with an administrative distance of 130, intended to be higher than OSPF's default AD of 110 so it would only be used as a backup. However, the static route's AD is set as 130 (the command uses the distance option), which is correct. The problem is that OSPF's AD is 110, which is lower, so the static route is not installed while OSPF is up.

But when OSPF fails, the static route should appear. The issue is that the static route is pointing to a next-hop (203.0.113.2) that is not directly connected; R1 has no route to 203.0.113.2, causing the static route to be inactive. To fix, you must either change the next-hop to a directly connected interface (e.g., GigabitEthernet0/1) or add a route to reach 203.0.113.2.

The simplest solution is to configure the static route with an exit interface: 'ip route 172.16.20.0 255.255.255.0 GigabitEthernet0/1 203.0.113.2'. This ensures the route is valid when the OSPF route disappears.

Exam trap

Trap: Candidates often focus on administrative distance values but forget that a static route must have a valid next-hop to be installed. Always verify that the next-hop is reachable (directly connected) or specify an exit interface for floating static routes.

Why the other options are wrong

B

The specific factual error is that a floating static route must have a higher AD than the dynamic protocol to act as a backup; setting it equal or lower would disrupt the primary route.

C

The specific factual error is that removing OSPF is an extreme measure that breaks connectivity, whereas a floating static route is meant to be a seamless backup.

D

The specific factual error is that adding an extra static route is not the standard solution; Cisco recommends using the exit interface for directly connected next-hops to ensure route validity.

27
MCQhard

A network technician is troubleshooting an inter-VLAN routing issue on a multilayer switch. Hosts on VLAN 10 can reach the SVI for VLAN 10 (10.0.10.1) but cannot reach hosts on VLAN 20. The technician has verified that 'ip routing' is enabled and that the 'show ip route' command displays directly connected routes for both VLANs. No static routes are configured. What should the technician do next?

A.Check the ARP table for entries on VLAN 20.
B.Issue the 'show ip routing' command again to confirm routing is enabled.
C.Configure a default route pointing to the next-hop gateway.
D.Verify the VLAN membership of the destination host on VLAN 20.
AnswerA

The Layer 3 routing table is correct; the problem is likely that the switch lacks a Layer 2 MAC address for the destination host on VLAN 20. Examining the ARP cache will confirm whether the switch can map the destination IP to a MAC address, and if not, will show that ARP resolution is failing, which explains the connectivity break.

Why this answer

The hosts on VLAN 10 can reach the SVI (10.0.10.1) but not hosts on VLAN 20, which indicates that Layer 3 routing is working (ip routing enabled, directly connected routes present). The issue is likely that the switch does not have the MAC address of the destination host in VLAN 20 in its ARP table, so it cannot forward frames to that host. Checking the ARP table for VLAN 20 entries will reveal whether the switch has resolved the Layer 3-to-Layer 2 address mapping for the destination.

Exam trap

Cisco often tests the misconception that if 'ip routing' is enabled and routes are present, inter-VLAN routing should work, but they trap candidates by omitting the critical step of ARP resolution, which is required to deliver frames to the destination host's MAC address.

Why the other options are wrong

B

This option revisits a step already completed and verified, making it redundant. Candidates might think double-checking routing is safe, but the scenario explicitly states routing is working as expected.

C

Some candidates might believe inter-VLAN communication requires a default route, but directly connected routes already provide full reachability without static routing. This action is overly drastic and misdirected.

D

Candidates often jump to VLAN misconfigurations when inter-VLAN communication fails, even when routing is confirmed. The scenario already establishes the VLAN 20 host's location; the next logical layer to inspect is ARP resolution.

28
MCQmedium

A routing table entry begins with the code C. What does that code indicate?

A.A route learned through EIGRP
B.A connected network
C.A candidate default route
D.A static route to a classful network
AnswerB

The code 'C' in a Cisco IOS routing table represents a connected (directly attached) network. This entry is automatically generated when an interface has a valid IP address configured and is in the up/up state, and it carries an administrative distance of 0, meaning it is the most trustworthy source of routing information.

Why this answer

In Cisco routing table output, C indicates a directly connected network. These routes are installed when an interface is up and has an address in that subnet.

Exam trap

A frequent exam trap is mistaking the 'C' code for a static route or a route learned via a routing protocol like EIGRP. Some candidates incorrectly assume 'C' means candidate default or static, but Cisco IOS uses 'S' for static routes and 'D' for EIGRP-learned routes. Misreading these codes can lead to incorrect conclusions about how a route was learned or its trustworthiness.

Remember, 'C' always means the route is directly connected to the router, which is fundamental for understanding routing behavior and troubleshooting.

Why the other options are wrong

A

Option A is incorrect because EIGRP-learned routes are marked with 'D' in Cisco IOS routing tables, not 'C'. The letter 'D' stands for 'Dynamically learned' via EIGRP, so 'C' cannot represent EIGRP routes.

C

Option C is incorrect because candidate default routes are not indicated by 'C'. Cisco uses 'S*' or other notations for candidate default routes, so 'C' does not represent default routes.

D

Option D is incorrect because static routes use the code 'S' in Cisco routing tables. The code 'C' never represents static routes, so this option is invalid.

29
MCQhard

A router learns 192.168.30.0/24 from OSPF and also has a static route to 192.168.30.0/24 with administrative distance 200. Which route is installed in the routing table while both are available?

A.The OSPF route
C.Both routes equally for load balancing
D.Neither route, because they conflict
AnswerA

OSPF has a default administrative distance of 110, while the static route was configured with an administrative distance of 200. Cisco routers always prefer the route with the lowest AD, so the OSPF route is installed in the routing table as the best path to 192.168.30.0/24. This is why the OSPF route is selected over the static route.

Why this answer

The OSPF route is installed because its default administrative distance of 110 is lower than the static route’s configured administrative distance of 200. In practical terms, the static route has been intentionally made a backup. It is present in the configuration, but it does not become active while the lower-distance OSPF route is healthy.

This is a classic floating-static design question. The important point is that route-source preference depends on administrative distance when the prefix length is the same.

Exam trap

A common exam trap is assuming that static routes always take precedence over dynamic routes because their default administrative distance is 1. In this question, the static route’s administrative distance is manually set to 200, which is higher than OSPF’s default 110. Many candidates mistakenly select the static route, overlooking that a higher administrative distance means lower preference.

This trap tests your understanding that administrative distance values can be adjusted to create floating static routes that serve as backups rather than primary routes.

Why the other options are wrong

B

Incorrect because the static route has a higher administrative distance (200) than OSPF (110), making it less preferred and preventing it from being installed while the OSPF route is available.

C

Incorrect because routers do not install multiple routes with different administrative distances to the same prefix simultaneously; only the route with the lowest administrative distance is installed.

D

Incorrect because routers can and do choose one preferred route when multiple routes to the same prefix exist; conflicting routes do not cause both to be rejected.

30
MCQhard

A router receives two routes to 10.50.0.0/16: one from OSPF and one static route with an administrative distance of 90. Which route is installed by default?

A.The static route, because its administrative distance is lower than OSPF's
B.The OSPF route, because dynamic routes always override static routes
C.Both routes, because equal destination networks always load-balance
D.Neither route, because the destinations overlap
AnswerA

The static route is correct because its administrative distance is 90, which is lower than OSPF's default of 110. The router compares administrative distance values when multiple routing sources advertise the same prefix, and it installs the route with the lowest AD in the routing table. Since 90 is less than 110, the static route is preferred over the OSPF route.

Why this answer

By default, the static route with administrative distance 90 is installed because it is preferred over the OSPF route with default administrative distance 110. In plain language, the router is being told that the manually configured route is more trustworthy than the OSPF-learned one, so it chooses the static path first. The protocol type alone does not decide the outcome. Administrative distance is the key comparison when two different route sources offer the same destination prefix length.

This is a classic routing-selection question because many learners incorrectly assume OSPF always wins over static routes unless the static route uses the default administrative distance. Once the static route is given a value lower than OSPF’s 110, it becomes the preferred path unless a more specific route exists elsewhere.

Exam trap

A frequent exam trap is assuming that dynamic routing protocols like OSPF always override static routes regardless of administrative distance. Many candidates mistakenly believe that static routes only win if they use the default AD of 1. However, if a static route is manually assigned an AD lower than OSPF's default 110, it becomes the preferred route.

This misunderstanding leads to incorrect answers because the exam tests knowledge of how administrative distance influences route selection, not just the routing protocol type. Remember, the router always chooses the route with the lowest administrative distance, even if it is a static route with a custom AD.

Why the other options are wrong

B

Incorrect. Dynamic routes do not always override static routes; route preference depends on administrative distance, not just whether a route is dynamic or static.

C

Incorrect. Equal destination networks do not automatically cause load balancing if the routes have different administrative distances; only routes with equal AD and metrics are load-balanced.

D

Incorrect. Overlapping destinations from different sources are common and do not prevent route installation; the router uses administrative distance to choose the preferred route.

31
MCQhard

A routing table contains these entries for the same destination space: 10.1.0.0/16, 10.1.10.0/24, and 0.0.0.0/0. Which route is used for traffic to 10.1.10.44?

A.10.1.0.0/16
B.10.1.10.0/24
C.0.0.0.0/0
D.No route, because the entries overlap
AnswerB

This is correct because 10.1.10.44 falls within that more specific prefix.

Why this answer

The 10.1.10.0/24 route is used because it is the most specific matching prefix. In plain language, even though the /16 route and the default route could also match, the /24 route describes the destination range more precisely. Longest-prefix match therefore selects the /24 entry.

This is a foundational route-selection rule. The default route remains important as a fallback, but it is not used when more specific routes exist. Likewise, the /16 route is less specific than the /24, so it loses for this destination.

Exam trap

A frequent exam trap is selecting the less specific route (10.1.0.0/16) or the default route (0.0.0.0/0) for the destination 10.1.10.44. Candidates might mistakenly believe that overlapping routes cause conflicts or that the default route overrides specific routes. However, Cisco routers always apply the longest-prefix match rule, choosing the most specific subnet mask that fits the destination IP.

Overlapping routes do not cause routing failures; instead, they provide multiple options where the router picks the best match. Misunderstanding this can lead to incorrect answers and confusion about routing behavior.

Why the other options are wrong

A

The 10.1.0.0/16 route is less specific than the 10.1.10.0/24 route. Although it matches the destination IP, the router prefers the more specific /24 prefix, so this option is incorrect.

C

The 0.0.0.0/0 default route is only used when no other specific route matches the destination. Since both /16 and /24 routes match, the default route is not chosen here, so this option is incorrect.

D

Overlapping routes like 10.1.0.0/16 and 10.1.10.0/24 are common and do not prevent routing. The router resolves overlaps by selecting the longest prefix, so this option is incorrect.

32
PBQhard

You are connected to R1 via the console. R1 is a Cisco ISR 4321 router running IOS-XE. The network team has recently changed the routing protocol from EIGRP to OSPF, but some routes are missing from the routing table. You need to analyze the OSPF neighbor states and LSDB to identify the issue.

Network Topology
G0/010.0.1.1/30G0/010.0.1.2/30linkG0/1192.168.1.1/24linkR1R2SW1

Hints

  • Check if OSPF neighbors are in FULL state.
  • Look for mismatched OSPF network types or hello intervals.
  • Verify that both routers are in area 0.
A.Use 'show ip ospf neighbor' to check neighbor state; if not FULL, examine 'show ip ospf interface' for mismatched hello/dead intervals or network type.
B.Use 'show ip route ospf' to verify OSPF routes; if missing, re-enter the OSPF process and redistribute connected routes.
C.Use 'debug ip ospf events' to monitor OSPF packets; if no packets are seen, reconfigure OSPF router ID and clear the OSPF process.
D.Use 'show ip protocols' to verify OSPF process configuration; if incorrect, delete and recreate the OSPF process with the correct network statements.
AnswerA
solution
! R1
show ip ospf neighbor
show ip ospf interface gigabitethernet0/0
show ip route ospf

! R2
show ip ospf neighbor
show ip ospf interface

Why this answer

OSPF requires consistent hello/dead intervals and network types to form adjacency. If the neighbor is not in FULL state, routes will not be exchanged. Checking 'show ip ospf neighbor' reveals the state; mismatched parameters can be corrected by adjusting interface configuration.

Exam trap

The exam trap is that candidates may jump to reconfiguring the OSPF process or redistribution when routes are missing, but the root cause is often a simple mismatch in OSPF interface parameters. Always check neighbor states first.

Why the other options are wrong

B

The specific factual error is that 'show ip route ospf' shows only existing OSPF routes, not neighbor states. Redistribution is not needed for directly connected interfaces in the same OSPF area.

C

The specific factual error is that debugging is not the initial diagnostic step; it should be used after verifying neighbor states and interface parameters. Changing the router ID is unnecessary unless there is a duplicate router ID issue.

D

The specific factual error is that 'show ip protocols' does not display per-interface OSPF parameters. The problem is likely at the interface level, not the process level.

33
PBQhard

You are connected to R1. Configure OSPFv3 for IPv6 so that R1 and R2 can exchange IPv6 routes over their directly connected link. Enable IPv6 routing, assign OSPFv3 process and area on the interface, and verify that the neighbor adjacency forms and routes appear in the IPv6 routing table.

Network Topology
G0/02001:DB8:1::1/64G0/0 2001:DB8:1::2/64R1R2

Hints

  • OSPFv3 requires IPv6 unicast routing to be enabled globally.
  • OSPFv3 is enabled on the interface, not under a router ospf process like OSPFv2.
  • Use 'ipv6 ospf <process-id> area <area-id>' on the interface.
A.Enable IPv6 routing with 'ipv6 unicast-routing', configure OSPFv3 on the interface with 'ipv6 ospf 1 area 0', and verify with 'show ospfv3 neighbor' and 'show ipv6 route ospf'.
B.Enable IPv6 routing with 'ipv6 unicast-routing', configure OSPFv3 globally with 'router ospfv3 1' and 'router-id 1.1.1.1', then assign the interface to area 0 with 'ipv6 ospf 1 area 0'.
C.Enable IPv6 routing with 'ipv6 unicast-routing', configure OSPFv3 on the interface with 'ipv6 ospf 1 area 0', and verify with 'show ip ospf neighbor' and 'show ip route ospf'.
D.Enable IPv6 routing with 'ipv6 unicast-routing', configure OSPFv3 on the interface with 'ipv6 ospf 1 area 0', and verify with 'show ospfv3 neighbor' and 'show ipv6 route'.
AnswerA
solution
! R1
configure terminal
ipv6 unicast-routing
interface GigabitEthernet0/0
ipv6 ospf 1 area 0
end

Why this answer

It includes enabling IPv6 routing with 'ipv6 unicast-routing', applying OSPFv3 to the interface using 'ipv6 ospf 1 area 0', and verifying with the correct OSPFv3-specific commands 'show ospfv3 neighbor' and 'show ipv6 route ospf'. Option B is incorrect because it adds a global 'router ospfv3 1' command, which is unnecessary; OSPFv3 can be configured directly on the interface without a global process. Option C is incorrect because it uses IPv4 OSPF verification commands 'show ip ospf neighbor' and 'show ip route ospf', which are not valid for OSPFv3.

Option D is incorrect because although it uses the correct 'show ospfv3 neighbor', the 'show ipv6 route' command does not filter to OSPF-learned routes, so it displays all IPv6 routes rather than just OSPF routes.

Exam trap

Do not confuse OSPFv3 with OSPFv2. OSPFv3 uses 'ipv6 ospf' on the interface and 'show ospfv3 neighbor' for verification. Also, remember to enable IPv6 routing with 'ipv6 unicast-routing'.

Why the other options are wrong

B

Adding a global 'router ospfv3 1' command is unnecessary; OSPFv3 can be enabled directly on the interface without a separate global configuration.

C

Using 'show ip ospf neighbor' and 'show ip route ospf' are IPv4 OSPFv2 commands, not valid for OSPFv3 which requires 'show ospfv3 neighbor' and 'show ipv6 route ospf'.

D

The 'show ipv6 route' command displays all IPv6 routes, not just OSPF-learned ones; the filter 'ospf' is required to see OSPF routes specifically.

34
MCQhard

Exhibit: A router has the following routes in its routing table: - OSPF: 10.1.1.0/24 - Static: 10.1.1.128/25 - Default: 0.0.0.0/0 A packet is destined for 10.1.1.130. Which route does the router use?

A.The OSPF 10.1.1.0/24 route
B.The static 10.1.1.128/25 route
D.The router load-balances across all three
AnswerB

Although the OSPF route has a lower administrative distance, the destination 10.1.1.130 falls inside the 10.1.1.128/25 range, and the forwarding decision uses longest-prefix-match: the /25 mask represents 128 addresses, while the /24 represents 256, making the /25 the most specific, or longest, prefix that contains the destination. Therefore, the router forwards this packet via the static route, not by any other attribute.

Why this answer

Routers use longest-prefix match before they think about metrics. The /25 route for 10.1.1.128/25 is more specific than the /24 or the default route, so traffic for 10.1.1.130 follows that path.

Exam trap

A common exam trap is to select a route based solely on routing protocol preference or administrative distance without considering prefix length. Many candidates incorrectly choose the OSPF 10.1.1.0/24 route because OSPF is a dynamic protocol and might assume it is preferred over a static route. However, Cisco routers always apply longest-prefix match first, so the static 10.1.1.128/25 route is chosen because it is more specific.

Another trap is to think the router load-balances across all routes, but load balancing only occurs among routes with equal prefix length and metric, not across different subnet sizes.

Why the other options are wrong

A

The OSPF 10.1.1.0/24 route matches the destination IP but has a shorter prefix length than the static /25 route. Since longest-prefix match takes priority, this route is not used.

C

The default route is a last-resort route used only when no other specific routes match the destination IP. Since more specific routes exist, it is not selected here.

D

The router does not load-balance across routes with different prefix lengths because longest-prefix match selects a single best route, so this option is incorrect.

35
MCQmedium

Exhibit: R1 has a static default route to 192.0.2.2 and also learns a default route from OSPF. Which default route is installed in the routing table?

A.The OSPF default route because dynamic routes are preferred
B.The static default route because its administrative distance is lower
C.Both default routes because they have the same prefix length
D.Neither route until a floating static route is configured
AnswerB

Although both routes share the same /0 prefix, the static default route is installed because its administrative distance of 1 is far lower than OSPF's 110. The Cisco routing table uses AD to break ties between routes to the same destination learned from different protocols, and the lower the AD, the more trustworthy the source. Therefore, the static default route is selected and placed in the routing table, while the OSPF default route is not installed unless the static route fails.

Why this answer

When two routes to the same prefix are learned from different sources, the router compares administrative distance first. A static route has AD 1 by default, while OSPF has AD 110, so the static default route wins unless its AD was changed manually.

Exam trap

A common exam trap is believing that OSPF default routes always override static default routes because dynamic routing protocols are 'more intelligent' or 'preferred.' This misconception leads to selecting the OSPF route as installed, ignoring the fundamental Cisco routing rule that administrative distance determines route preference. Since static routes have a default AD of 1 and OSPF routes have an AD of 110, the static route is preferred unless its AD is manually changed. Misunderstanding this can cause incorrect answers and confusion about route installation behavior.

Why the other options are wrong

A

This option is incorrect because dynamic routes like OSPF are not automatically preferred over static routes. Administrative distance determines preference, and static routes have a lower AD than OSPF by default.

C

This option is incorrect because having the same prefix length does not mean both routes are installed. The router uses administrative distance to choose a single best route.

D

This option is incorrect because a normal static default route is valid and installed immediately. A floating static route is only needed if you want a backup route with a higher AD.

36
MCQhard

Two static routes exist for the 203.0.113.0/24 network: one pointing to ISP-A with an administrative distance of 10, and another pointing to ISP-B with an administrative distance of 5. Packets for that subnet are leaving through ISP-B. What explains this behavior?

A.The ISP-B route has a lower administrative distance.
B.Static routes with a higher next-hop IP are preferred.
C.The router always prefers the route configured last.
D.The route names force policy-based routing.
AnswerA

Cisco routers select the best route by administrative distance first for identical prefixes. The ISP-B static route has AD 5 while ISP-A has AD 10, so ISP-B is deemed more trustworthy and wins, causing packets to bypass the intended ISP-A link. This precedence overrides any other preferences like configuration order or next-hop address.

Why this answer

The route via ISP-B has a lower administrative distance, so it wins for the identical /24 prefix. For routes to the same destination and mask, the router compares AD before considering anything else between different route sources.

Exam trap

A frequent exam trap is assuming that the next-hop IP address or the order in which static routes are configured affects route selection. Candidates might incorrectly believe that a higher next-hop IP or the last configured route is preferred, but Cisco routers do not use these factors in route preference. Another common mistake is thinking that route names or descriptions influence routing decisions or enforce policy-based routing, which they do not.

The key is to remember that administrative distance is the primary factor in route selection when multiple routes to the same prefix exist.

Why the other options are wrong

B

This option is incorrect because the next-hop IP address does not influence route preference. Cisco routers do not consider the numeric value of the next-hop IP when selecting routes.

C

This option is incorrect because the router does not prefer routes based on the order they were configured. Route selection depends on administrative distance and metrics, not configuration sequence.

D

This option is incorrect because route names or descriptions are only for human readability and do not enforce policy-based routing. Policy-based routing requires explicit configuration beyond naming.

37
MCQmedium

Exhibit: R1 can ping 10.1.23.2 but cannot ping 192.168.3.10 behind R3. The routing table on R1 lacks 192.168.3.0/24. What is the best next check?

A.Verify whether the remote LAN is being advertised into the routing process
B.Replace the Ethernet cable between R1 and R2
C.Change the OSPF router ID on R1 immediately
D.Disable CEF so the route can be learned
AnswerA

The symptom that R1 can ping the next-hop address 10.1.23.2 but not 192.168.3.10 indicates that reachability to the remote host is blocked at the routing layer, not the link layer. Since OSPF neighbors are up (the next hop responds), the most likely cause is that the subnet containing 192.168.3.10 is not being injected into the OSPF domain—either because there is no network statement under the OSPF process on the router that owns that LAN, because the interface is configured as passive-interface, or because an outbound distribute-list is filtering the route. Verifying the OSPF database for the 192.168.3.0/24 prefix directly confirms whether the route is being advertised.

Why this answer

Because the directly connected next router is reachable, the problem is likely missing routing information for the remote LAN. The best next check is whether R3 is advertising 192.168.3.0/24 or whether that network is present in the routing domain at all.

Exam trap

A frequent exam trap is to confuse physical connectivity with routing issues. Because R1 can ping 10.1.23.2 (likely the next-hop router), candidates might mistakenly try to fix cables or interfaces instead of checking routing advertisements. Another trap is to focus on router ID changes or disabling features like CEF, which do not affect route learning.

The key mistake is ignoring the routing table contents and assuming that reachability to the next-hop router guarantees full path reachability. This leads to wasted time and incorrect troubleshooting steps.

Why the other options are wrong

B

Replacing the Ethernet cable between R1 and R2 is unnecessary because R1 can already ping 10.1.23.2, indicating that the physical link and Layer 3 connectivity to the next-hop router are functioning correctly.

C

Changing the OSPF router ID on R1 is irrelevant here because the problem is not related to router ID conflicts or OSPF neighbor relationships but to missing route advertisements for the remote LAN.

D

Disabling CEF (Cisco Express Forwarding) will not help because CEF does not prevent routes from being learned or advertised; it only affects packet forwarding efficiency, so this option does not address the root cause.

38
PBQhard

You are connected to R1. The network currently uses a static default route pointing to ISP1 (198.51.100.1) via GigabitEthernet0/0. However, the backup link to ISP2 (203.0.113.1) via Serial0/0/0 has a floating static default route with an administrative distance of 130. The backup route is not taking over when the primary link fails. Configure the floating static route correctly so that it becomes active when the primary route is lost, and verify that the routing table shows the backup default route with the appropriate next-hop.

Network Topology
G0/0198.51.100.2/30198.51.100.1S0/0/0203.0.113.2/30203.0.113.1R1ISP1ISP2

Hints

  • Examine the primary static route configuration for any unusual keywords.
  • A static route with the 'permanent' keyword remains in the routing table even if the interface goes down.
  • The floating static route has a higher AD (130) so it will only be used when the primary route is absent.
A.Remove the primary static route and reconfigure it without the 'permanent' keyword, then verify the backup route appears in the routing table.
B.Change the administrative distance of the floating static route to 1 so it is preferred over the primary route.
C.Add the 'permanent' keyword to the floating static route to ensure it remains in the routing table.
D.Configure a static route with a next-hop of 203.0.113.1 and an administrative distance of 130, but also add the 'track' command to monitor the primary link.
AnswerA
solution
! R1
conf t
no ip route 0.0.0.0 0.0.0.0 198.51.100.1 permanent
ip route 0.0.0.0 0.0.0.0 198.51.100.1
end

Why this answer

The primary static default route was configured with the 'permanent' keyword, which keeps the route in the routing table even when the GigabitEthernet0/0 interface goes down. This prevents the floating static route (AD 130) from becoming active. The solution is to remove the primary route (no ip route 0.0.0.0 0.0.0.0 198.51.100.1 permanent) and reconfigure it without the 'permanent' keyword.

After that, when the primary link fails, the route is removed, and the backup route (AD 130) enters the routing table. Option A is correct. Option B would make the backup preferred over the primary, which is not the intended behavior.

Option C (adding permanent to the backup) would not help and could cause issues. Option D (track) is an alternative but not the required configuration here.

Exam trap

Be careful: The 'permanent' keyword on a static route keeps it in the routing table even if the interface is down. This can prevent floating static routes from becoming active. Always check for 'permanent' when troubleshooting backup route issues.

Why the other options are wrong

B

The specific factual error: Administrative distance determines route preference; a lower AD is preferred. Setting the backup to AD 1 would make it the primary route, not a backup.

C

The specific factual error: The 'permanent' keyword prevents route removal when the interface goes down, which is not the solution here. The backup route needs to become active when the primary fails, not be forced to stay.

D

The specific factual error: The track command is used to conditionally remove a static route based on reachability, but it is not necessary if the primary route is correctly configured without 'permanent'. The existing backup route should work once the primary route is removed.

39
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure IPv4 and IPv6 static routes, a default route, and a floating static route with a higher administrative distance, then verify with show ip route and show ipv6 route.

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 correct order for configuring static routes as described is: first enter global configuration mode, then configure IPv4 static routes, then IPv6 static routes, then the default route and floating static route with higher AD, and finally verify with show commands. This sequence ensures that specific routes are configured before the default route and that IPv4 routes precede IPv6 routes as implied by the stem. Only option A follows this order; options B, C, and D deviate by placing the default/floating route before specific routes or configuring IPv6 before IPv4.

Exam trap

Do not confuse the order of configuration with the order of route preference. The default route is not configured first; it is configured after specific routes. Also, while IPv4 and IPv6 can be configured in any order, the question expects IPv4 before IPv6 based on the stem.

40
Multi-Selectmedium

Which TWO statements correctly describe how a router selects the best path for a destination network when multiple routing table entries exist?

Select 2 answers
A.Routes with the longest prefix length (most specific) are preferred over routes with a shorter prefix.
B.If two routes have the same prefix length, the route with the higher administrative distance is selected.
C.When the administrative distance is identical, the router compares the metric and selects the route with the lowest metric.
D.A directly connected route has an administrative distance of 1, making it more trustworthy than any dynamic route.
E.Dynamic routes are always preferred over directly connected routes because they can adapt to network changes.
AnswersA, C

Routers perform a longest prefix match, meaning they compare the number of matching bits in the destination address with each route's subnet mask or prefix length. A more specific route, such as a /24 covering 192.168.1.0/24, is preferred over a less specific route like a /16 covering 192.168.0.0/16, because it identifies the destination network with greater precision. This rule is applied first, even before considering administrative distance or metric, because a longer match indicates a more exact route to the destination and, in classless routing, is always the most efficient forwarding decision.

Why this answer

Routers select the best path by first applying the longest prefix match rule (most specific subnet mask), so option A is correct. If two routes have the same prefix length, the router then compares administrative distance (AD) and prefers the lower AD; option B is incorrect because it says higher AD is selected. When AD is equal, the router uses metric and chooses the lowest metric, making option C correct.

Option D is false because directly connected routes have an AD of 0, not 1, and they are indeed more trustworthy than dynamic routes but not due to AD 1. Option E is wrong because directly connected routes are always preferred over dynamic routes regardless of adaptability.

Exam trap

Cisco often tests the exact administrative distance values (e.g., directly connected = 0, static = 1) and the correct comparison order (prefix length first, then AD, then metric) to catch candidates who confuse AD with metric or misremember default values.

Why the other options are wrong

B

The router selects the route with the lower administrative distance, not higher. Administrative distance is a measure of trustworthiness; a lower value indicates a more reliable source. For example, a static route (AD 1) is preferred over an OSPF route (AD 110).

D

Directly connected routes have an administrative distance of 0, not 1. An AD of 0 is the most trustworthy and cannot be overridden by any dynamic route. The value 1 is used for static routes.

E

Directly connected routes have an AD of 0, which is lower than any dynamic routing protocol (e.g., OSPF AD 110, EIGRP AD 90). Therefore, directly connected routes are always preferred over dynamic routes, not the other way around.

41
MCQhard

Refer to the exhibit. A network engineer is troubleshooting connectivity to server 10.10.10.130. The routing table contains both a static route and an OSPF route for overlapping prefixes. The engineer examines the specific routing entry for 10.10.10.130. Based on the output, why does the router choose the route via 10.1.1.2 instead of the OSPF route via 10.2.2.2 (for 10.10.10.0/24)?

A.The static route has a lower administrative distance (1) than the OSPF route (110).
B.The OSPF route is inactive because its next-hop 10.2.2.2 is down.
C.The static route has a longer prefix length (/26) than the OSPF route (/24), making it a more specific match.
D.The router prefers the static route because it has a metric of 0, which is better than the OSPF metric.
AnswerC

The deciding factor is longest prefix match, which is the first rule in IP route selection. The static route's mask of /26 matches 64 addresses, while the OSPF route's /24 matches 256 addresses; for any destination inside the /26, the static route is a longer, more specific match. Longest prefix match is evaluated before administrative distance or metric, so the /26 static route is preferred even though OSPF has a higher AD and a different metric.

Why this answer

The router selects the route via 10.1.1.2 because the static route has a prefix length of /26, which is longer (more specific) than the OSPF route's /24. When multiple routes to the same destination exist, the router uses the most specific match (longest prefix) regardless of administrative distance or metric. Since 10.10.10.130 falls within the 10.10.10.128/26 range, the /26 route is preferred over the /24 route.

Exam trap

Cisco often tests the longest prefix match rule by presenting overlapping routes with different administrative distances, leading candidates to incorrectly assume that lower AD always wins, when in fact prefix length is evaluated first.

Why the other options are wrong

A

This reflects a common misunderstanding that AD is the sole tie-breaker between routes from different sources, ignoring prefix length priority.

B

Candidates might assume that if the OSPF route is not used, it must be inactive; however, the exhibit does not show this.

D

Candidates may mistake metric for the primary selection criterion, not realizing prefix length dominates all other route comparison steps.

42
MCQhard

Why is R1 not installing the floating static default route into the routing table?

A.Because the OSPF default route has a lower administrative distance than the floating static route.
B.Because static default routes can never be used when OSPF is enabled.
C.Because the static default route must use a /24 mask instead of 0.0.0.0.
D.Because the next hop of a floating route must be a loopback address.
AnswerA

The OSPF default route has an AD of 110, while a floating static route is intentionally configured with a higher AD, such as 200. Because the router prefers lower AD, OSPF's default is installed in the routing table. The floating static route remains in the configuration as a backup and only becomes active if OSPF fails or the OSPF default disappears.

Why this answer

The floating static default route is not installed because the primary default route is already present and has a lower administrative distance. In practical terms, a floating static route is meant to sit in reserve and appear only when the preferred route is unavailable. Since the OSPF default route is active and has a better administrative distance, the backup route is not used yet.

This is a classic route-preference question. The key idea is not just that a static route exists, but that a higher-distance static route is intentionally designed to lose until the primary path disappears.

Exam trap

A frequent exam trap is assuming that a static default route must always appear in the routing table regardless of other routes. Candidates often think the floating static route is missing or misconfigured when it is simply suppressed due to its higher administrative distance compared to the OSPF default route. This misunderstanding leads to incorrect troubleshooting steps or answer choices.

Remember, floating static routes are designed to be backup routes and only become active when the primary route is unavailable, so their absence in the routing table under normal conditions is expected behavior.

Why the other options are wrong

B

Incorrect. Static default routes can coexist with OSPF routes. The router uses administrative distance to determine which route to install, so static routes are not automatically ignored when OSPF is enabled.

C

Incorrect. A default route must use the destination 0.0.0.0 with a mask of 0.0.0.0. Using a /24 mask is invalid for a default route and would not solve the issue of route selection.

D

Incorrect. Floating static routes do not require the next hop to be a loopback address. The next hop can be any reachable IP address, so this is not the reason the route is not installed.

43
Drag & Drophard

Drag and drop the following steps into the correct order for the router's routing table lookup process when forwarding a packet to a destination IP address, including the best-path selection logic.

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 first matches the destination with the longest prefix, then applies tie-breakers: lowest administrative distance, then lowest metric, to determine the best path for forwarding.

Exam trap

Do not confuse the order of tie-breakers: administrative distance is always considered before metric. Also, remember that routing table lookup uses longest prefix match, not first match like ACLs.

44
MCQhard

A network engineer configures a primary default route via Gi0/0 (next-hop 192.168.12.2) and a floating static default route via Gi0/1 (next-hop 192.168.12.6) with AD 200. To test failover, the engineer issues the shutdown command on Gi0/0. After this, the router does not have a default route in the routing table. Which problem explains this behavior?

A.The backup interface Gi0/1 is administratively down, making the next-hop unreachable.
B.The floating static route uses an administrative distance of 200, which is too low to replace the primary route.
C.The primary default route remains in the routing table because shutting down Gi0/0 does not remove the static route.
D.The floating static route is missing a track object, so the router cannot detect the primary path failure.
AnswerA

With Gi0/1 administratively shut down, its interface state is down at both Layer 1 and Layer 2, so the router cannot use it as a valid output interface. A static route whose configured next-hop resides on a down interface is considered unreachable, and the router will not install it in the routing table. Because both Gi0/0 and Gi0/1 are unavailable, no default route is present, and the router has no path to the unknown destination.

Why this answer

A floating static route is installed only if its next-hop is reachable and the primary route (with lower AD) is absent. Shutting down Gi0/0 removes the primary route. However, backup interface Gi0/1 is also administratively down, so the next-hop 192.168.12.6 is unreachable, and the floating route is not installed.

Option A correctly identifies the interface status as the root cause. Option B is wrong because a higher AD (200) correctly designates this as a backup; a lower AD would make it primary. Option C is false; shutting down an interface removes connected routes, which causes the recursive static route to be purged.

Option D is incorrect because floating static routes do not require a track object—the AD difference alone dictates failover when the primary is removed.

Exam trap

The most common mistake is assuming a floating static route will automatically be installed when the primary route disappears, forgetting that the next-hop must be reachable.

Why the other options are wrong

B

A lower AD would make it preferred, defeating the purpose of a floating route.

C

The primary route is removed from the table when the interface goes down.

D

Track objects are optional enhancements for faster failover but not mandatory for floating static operation.

45
MCQhard

A network engineer configures a static route: ip route 192.168.10.0 255.255.255.0 10.1.1.2. The next hop 10.1.1.2 is reachable via OSPF. Later, the engineer notices that the route to 192.168.10.0/24 has disappeared from the routing table. What is the most likely cause?

A.The OSPF route to 10.1.1.0/30 has been lost, making the next-hop address 10.1.1.2 unresolvable.
B.The static route has a higher administrative distance than OSPF, so OSPF's route to 192.168.10.0/24 replaced it.
C.The static route uses a next-hop IP address that is not directly connected, which is unsupported on this platform.
D.A routing loop caused by recursive lookups has suppressed the static route to prevent loops.
AnswerA

A recursive static route requires a next-hop that is resolvable via an existing route. Without the OSPF route to the subnet containing 10.1.1.2, the router cannot reach the next hop and removes the static route from the routing table.

Why this answer

The static route to 192.168.10.0/24 uses 10.1.1.2 as the next-hop address. For a static route with a next-hop IP (rather than an exit interface) to be installed in the routing table, the next-hop must be reachable via a valid route in the routing table. If the OSPF route to the subnet containing 10.1.1.2 (e.g., 10.1.1.0/30) is lost, the next-hop becomes unreachable, and the static route is removed from the routing table.

This is the most likely cause of the route disappearing.

Exam trap

Cisco often tests the concept that a static route with a next-hop IP requires a valid route to that IP in the routing table, and candidates mistakenly think the static route will always remain or that administrative distance is the cause of its removal.

Why the other options are wrong

B

Believing that a static route is removed from the routing table when a better route exists, rather than understanding it remains but is inactive.

C

Assuming that a static route's next-hop must be directly attached, ignoring that recursive routing via another routing protocol or static route is allowed.

D

Thinking that recursive static routes are prone to loop suppression, rather than understanding that the route is simply withdrawn when the next-hop is no longer reachable.

46
PBQmedium

You are connected to R1 via the console. R1 and R2 are configured with EIGRP AS 100. R1 has two paths to the 172.16.1.0/24 network: one via a FastEthernet link to R2 (bandwidth 100 Mbps, delay 100 microseconds) and another via a serial link to R2 (bandwidth 1.544 Mbps, delay 20000 microseconds). The EIGRP metric is calculated using the default K-values. The FastEthernet link is preferred, but you need to make the serial link the backup by adjusting the administrative distance.

Network Topology
Fa0/0 10.0.0.1/30Fa0/0 10.0.0.2/30R1R2

Hints

  • The default administrative distance for EIGRP is 90 for internal routes.
  • Use an administrative distance value greater than 90 to make the static route less preferred.
  • The command uses 'ip route' with an AD value at the end.
A.Configure a static route to 172.16.1.0/24 with next-hop 10.0.0.6 and administrative distance 170.
B.Configure a static route to 172.16.1.0/24 with next-hop 10.0.0.6 and administrative distance 90.
C.Configure a static route to 172.16.1.0/24 with next-hop 10.0.0.6 and administrative distance 1.
D.Configure a static route to 172.16.1.0/24 with next-hop 10.0.0.6 and administrative distance 255.
AnswerA
solution
! R1
ip route 172.16.1.0 255.255.255.0 10.0.0.6 170

Why this answer

A floating static route is configured with an administrative distance of 170, which is higher than EIGRP's default distance of 90. This ensures that the static route is only used when the EIGRP route is not available. The static route points to the next-hop IP address of R2's serial interface.

Exam trap

Remember that a floating static route must have an administrative distance higher than the dynamic protocol's AD. EIGRP's default AD is 90, so choose an AD like 170. Avoid using AD 255, as it means the route is not installed.

Why the other options are wrong

B

The specific factual error is that an AD of 90 does not make the static route less preferred than EIGRP; it creates equal preference.

C

The specific factual error is that a lower AD makes the route more preferred, so the static route would override EIGRP.

D

The specific factual error is that AD 255 means the route is not trusted and is effectively ignored.

47
PBQmedium

You are connected to R1 via the console. R1 is a Cisco ISR 4321 router running IOS-XE 17.3. The network team has reported intermittent connectivity issues between VLAN 10 hosts and the server at 10.0.0.100. You suspect a routing problem and need to analyze the IP routing table, ARP cache, and interface status to identify the cause. Use the provided outputs to diagnose the issue.

Network Topology
G0/0192.168.10.1/24G0/110.0.0.1/30G0/010.0.0.2/30linkG0/010.0.0.2/3010.0.0.100linkHostsVLAN 10R1R2Server

Hints

  • Check the IP routing table for a default route or specific route to 10.0.0.100.
  • Examine the ARP cache to see if the MAC address of the next hop (10.0.0.2) is present.
  • Verify that both interfaces are up/up and have correct IP addresses.
A.The routing table shows a default route via 192.168.1.1, but the ARP cache has an incomplete entry for that next-hop IP, indicating a Layer 2 connectivity issue.
B.The routing table has a static route to 10.0.0.0/24 via 192.168.1.2, but the interface GigabitEthernet0/0/0 is administratively down.
C.The routing table shows a route to 10.0.0.0/16 via 192.168.1.1, but the ARP cache has a complete entry for 192.168.1.1, indicating the issue is at Layer 3.
D.The routing table has no route to 10.0.0.100, and the ARP cache is empty for all entries, indicating a complete routing failure.
AnswerA
solution
! R1
show ip route
show ip arp
show interfaces GigabitEthernet0/0
show interfaces GigabitEthernet0/1

Why this answer

The issue is likely a missing or incorrect route, an incomplete ARP entry, or an interface problem. By checking the routing table, you can confirm if a route to 10.0.0.100 exists. The ARP cache shows whether the next-hop MAC is learned.

Interface status indicates if the link is operational. The solution commands reveal these details, allowing you to pinpoint the cause (e.g., default route missing, ARP timeout, or interface down).

Exam trap

The exam trap is that candidates often jump to routing table issues first, but the question emphasizes 'intermittent' connectivity, which typically indicates Layer 2 problems like ARP failures or flapping interfaces. Always correlate routing table, ARP cache, and interface status together.

Why the other options are wrong

B

The specific factual error is that an administratively down interface results in a hard failure, not intermittent connectivity.

C

The specific factual error is that a complete ARP entry indicates no Layer 2 problem, contradicting the symptom of intermittent connectivity.

D

The specific factual error is that a missing route results in consistent unreachability, not intermittent problems.

48
MCQhard

An engineer configures a floating static route to 0.0.0.0/0 with an administrative distance of 200 while OSPF is providing a default route. What is the intended behavior?

A.The static default route acts as a backup and becomes active only if the OSPF default route is lost.
B.The static default route overrides OSPF immediately because it is manually configured.
C.Both default routes must always load-balance together.
D.The router ignores both defaults because they overlap.
AnswerA

A floating static route is configured with an administrative distance greater than OSPF's default of 110, such as 150. While the OSPF default route exists in the routing table, the static route remains dormant because the router prefers the lower AD. If the OSPF route disappears due to a neighbor loss or removal of the default-information originate command, the static route is then installed and used as the default path.

Why this answer

The intended behavior is that the static default route stays in reserve and becomes active only if the OSPF-learned default route disappears. In plain language, the administrator wants a backup path, not a replacement for the normal OSPF path. By assigning the static route a higher administrative distance than OSPF, the router treats it as less trustworthy during normal operation.

This is a standard floating-static design. The static route is still configured, but it does not normally appear as the preferred forwarding choice until the lower-distance route is lost. That is the key operational purpose of the configuration.

Exam trap

Don't assume static routes always take precedence over dynamic ones; administrative distance dictates preference.

Why the other options are wrong

B

The static default route has an administrative distance of 200, which is higher than OSPF's default distance of 110. Therefore, OSPF's route is preferred, and the static route does not override it. Manual configuration does not bypass administrative distance; the router always prefers the lower distance.

C

Load balancing requires multiple routes with equal administrative distance and metric. Here, OSPF and the static route have different administrative distances (110 vs. 200), so they are not equal. The router will only use the best route (OSPF) and not load-balance.

D

Overlapping default routes are common and do not cause the router to ignore them. The router uses the route with the lowest administrative distance (OSPF) and ignores the static route unless OSPF fails. There is no conflict that would cause both to be ignored.

49
Multi-Selectmedium

A router learns a route to 172.16.0.0/16 via OSPF (administrative distance 110) and a route to 172.16.10.0/24 via EIGRP (administrative distance 90). No other overlapping routes exist. Which TWO statements about how the router handles these routes are correct?

Select 2 answers
A.The router installs only the EIGRP route because it has a lower administrative distance.
B.Both the OSPF and EIGRP routes are installed in the routing table.
C.Traffic to 172.16.10.100 is forwarded using the OSPF route.
D.The EIGRP route is used for all traffic destined to any address within 172.16.0.0/16.
E.The OSPF route is used for destinations within 172.16.0.0/16 that are not part of the 172.16.10.0/24 subnet.
AnswersB, E

Because 172.16.0.0/16 and 172.16.10.0/24 are not identical prefixes, the router treats them as separate destinations in the routing table. The RIB can hold a less-specific covering route and a more-specific route simultaneously, regardless of administrative distance. Longest-prefix matching during packet forwarding then determines which route is used for a given destination.

Why this answer

B is correct because the router installs both routes in the routing table when they have different prefix lengths. The EIGRP route to 172.16.10.0/24 (AD 90) is more specific than the OSPF route to 172.16.0.0/16 (AD 110). The router uses the longest prefix match rule for forwarding, so both routes coexist without conflict.

Exam trap

Cisco often tests the misconception that administrative distance alone determines which route is installed, ignoring the critical role of prefix length in the longest prefix match rule.

Why the other options are wrong

A

The router does not discard the OSPF route; it installs both /16 and /24 entries because they represent different network-specific entries.

C

The traffic matches the /24 route, not the /16, so it would be forwarded via the EIGRP next-hop.

D

The /24 is a subset; traffic outside 172.16.10.0/24 matches only the /16 OSPF route.

50
Drag & Dropmedium

Drag and drop the following steps into the correct order to describe the router's routing table lookup process for a destination IP address, including the best-path selection logic (longest prefix match, then administrative distance, then metric) and the final 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 router applies longest prefix match first, then administrative distance, then metric, in that order, to select the best path and forward the packet.

Exam trap

Do not confuse the order of tiebreakers: longest prefix match always comes first, then administrative distance, then metric. Many candidates mistakenly swap AD and metric or think metric is compared first.

51
Multi-Selectmedium

Which three of the following statements about the routing table lookup process on a Cisco router are true? (Choose three.)

Select 3 answers
A.The router performs a longest prefix match to select the most specific route for a destination IP.
B.If an exact match is found for the destination network, the router will forward the packet regardless of any more specific routes.
C.A default route (0.0.0.0/0) is used only when no other route matches the destination IP.
D.The router does not perform recursive resolution when the next-hop IP address is not directly connected.
E.The router always prefers routes with a higher administrative distance over those with a lower administrative distance.
F.A directly connected route is automatically installed in the routing table when an interface is configured with an IP address and is up/up.
AnswersA, C, F

When a router receives a packet, it examines the destination IP address and searches its routing table for the route with the longest prefix length, meaning the highest number of matching bits in the network portion. This ensures that the most specific route, such as a /24, is chosen over a less specific one, like a /16, even if both entries could theoretically match. The longest prefix match algorithm is fundamental to IP routing because it enables precise path selection in networks with overlapping routes.

Why this answer

The routing table uses longest prefix match (A) to find the most specific route. The default route (C) is used only when no other route matches. Directly connected routes (F) are automatically installed when the interface is up/up.

Option D is incorrect because the router does recursively resolve the next‑hop IP when it is not directly connected.

Exam trap

Cisco often tests the misconception that an exact match overrides a more specific route, but the longest prefix match rule always selects the route with the longest subnet mask, regardless of administrative distance or metric.

Why the other options are wrong

D

When the next-hop IP is not directly connected, the router does recursively resolve the address to determine the outgoing interface.

52
PBQhard

You are connected to R1 via the console. The network currently uses EIGRP as its IGP, but you recently configured a static default route toward R2 (next-hop 203.0.113.2) to reach the Internet. However, traffic from R1 to the Internet is not taking the expected path. Examine the provided routing table and partial configuration, then fix the issue so that the static default route is used only when the EIGRP-learned default route is unavailable.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30G0/1203.0.113.1/30203.0.113.2/30R1R2ISP

Hints

  • Compare the administrative distances of the two default routes in the routing table.
  • The static route currently has a lower AD (1) than EIGRP (90), so it is not acting as a backup.
  • To make a static route a floating static, you need to configure an AD higher than the dynamic protocol's AD.
A.Configure the static route with an administrative distance of 100 using 'ip route 0.0.0.0 0.0.0.0 203.0.113.2 100'.
B.Remove the EIGRP default route by configuring 'no network 0.0.0.0' under the EIGRP process.
C.Increase the metric of the EIGRP default route to make it less preferred than the static route.
D.Configure the static route with a next-hop of 203.0.113.2 and a metric of 100.
AnswerA
solution
! R1
configure terminal
no ip route 0.0.0.0 0.0.0.0 203.0.113.2 10
ip route 0.0.0.0 0.0.0.0 203.0.113.2 100
end
write memory

Why this answer

The static default route was configured with an administrative distance (AD) of 10, which is lower than the EIGRP‑learned default route's AD of 90. This made the static route the preferred path, overriding the intended primary EIGRP route. To create a floating static route that only activates when the EIGRP route disappears, the static AD must be raised above 90—using 'ip route 0.0.0.0 0.0.0.0 203.0.113.2 100' ensures the EIGRP route is primary.

Option B is wrong because removing the EIGRP route eliminates the preferred path entirely, defeating the backup purpose. Option C fails because EIGRP metrics are irrelevant against a lower‑AD static route; AD dictates route source preference. Option D is incorrect because static routes do not accept a metric parameter—the trailing number sets the AD, not a metric.

Exam trap

Don't confuse administrative distance with metric. When comparing routes from different sources (static vs. EIGRP), AD is the deciding factor.

Also, remember that static routes use AD, not metric, to influence preference. The 'ip route' command syntax does not include a metric parameter.

Why the other options are wrong

B

The specific factual error: EIGRP does not use 'network 0.0.0.0' to advertise a default route; default routes are typically redistributed or generated via 'ip default-network' or redistribution. Removing the EIGRP default route would break the intended primary path.

C

The specific factual error: Administrative distance is the primary factor for route selection between different routing protocols or sources. Changing the EIGRP metric does not affect the comparison with a static route.

D

The specific factual error: The 'ip route' command syntax is 'ip route prefix mask {next-hop | interface} [distance] [name] [permanent] [tag tag]'. There is no metric parameter. The correct way to make a static route less preferred is to set a higher administrative distance.

53
MCQmedium

A branch router learns a route to 10.20.30.0/24 from OSPF with metric 30 and also has a static route to the same prefix with an administrative distance of 5. Which route will appear in the routing table?

A.The OSPF route because metric 30 is lower than the static route metric
B.The static route because its administrative distance is lower
C.Both routes with equal preference because they point to the same prefix
D.Neither route until the router performs a full SPF recalculation
AnswerB

A static route is assigned an administrative distance of 1 by default in Cisco IOS, whereas an OSPF internal route has an AD of 110. Because the router always prefers the route with the lowest AD, it installs the static route in the routing table and uses it to forward traffic to 10.20.30.0/24. The OSPF route is retained in the OSPF database but not placed in the RIB.

Why this answer

The router installs the static route because administrative distance is compared before metric when two different routing sources advertise the same prefix. OSPF metric matters only against other OSPF choices, not against a lower-AD static route.

Exam trap

A common exam trap is to confuse the OSPF metric with administrative distance and assume the route with the lower metric is preferred. Since OSPF’s metric is 30 and the static route’s metric is not applicable or higher, candidates may incorrectly select the OSPF route. However, Cisco routers first compare administrative distance, which is a measure of route trustworthiness across different routing sources.

Because the static route has a lower administrative distance (5) than OSPF (110), the static route is preferred and installed in the routing table. Misunderstanding this leads to incorrect route selection and exam errors.

Why the other options are wrong

A

This option is incorrect because metric values are only compared among routes learned from the same routing protocol. The OSPF metric of 30 is irrelevant when compared to a static route, which is a different routing source with a lower administrative distance.

C

This option is incorrect because routers do not install multiple routes to the same prefix from different routing protocols unless they have equal administrative distance and are configured for load balancing. Here, the static route’s lower AD prevents the OSPF route from being installed.

D

This option is incorrect because the router does not delay route installation until a full SPF recalculation. Route selection is immediate based on administrative distance and metric rules. SPF recalculation only affects OSPF route selection, not cross-protocol comparisons.

54
Drag & Dropmedium

Drag and drop the following steps into the correct order to describe the router's routing table lookup process for a destination IP address, including best-path selection using longest prefix match, administrative distance, and metric.

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 order follows the router's decision process: longest prefix match first, then administrative distance, then metric, leading to the forwarding decision.

Exam trap

Students often confuse the order of AD and metric, thinking metric is compared before AD. Remember: AD is a tiebreaker between different routing protocols (e.g., OSPF vs. EIGRP), while metric is a tiebreaker within the same protocol.

Also, longest prefix match always comes first—never skip it.

55
MCQhard

Refer to the exhibit. A network technician is troubleshooting router R1, which cannot reach hosts on the internet. R1 is connected to an ISP router at 203.0.113.1. The exhibit shows the output of the show ip route command. What is the most likely cause of the issue?

A.A static default route is not configured on R1, and OSPF is not advertising a default route.
B.The OSPF neighbor relationship with the ISP router is down.
C.The interface connecting to the ISP router is in a shutdown state.
D.An incorrect next-hop address was specified in the static default route, making the route invalid.
AnswerA

The output explicitly shows 'Gateway of last resort is not set' and no 0.0.0.0/0 route. A default route is required to reach external networks like the internet. The OSPF-learned route proves OSPF adjacency, but the absence of O*E2 or similar default route indicates default-information originate is not configured.

Why this answer

The exhibit shows that R1 has no default route (0.0.0.0/0) in its routing table, and the only routes present are OSPF-learned internal routes. Since R1 cannot reach the internet, the most likely cause is that no static default route is configured pointing to the ISP router (203.0.113.1) and OSPF is not injecting a default route into R1. Without a default route, R1 has no path for traffic destined outside its OSPF domain.

Exam trap

Cisco often tests the misconception that OSPF automatically shares a default route to all neighbors, when in fact it requires explicit configuration via the 'default-information originate' command.

Why the other options are wrong

B

Candidates often assume OSPF is not working at all when a default route is missing, ignoring other OSPF routes in the table.

C

Candidates may assume any connectivity failure means an interface is disabled, but the routing table would show no connected network if the interface were shut down.

D

Candidates might think a misconfigured static route would cause the problem, but they overlook that the route would still appear in the table, just with a different next-hop.

56
Drag & Dropmedium

Drag and drop the following steps into the correct order to describe the router's routing table lookup process from receiving a packet with a destination IP address to making the forwarding decision, including best-path selection criteria.

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 process starts with packet arrival, then longest prefix match, followed by tie-breaking using administrative distance and metric, culminating in forwarding.

Exam trap

Do not confuse the order of longest prefix match and administrative distance. Longest prefix match is always performed first; administrative distance and metric are tie-breakers applied only when multiple routes match the same prefix length.

57
MCQhard

A router shows the following routing table entries for the same destination: O 10.10.50.0/24 [110/20] via 192.168.12.2, GigabitEthernet0/0 D 10.10.50.0/24 [90/30720] via 192.168.13.2, GigabitEthernet0/1 Which route will become the active route in the routing table?

A.The OSPF route, because its metric is lower
B.The EIGRP route, because its administrative distance is lower
C.Both routes, because the prefixes are identical
D.Neither route, because the metrics use different scales
AnswerB

EIGRP is selected because Cisco routers use administrative distance (AD) as the primary trust metric when multiple routing protocols propose the same prefix. The default AD for EIGRP internal routes is 90, while OSPF's default AD is 110; the lower AD wins, so the EIGRP route is installed in the routing table. The metric values from different protocols are never compared against each other—the router first chooses the protocol with the best AD, and only then uses that protocol's metric for path selection. Therefore, even though OSPF may report a numerically smaller cost, EIGRP's lower AD takes precedence.

Why this answer

The EIGRP route becomes active because the router compares administrative distance first when the same destination is learned from different routing protocols. This is one of the most common Cisco exam traps: candidates compare the OSPF metric value of 20 to the EIGRP metric value and assume the smaller number must win. That is not how route selection works across different protocols.

OSPF metrics and EIGRP metrics are calculated differently, so the router does not compare them directly. Instead it checks administrative distance. EIGRP internal routes default to 90, while OSPF routes default to 110.

Since 90 is lower than 110, the EIGRP route is trusted more and is installed as the active path.

Exam trap

Avoid comparing metric values directly between different protocols; focus on administrative distance first.

Why the other options are wrong

A

This option is incorrect because the active route is determined by the administrative distance, not the metric. In this case, the EIGRP route has a lower administrative distance than the OSPF route, making it the active route.

C

This option is incorrect because only one route can be active for a given destination in a routing table, and having identical prefixes does not mean both routes can be active simultaneously. The router will select the route with the lower administrative distance, which is not addressed here.

D

This option is wrong because both routes are valid, and the router will select the route with the lower administrative distance, not the metric. The administrative distance of the EIGRP route is lower than that of the OSPF route, making it the active route.

58
Multi-Selecthard

A static default route is configured on R1 toward ISP-A, and a second default route toward ISP-B is configured with a higher administrative distance. Which two statements are correct during normal operation and after ISP-A failure?

Select 2 answers
A.The route through ISP-A is preferred during normal operation
B.The route through ISP-B acts as a floating backup
C.Both defaults are always installed and used equally
D.The backup route is ignored permanently because only one default route can exist
AnswersA, B

During normal operation, the static default route toward ISP-A is installed in the routing table because it has the default administrative distance of 1 for a static route. Cisco routers select the route with the lowest AD for a given prefix, so the ISP-A default outranks the ISP-B route, which is configured with a higher AD (typically 200). Consequently, all unmatched traffic is forwarded via ISP-A under steady-state conditions.

Why this answer

This is a classic floating static design. The lower-AD default route is primary, and the higher-AD default waits in reserve.

Exam trap

A frequent exam trap is assuming that both default routes are simultaneously active and load-balanced, or that the backup route is permanently ignored because only one default route can exist. The trap lies in misunderstanding administrative distance behavior: the higher AD route is not used until the primary route fails. Misreading this can lead to incorrect answers claiming equal usage or permanent backup route exclusion.

Remember, Cisco routers always prefer the route with the lowest administrative distance and only switch to the floating static route when the primary path is lost.

Why the other options are wrong

C

This option is incorrect because Cisco routers do not install multiple default routes with different administrative distances simultaneously; only the route with the lowest AD is installed and used.

D

This option is incorrect because the backup route is not ignored permanently; it becomes active when the primary default route toward ISP-A fails, ensuring continuous connectivity.

59
PBQhard

You are connected to R1, a router that must establish OSPFv3 adjacency with R2 over the directly connected link G0/0. The current configuration is incomplete: OSPFv3 process is configured but not enabled on the interface, and global IPv6 unicast routing is missing. Configure R1 so that it becomes an OSPFv3 neighbor with R2 and learns the loopback route 2001:db8:1:2::/64 via OSPFv3. Then verify neighbor state and routing table.

Network Topology
G0/02001:db8:0:1::1/64G0/02001:db8:0:1::2/64linkR1R2

Hints

  • OSPFv3 requires IPv6 unicast routing to be enabled globally before it can operate.
  • OSPFv3 is enabled on an interface using the 'ipv6 ospf <process-id> area <area-id>' command.
  • Without the interface-level command, the router will not send hellos and will not form an adjacency.
A.Enable IPv6 unicast routing globally and activate OSPFv3 on GigabitEthernet0/0 with the command 'ipv6 ospf 1 area 0'.
B.Enable IPv6 unicast routing globally and configure OSPFv3 process 1 with the 'network' command under the OSPFv3 router configuration mode.
C.Enable IPv6 unicast routing globally and configure OSPFv3 process 1 with the 'router-id' command to ensure adjacency.
D.Enable IPv6 unicast routing globally and configure OSPFv3 process 1 with the 'passive-interface default' command to allow adjacency.
AnswerA
solution
! R1
ipv6 unicast-routing
interface GigabitEthernet0/0
ipv6 ospf 1 area 0

Why this answer

R1 is missing two critical configurations: global IPv6 unicast routing must be enabled with 'ipv6 unicast-routing', and OSPFv3 must be activated on GigabitEthernet0/0 using 'ipv6 ospf 1 area 0' under the interface. Without these, R1 cannot send or receive OSPFv3 hellos, so no adjacency forms and routes are not exchanged. After applying both commands, the neighbor state becomes FULL and the remote loopback appears in the IPv6 routing table.

Exam trap

The exam trap is that OSPFv3 configuration differs from OSPFv2: OSPFv3 does not use network statements under the router process; instead, it is enabled directly on the interface. Additionally, IPv6 unicast routing must be globally enabled before OSPFv3 can function. Candidates often forget one of these two steps.

Why the other options are wrong

B

The specific factual error is that OSPFv3 uses interface-level configuration, not network statements under the OSPF process.

C

The specific factual error is that setting a router ID alone does not activate OSPFv3 on an interface; OSPFv3 must be explicitly enabled on the interface.

D

The specific factual error is that 'passive-interface default' would actually prevent adjacency, not help form it.

60
MCQhard

A network engineer notices that traffic from the router to server 192.168.10.5 is being sent over a slow backup link, even though the primary high-speed link is up. The routing table has an OSPF route for 192.168.10.0/24 via the primary link and a static host route to 192.168.10.5/32 via the backup link. Why is the backup link used for traffic to the server?

A.The static route has an administrative distance of 1, which is lower than OSPF's 110, so it is always preferred.
B.The router is load-balancing between the two routes, and traffic is being hashed to the backup link for this particular flow.
C.The OSPF route is not installed in the routing table because the static route has a better AD.
D.The static /32 route is a more specific match than the OSPF /24 route, so it is selected regardless of administrative distance.
AnswerD

The router selects the static /32 route because it offers the longest prefix match for destination 192.168.10.5. Even though OSPF has a higher administrative distance, prefix length is evaluated first in the forwarding decision. The /32 route exactly matches the destination, whereas the /24 route only matches the general subnet, so the more specific route is always chosen.

Why this answer

The router uses the most specific matching route in the routing table to forward traffic. The static host route to 192.168.10.5/32 has a longer prefix length (32 bits) than the OSPF route for 192.168.10.0/24 (24 bits), making it a more specific match. Even though OSPF has a higher administrative distance, the longest prefix match rule takes precedence over administrative distance when both routes are present in the routing table.

Exam trap

Cisco often tests the misconception that administrative distance is the sole factor in route selection, when in fact the longest prefix match rule is evaluated first and takes priority over AD for any routes that are already in the routing table.

Why the other options are wrong

A

Administrative distance is only compared when two routes have the same prefix length. Here, the /32 route has a longer prefix, so it is chosen first.

B

Load balancing requires routes with identical prefix lengths and metrics. The /32 and /24 routes are treated as different destinations.

C

AD is only compared when routes have the exact same prefix length. The routing table can hold multiple overlapping routes as long as they differ in prefix length.

61
MCQhard

R1 loses its route to 192.168.20.0/24 whenever R2's GigabitEthernet0/0 interface flaps. The network engineer has configured a floating static route with an administrative distance of 200. The OSPF route has an AD of 110. After R2's G0/0 interface recovers, the floating static route appears in the routing table instead of the OSPF route. What should the technician do next?

B.Check the carrier delay timers on R2's GigabitEthernet0/0 interface.
C.Clear the IP routing table and reset the OSPF process on R1.
D.Verify that the MTU on R1 and R2's GigabitEthernet0/0 interfaces match.
AnswerB

A high carrier-delay (interface debounce) timer can keep the link down for too long after a flap, delaying OSPF neighbor formation. While the interface remains down, the floating static route stays in the table. Checking this timer is a logical, non‑destructive next step.

Why this answer

When R2's GigabitEthernet0/0 interface flaps, the OSPF neighbor relationship goes down, causing R1 to lose the OSPF route. The floating static route (AD 200) then takes over. After the interface recovers, OSPF should re-establish and install its route (AD 110) over the static route.

However, if the carrier delay timer on R2's interface is set too high, the interface may not come up quickly enough for OSPF to re-converge before the floating static route is already installed and preferred. Checking and adjusting the carrier delay timer ensures that the interface state change is propagated promptly, allowing OSPF to re-establish and replace the static route.

Exam trap

Cisco often tests the concept that a floating static route can persist after a link recovers due to interface timers (carrier delay) delaying OSPF convergence, leading candidates to mistakenly focus on administrative distance adjustments or clearing the routing table.

Why the other options are wrong

A

Misunderstanding of route preference: a higher AD value does not keep a floating static installed when a better OSPF route becomes available.

C

Troubleshooting should follow the OSI model bottom‑up; immediately resetting processes skips basic interface‑level verification.

D

It targets a different root cause (OSPF adjacency failure due to MTU) that would manifest constantly, not only after interface recovery.

62
Matchingmedium

Drag and drop the route types on the left to the correct administrative distance and use case descriptions on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

AD 1; manually configured path

AD 5; backup route when primary fails

AD 1; catch-all for unknown destinations

AD 110; used for internal routing within an AS

AD 0; network directly attached to router interface

Why these pairings

All the given pairings are correct. Connected routes use AD 0 because they are directly connected. Static routes use AD 1 as they are manually configured.

EIGRP internal routes have AD 90, and OSPF routes have AD 110; both are IGPs used for routing within the same autonomous system.

Exam trap

A common mistake is confusing the AD values of connected (0) and static (1). Also, note that EIGRP internal (90) and OSPF (110) are both IGPs but with different ADs; some might incorrectly assign OSPF an AD of 90.

63
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

R3 has passive-interface default configured, which makes all interfaces passive by default, preventing OSPF hello packets from being sent. Without the no passive-interface command on the interface facing R1, R3 cannot form an OSPF adjacency, so R1 never learns the 192.168.30.0/24 route. This is a common misconfiguration when using passive-interface default to suppress OSPF on non-neighbor interfaces.

Exam trap

Cisco often tests the passive-interface default behavior where candidates assume that configuring OSPF with a network statement is sufficient to form adjacencies, overlooking that passive-interface default silently blocks hello packets on all interfaces unless explicitly overridden.

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.

64
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 ping to 8.8.8.8 fails because the default route (0.0.0.0/0) points to a next-hop IP address that is not reachable. The routing table shows the default route is present, but if the next-hop address is not in the routing table via a connected or static route, the router cannot resolve the Layer 2 adjacency and will not forward packets. This is confirmed by the fact that the default route exists but the ping fails, indicating a reachability issue with the next hop.

Exam trap

Cisco often tests the misconception that a missing default route is the only reason for internet connectivity failure, but the trap here is that the default route is present yet the next-hop is unreachable, which candidates overlook because they focus solely on the existence of the route rather than its reachability.

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.

65
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.

66
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.

67
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

The destination address 10.60.4.17 falls within all three advertised prefixes, but the router selects the route with the longest prefix match. The static route to 10.60.4.16/28 uses a 28-bit subnet mask, which is longer than the 24-bit OSPF route and the 16-bit EIGRP route. Because this /28 prefix provides the most specific match for the destination, it overrides the other less-specific entries in the routing table.

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.

68
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.

69
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 discard route with an administrative distance of 254 is less preferred than the ISP default route with an administrative distance of 1. Since the ISP route has a lower AD, it remains in the routing table and is used for forwarding traffic to unknown destinations, overriding the discard route. The Null0 route only becomes active if the ISP route is removed or fails, as the router always selects the route with the lowest administrative distance.

Exam trap

Cisco often tests the concept that administrative distance determines route preference, and the trap here is that candidates assume a static route to Null0 will always be used for discarding traffic, forgetting that a lower-AD route (like the ISP default) will take precedence.

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.

70
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.

71
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

The router will utilise the static route to 10.30.5.128/25 because it adheres to the longest prefix match principle. This rule dictates that when multiple routes match a destination IP address, the router selects the route with the longest subnet mask, representing the most specific network. For 10.30.5.130, the /25 mask is more specific than the OSPF route's /24 mask or the default route's /0 mask, ensuring it is prioritised for forwarding.

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.

72
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.

73
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

The OSPF route is preferred because Cisco routers select the route with the lowest administrative distance when multiple routing protocols or static routes provide the same prefix. OSPF has an AD of 110, while the floating static route is intentionally configured with an AD of 130 (higher than the default static AD of 1) to act as a backup. Since 110 < 130, the router installs the OSPF route in the routing table and keeps the static route in standby until OSPF fails.

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.

74
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.

75
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 route 172.16.0.0/16 appears as O IA (inter-area) on R1, which means R1 learned it via a Type 3 LSA from an ABR. For the route to be intra-area (O), the destination network must reside in the same OSPF area (area 0) as R1. Since R2 is advertising this network, if it were truly in area 0, R1 would see an O route.

The O IA designation indicates that the network is in a different area, likely because R2's interface connected to 172.16.0.0/16 is configured in a different OSPF area, or R2 is acting as an ABR.

Exam trap

Cisco often tests the distinction between intra-area and inter-area OSPF routes, and the trap here is that candidates mistakenly think a high metric or mismatched process ID can change the route type, when in fact only the area configuration determines whether a route is O or O IA.

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.

Page 1 of 2 · 78 questions totalNext →

Ready to test yourself?

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