Courseiva

CCNA IP Routing Questions

75 of 276 questions · Page 1/4 · IP Routing topic · Answers revealed

1
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure an IPv4 default static route with a floating backup route on a Cisco router.

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

Why this order

The correct order is: 1. Enter privileged EXEC mode using the enable command, because you must be in privileged mode to enter global configuration. 2. Enter global configuration mode with configure terminal, as static routes are configured in global configuration. 3.

Configure the primary default route using ip route 0.0.0.0 0.0.0.0 <next-hop> with default administrative distance (1), establishing the primary path. 4. Configure the floating backup route using ip route 0.0.0.0 0.0.0.0 <backup-next-hop> <higher-AD> (e.g., 10), so it is less preferred. 5. Exit global configuration mode using end to return to privileged EXEC. 6.

Save the configuration with copy running-config startup-config to ensure the routes persist after a reboot.

2
MCQhard

Based on the exhibit, which route will be used for destination 10.1.1.70?

A.The static route to 10.1.1.64/26
B.The OSPF route to 10.1.1.0/24
C.The OSPF route to 10.1.0.0/16
AnswerA

This is correct because 10.1.1.70 matches the more specific /26 route.

Why this answer

The route used will be the one with the longest matching prefix. In practical terms, 10.1.1.70 falls inside 10.1.1.64/26, and that prefix is more specific than both 10.1.1.0/24 and 10.1.0.0/16. Route selection begins with specificity, so the /26 route wins regardless of the broader alternatives.

This is a clean simulation-style routing-table interpretation question and very close to real exam thinking.

Exam trap

A frequent exam trap is to incorrectly assume that dynamic routing protocols like OSPF always override static routes or that administrative distance alone determines the chosen route. Candidates might see multiple routes to the destination and pick the OSPF route with a broader subnet mask, ignoring that the static route has a longer prefix match. This mistake overlooks the fundamental Cisco routing rule that longest prefix match takes precedence over administrative distance when multiple routes exist.

Misreading subnet masks or ignoring prefix specificity leads to selecting less optimal or incorrect routes in the exam scenario.

Why the other options are wrong

B

Option B is incorrect because the OSPF route to 10.1.1.0/24 is less specific than the /26 static route. Even though OSPF is a dynamic protocol, the router prefers the more specific static route.

C

Option C is incorrect since the OSPF route to 10.1.0.0/16 covers a much larger network and is less specific than both the /24 and /26 routes, so it is not chosen for 10.1.1.70.

D

Option D is incorrect because the default route is only used when no other more specific route matches the destination. Here, the /26 static route is more specific, so the default route is ignored.

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

4
Multi-Selectmedium

Which TWO statements correctly describe the behavior of the passive-interface command in single-area OSPFv2?

Select 2 answers
A.It prevents the router from sending Hello packets on the specified interface.
B.It prevents the router from advertising the network in OSPF LSAs.
C.The network associated with the passive interface is still advertised in OSPF LSAs.
D.It disables the interface for any OSPF traffic, including data traffic.
E.It removes the network from the OSPF routing table.
AnswersA, C

This is correct: the passive-interface command in OSPF suppresses the transmission of Hello packets on the specified interface. Without Hello packets, the router cannot discover neighbors or form adjacencies on that link, so no OSPF neighbor relationship will ever establish. This is commonly used on broadcast or point-to-multipoint segments where OSPF peering is not needed but the subnet must still be advertised.

Why this answer

The passive-interface command in OSPFv2 suppresses all OSPF protocol packets (Hello, DD, LSR, LSU, LSAck) on the specified interface, preventing neighbor adjacency formation. However, the network prefix of that interface is still included in the router LSA and advertised through active interfaces to the OSPF domain. Option A is correct because Hello packets are suppressed.

Option C is correct because the prefix is still advertised in LSAs. Option B is incorrect after rewording: it states that the network is not advertised, which is false. Option D is incorrect because passive-interface does not affect data traffic forwarding.

Option E is incorrect because the network remains in the OSPF routing table.

Exam trap

A common mistake is confusing passive-interface in OSPF with RIP or EIGRP; in OSPF, it suppresses all control packets on the interface, but the network is still advertised in LSAs via other interfaces.

Why the other options are wrong

B

This statement is false because passive-interface does not prevent the network from being advertised; the prefix is still injected into the OSPF LSAs.

D

Passive-interface only stops OSPF control packets; data traffic forwarding continues normally on the interface.

E

The passive-interface command does not remove the network from the OSPF routing table; the network is still reachable via other interfaces.

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

6
MCQhard

A technician configures OSPF on R1 using the command network 10.0.0.0 0.0.0.255 area 0. R1's GigabitEthernet0/0 interface has IP address 10.0.0.1/30 and is included in the OSPF process. The technician confirms the interface is not passive using the show ip ospf interface GigabitEthernet0/0 command. However, R2 is not forming an OSPF adjacency with R1. What should the technician do next?

A.Check the OSPF hello and dead intervals on R1 and R2.
B.Verify the OSPF area ID configured on R2's interface.
C.Check whether R2's interface is configured as a passive interface.
D.Verify the subnet mask configured on R2's connecting interface.
AnswerD

OSPF on a broadcast network requires an exact subnet mask match; a mismatch will prevent neighbor relationships. Given that R1's interface is properly added to OSPF, is not passive, and is in the correct area, the most likely cause is a misconfigured subnet mask on R2. Checking this resolves a basic Layer 3 requirement before investigating any OSPF-specific parameters.

Why this answer

The OSPF network command 10.0.0.0 0.0.0.255 area 0 uses a wildcard mask that matches only the first 24 bits. The interface on R1 has a /30 mask (255.255.255.252), so its IP 10.0.0.1 falls within the 10.0.0.0/24 range. However, if R2's connecting interface has a different subnet mask (e.g., /24 or /28), the two interfaces will be in different subnets, preventing OSPF adjacency from forming.

OSPF requires that interfaces on the same link share the same subnet prefix length to establish a neighbor relationship.

Exam trap

Cisco often tests the misconception that the OSPF network command's wildcard mask determines the subnet for adjacency, when in fact the interface's configured subnet mask is what OSPF uses to verify the neighbor is on the same link.

Why the other options are wrong

A

Skips the more likely and fundamental subnet mask check, which would render timer issues irrelevant until resolved.

B

Ignores the more foundational IP addressing check that could also cause the issue, and area troubleshooting would be misleading if the subnet mask is incorrect.

C

Jumps to an OSPF-specific command without first verifying the fundamental IP subnet configuration, which is a more direct cause of failed adjacencies on broadcast links.

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

8
MCQhard

An engineer is troubleshooting an OSPF adjacency issue between two Cisco routers, R1 and R2, connected via GigabitEthernet0/0 on both sides. Hosts on R1's LAN cannot ping hosts on R2's LAN. The engineer checks the OSPF neighbor state on R1 and sees the adjacency is stuck in EXSTART/EXCHANGE. The router IDs are 1.1.1.1 on R1 and 2.2.2.2 on R2, and both routers have a network statement for their directly connected subnet. What is the most likely cause of this problem?

A.The passive-interface default command is blocking OSPF Hellos on GigabitEthernet0/0.
B.There is an MTU mismatch between R1 and R2 on the GigabitEthernet0/0 interfaces.
C.The OSPF area configured on the interface does not match between R1 and R2.
D.The router IDs 1.1.1.1 and 2.2.2.2 are conflicting with each other.
AnswerB

The adjacency is stuck in EXSTART/EXCHANGE because R1 and R2 have mismatched MTU values on their GigabitEthernet0/0 interfaces. During the Database Description exchange, OSPF includes the interface MTU in the DBD packet; when one router sends a DBD larger than the peer's MTU, the peer silently drops it, so the routers never finish negotiating master/slave. The fix is configuring the same MTU, for example `ip mtu 1500`, on both sides to allow DBD packets to pass.

Why this answer

The EXSTART/EXCHANGE state indicates that OSPF neighbors have progressed past the 2-Way state and are attempting to exchange Database Description (DBD) packets. An MTU mismatch on the directly connected GigabitEthernet0/0 interfaces prevents successful DBD exchange because the interface with the smaller MTU drops the larger DBD packet, causing the adjacency to remain stuck in EXSTART/EXCHANGE. Options A and C are incorrect because passive-interface default and area mismatches prevent the adjacency from reaching EXSTART/EXCHANGE (they block Hello exchange), and option D is incorrect because conflicting router IDs would prevent adjacency formation entirely, not result in a stuck EXSTART/EXCHANGE state.

Exam trap

Cisco often tests the MTU mismatch scenario by presenting symptoms of a stuck adjacency in EXSTART/EXCHANGE, which candidates may confuse with other issues like mismatched areas or passive interfaces, but the key clue is the specific state where DBD exchange fails.

Why the other options are wrong

A

The passive-interface default command would block Hellos, preventing the adjacency from ever reaching the EXSTART/EXCHANGE state.

C

An OSPF area mismatch would cause Hellos to be ignored, so the adjacency would not progress past the Down or Init state.

D

Conflicting router IDs would prevent the routers from becoming neighbors at all, as OSPF requires unique router IDs within an area.

9
MCQhard

A router learns route 198.51.100.0/24 from OSPF with AD 110 and also has a static route to the same prefix configured with AD 150. Which route is installed?

A.The static route, because static routes always win
B.The OSPF route, because 110 is lower than 150
C.Both routes, because administrative distances are different
D.Neither route, because the static route is floating
AnswerB

OSPF has a default administrative distance of 110, while the static route in this scenario has been configured with an AD of 150, making it a floating static route. Since the router selects the route with the lowest AD for the same destination prefix, the OSPF route wins. The lower AD indicates that OSPF is more trustworthy than the static route in this configuration.

Why this answer

The route with the lower administrative distance is installed. A static route configured with a higher AD becomes a floating static route and remains as a backup until the preferred route disappears.

Exam trap

Don't assume static routes are always preferred; check the administrative distance.

Why the other options are wrong

A

Static routes do not always win; they have a default administrative distance of 1, but in this scenario the static route was configured with AD 150, which is higher than OSPF's AD 110. Therefore, the OSPF route is preferred.

C

A router installs only the best route (lowest AD) for a given prefix into the routing table. Different AD values do not cause both routes to be installed; the route with the lower AD is chosen.

D

A floating static route is a static route with a higher AD than the dynamic route, so it remains inactive as a backup. In this case, the static route is floating, but it is still valid and will be used if the OSPF route is lost. The question asks which route is installed, and the OSPF route is installed, not neither.

10
MCQhard

Based on the exhibit, which route will be used for destination 192.168.10.130?

A.The static route to 192.168.10.128/25
B.The OSPF route to 192.168.10.0/24
D.No route at all
AnswerA

This is correct because 192.168.10.130 is inside the more specific /25 prefix.

Why this answer

The route used will be the one with the longest matching prefix. In practical terms, 192.168.10.130 matches both the /24 and the /25 prefixes shown, but the /25 is more specific. Because longest-prefix match comes first, the router uses the /25 route even though other matching routes are present.

This is a clean route-table interpretation question that is very close to real exam reasoning.

Exam trap

A common exam trap is to select the OSPF route to 192.168.10.0/24 because it appears as a valid route to the destination. Candidates may mistakenly believe that dynamic routing protocols override static routes or that the broader /24 subnet is sufficient. However, the router always prefers the longest prefix match, which is the /25 static route in this case.

Another trap is assuming the default route will be used when multiple routes exist, but default routes only apply when no specific routes match the destination. Misunderstanding these routing principles leads to incorrect answers.

Why the other options are wrong

B

This option is incorrect because the OSPF route to 192.168.10.0/24 has a shorter prefix length (/24) than the static /25 route, so it is less specific and will not be chosen for the destination IP.

C

This option is incorrect because the default route is only used when no other specific routes match the destination. Since both the /24 and /25 routes match, the default route is ignored.

D

This option is incorrect because the destination IP clearly matches multiple routes in the routing table, so the router will select the best match rather than having no route at all.

11
MCQhard

R1 is not forming an OSPF adjacency with R2 on GigabitEthernet0/1. Which mismatch below is the most likely cause?

A.The routers are using different IP subnet masks on the shared link
B.OSPF cannot run on GigabitEthernet interfaces
C.Both routers are in area 0
D.The router IDs must match for adjacency to form
AnswerA

For OSPF to form an adjacency on a broadcast multiaccess segment, both routers must agree on the subnet mask assigned to the shared link. If the masks differ, each router derives a different network address from the same IP prefix, so OSPF considers the interfaces to be on separate subnets and ignores the hello packets. Consequently, the neighbor relationship never reaches the two-way state, and the adjacency fails to establish. This is a classic mismatch that prevents OSPF from operating correctly.

Why this answer

For OSPF neighbors to form, key settings on a shared segment must match. A subnet mask mismatch on a broadcast network often prevents proper neighbor formation because the routers do not agree on the local network.

Exam trap

A common exam trap is confusing the need for matching router IDs with adjacency formation. While router IDs must be unique within an OSPF domain, they do not need to match for adjacency to form. Another trap is assuming OSPF cannot run on GigabitEthernet interfaces, which is incorrect because OSPF supports all standard interface types.

The most tempting mistake is overlooking the subnet mask mismatch, which silently prevents adjacency by making routers believe they are on different networks, even if other parameters like area ID match. This subtle misconfiguration is often missed during troubleshooting.

Why the other options are wrong

B

Incorrect because OSPF fully supports GigabitEthernet interfaces. There is no restriction on running OSPF on these interfaces in Cisco IOS.

C

Incorrect because both routers being in area 0 is necessary for adjacency on that segment. Matching area IDs help form adjacency rather than prevent it.

D

Incorrect because router IDs must be unique, not identical. Matching router IDs do not cause adjacency to form; in fact, duplicate router IDs cause routing problems but not adjacency failure due to subnet mismatch.

12
MCQhard

A router has a static route for 172.16.10.128/25 and an OSPF-learned route for 172.16.10.0/24. When forwarding traffic to 172.16.10.130, why does the router use the static route instead of the OSPF route?

A.Because the static /25 route is more specific than the OSPF /24 route.
B.Because static routes always beat OSPF even when they are less specific.
C.Because OSPF routes cannot be used for Class B networks.
D.Because the OSPF metric is lower than the static administrative distance.
AnswerA

For the destination 172.16.10.130, both 172.16.10.0/24 and 172.16.10.128/25 are candidates, but the /25 has a longer prefix length and therefore provides a more specific match. The router's forwarding logic selects the route with the longest matching prefix, so the static /25 route is installed in the CEF table for that destination. The OSPF /24 route remains in the routing table for other addresses in the /24 that are not covered by the /25.

Why this answer

The static route is used because it is the more specific match. In practical terms, route selection starts with prefix specificity. The destination 172.16.10.130 matches both routes shown, but the static /25 is more specific than the OSPF /24. Because longest-prefix match comes first, the static route is chosen regardless of the different route sources.

This is a classic route-selection interpretation question that tests whether you prioritize specificity correctly.

Exam trap

A common exam trap is to incorrectly assume that static routes always override OSPF routes due to their lower administrative distance, regardless of prefix length. Candidates might also believe that OSPF cannot handle Class B networks or that metrics alone determine route selection. The trap lies in ignoring the fundamental routing principle of longest-prefix match, which Cisco routers apply before considering administrative distance or metric.

This misunderstanding leads to incorrect answers and confusion about route selection behavior in Cisco routing tables.

Why the other options are wrong

B

Option B is incorrect because static routes do not always override OSPF routes regardless of specificity. Prefix length is evaluated before administrative distance, so a less specific static route would not override a more specific OSPF route.

C

Option C is incorrect because OSPF can route any IP address range, including Class B networks like 172.16.0.0/16. There is no limitation on OSPF routing based on IP class.

D

Option D is incorrect because the routing decision here is based on prefix length, not on comparing OSPF metric and static route administrative distance. The static route’s longer prefix length takes precedence.

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

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

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

16
MCQhard

An engineer is troubleshooting an OSPFv3 adjacency issue between two routers R1 and R2 connected over a serial link. The link is up/up on both sides, and IPv6 is enabled on the interfaces. However, the 'show ipv6 ospf neighbor' command shows no neighbors. The engineer checks the OSPFv3 configuration. What is the most likely cause of the missing adjacency?

A.The serial interface on R2 is administratively down.
B.OSPFv3 authentication is configured on R1 but not on R2.
C.The IPv6 address on R2 is in a different subnet than R1.
D.The OSPFv3 router-id is not configured on R2.
AnswerB

On R1, OSPFv3 is configured with IPsec authentication, but R2 has no matching IPsec configuration under its OSPFv3 process. OSPFv3 relies on IPsec AH or ESP for authentication and integrity, unlike OSPFv2, and if one router encrypts or authenticates its packets while the other does not, the Hellos are silently discarded and the neighbor relationship cannot progress past the EXSTART/INIT state. Both routers must use the same SPI, authentication algorithm, and key for adjacency to form.

Why this answer

OSPFv3 uses IPsec for authentication, unlike OSPFv2 which uses plaintext or MD5 authentication. If authentication is configured on one router but not the other, the OSPFv3 Hello packets will be dropped, preventing neighbor adjacency from forming. The 'show ipv6 ospf neighbor' command will show no neighbors because the routers cannot exchange Hello packets successfully.

Exam trap

Cisco often tests the misconception that OSPFv3 requires matching subnets (like OSPFv2) or that authentication is optional, when in fact OSPFv3 uses IPsec and any mismatch breaks adjacency silently.

Why the other options are wrong

A

The question states the serial link is up/up on both sides, meaning the interface is not administratively down. An administratively down interface would show as 'administratively down' in the interface status, not 'up/up'.

C

Both interfaces have IPv6 addresses in the 2001:DB8:1:1::/64 subnet, so the subnet matches. OSPFv3 does not require interfaces to be in the same subnet for adjacency, but it does require link-local addresses to be reachable. However, the given addresses are global unicast, and the subnet match is not the issue here.

D

The router-id is configured on R2 as 2.2.2.2, as stated in the existing explanation. OSPFv3 requires a router-id, and it is present, so this is not the cause.

17
Matchingmedium

Match each routing concept to its most accurate meaning.

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

Concepts
Matches

Value used to compare trust between route sources

Value used to compare candidate paths within a route source or protocol

Indicator of route specificity

Fallback route used when no better match exists

Why these pairings

Administrative Distance measures route source trustworthiness; Metric determines best path within a protocol; Convergence is the time to reach consistent routing; Route Summarization reduces routing table size; Floating Static Route acts as a backup; ECMP enables load balancing.

Exam trap

The exam often tests your ability to distinguish between Administrative Distance and metric. Remember: AD compares routes from different sources (inter-protocol), while metrics compare routes from the same source (intra-protocol). Also, AD is not a measure of time or hop count.

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

19
MCQmedium

A network engineer wants a static route to be used only when the OSPF-learned route disappears. Which configuration approach meets that goal?

B.Use a static route with administrative distance higher than 110
C.Use a static route with metric 0
D.Redistribute the static route into OSPF
AnswerB

Administrative distance (AD) directly controls which route source is preferred, regardless of metric, and OSPF's default AD is 110. If you configure a static route with an AD higher than 110, for example 120, the router will install the OSPF route in the routing table as long as it exists. When the OSPF route is removed or fails, the router then installs the static route as a fallback, because it is the only remaining candidate. This creates a floating static route: active only when the primary dynamic route is unavailable.

Why this answer

That is a floating static route. You configure the static route with an administrative distance higher than the OSPF route so it stays in reserve until the dynamic path is lost.

Exam trap

A frequent exam trap is selecting a static route with a default or lower administrative distance than OSPF, such as AD 1, which causes the static route to be preferred immediately, overriding the OSPF route. Another common mistake is thinking that adjusting the metric of the static route or redistributing it into OSPF will create a backup route. Metrics influence path selection within routing protocols but do not affect route preference between static and OSPF routes.

Redistribution simply advertises the static route dynamically and does not provide failover control. These misunderstandings lead to incorrect configurations that do not meet the requirement of using the static route only when the OSPF route disappears.

Why the other options are wrong

A

Using a static route with administrative distance 1 makes it the most preferred route immediately, overriding the OSPF-learned route. This does not meet the requirement of using the static route only when the OSPF route disappears.

C

Setting a static route with metric 0 does not influence route preference between static and OSPF routes because metrics affect path selection within routing protocols, not across different route sources.

D

Redistributing the static route into OSPF advertises it dynamically but does not create a backup route that activates only when the OSPF route disappears. Redistribution is unnecessary for this backup behavior.

20
MCQhard

What is the main purpose of this configuration? ipv6 route 2001:db8:100::/64 GigabitEthernet0/0

A.It creates a specific IPv6 static route to 2001:db8:100::/64 out GigabitEthernet0/0.
B.It enables OSPFv3 on GigabitEthernet0/0.
C.It creates an IPv6 default route.
D.It converts the interface into a tunnel.
AnswerA

This is the correct interpretation because the `ipv6 route` command followed by the exact destination prefix `2001:db8:100::/64` and the exit interface `GigabitEthernet0/0` installs a static route in the IPv6 routing table. The route specifies that any packets destined to addresses within the 2001:db8:100::/64 subnet should be forwarded out that specific interface, without relying on dynamic routing or a separate next-hop IP address.

Why this answer

This configuration creates an IPv6 static route to a specific destination prefix through the named outgoing interface. In practical terms, the router is being told exactly how to reach that remote IPv6 network. This is not a default route and not a dynamic-routing statement. It is a manually defined path to one destination prefix.

The key concept is recognizing the difference between a specific static route and a default route.

Exam trap

A frequent exam trap is mistaking the static route command for enabling a routing protocol such as OSPFv3 or assuming it creates a default route. Candidates may also confuse static routes with tunnel interfaces. The command shown explicitly configures a static route to a specific IPv6 prefix via an interface, not a dynamic routing process or a default (::/0) route.

Misreading the prefix or interface can lead to selecting incorrect answers. Recognizing that static routes are manual, precise entries that do not activate protocols or tunnels is essential to avoid this trap.

Why the other options are wrong

B

This option is incorrect because the command shown is a static route configuration, not a command to enable OSPFv3 on an interface. OSPFv3 requires separate routing protocol configuration commands.

C

This option is incorrect because the prefix specified is a specific network (2001:db8:100::/64), not the default IPv6 route (::/0). Therefore, it does not create a default route.

D

This option is incorrect because static route commands do not convert interfaces into tunnels. Tunnel interfaces require explicit tunnel configuration commands, which are not present here.

21
MCQhard

A network administrator has configured HSRP between RouterA and RouterB for VLAN 10. End hosts using the virtual IP 192.168.1.1 as their default gateway experience intermittent connectivity losses, and pings to 192.168.1.1 often fail. The output of 'show standby brief' on both routers shows the state as Active. What is the most likely cause?

A.The virtual IP address is configured on only one router.
B.The routers are configured with mismatched HSRP authentication methods.
C.The HSRP group number on one router is set to 0.
D.The priority on both routers is configured to the same value.
AnswerB

Mismatched authentication (e.g., MD5 vs. text) causes each router to disregard the other's HSRP hellos. Each then assumes no peers exist and becomes Active, leading to both routers claiming the virtual IP and MAC, which results in ARP table flapping and intermittent connectivity.

Why this answer

When both routers show the HSRP state as Active, a 'dual-active' scenario exists, which causes intermittent connectivity because both routers forward traffic for the virtual IP. Mismatched HSRP authentication methods (e.g., one router using plain-text authentication and the other using MD5) prevent the routers from exchanging proper Hello messages, so they fail to negotiate a single Active router. This is the most likely cause because authentication mismatches break the HSRP adjacency, leading to both routers assuming the Active role.

Exam trap

Cisco often tests the concept that HSRP authentication mismatches cause a dual-active failure, while candidates may incorrectly assume that equal priorities or group number 0 are the root cause.

Why the other options are wrong

A

A missing virtual IP on one router does not cause both to be Active; the router without the virtual IP cannot claim the Active role for that address.

C

A group number mismatch does not cause both routers to appear as Active for the same virtual IP; they would be in separate groups.

D

Equal priority does not lead to multiple Active routers; HSRP uses the interface IP address as a tiebreaker to elect a single Active router.

22
MCQhard

R1 and R2 are directly connected. Their interfaces are up/up and belong to the same subnet. R1's OSPF configuration places the interface in area 0, while R2's interface is in area 1. R1 does not show R2 as an OSPF neighbor. What is the most likely cause?

A.The area IDs do not match
B.R1 must use a loopback as the router ID
C.The subnet mask is too small for OSPF to work
D.R2 should be configured as the DR manually
AnswerA

Each OSPF interface must be assigned to the same area on both ends of a link. The Hello packet carries the originating router's area ID, and a receiving router checks this value against its own; a mismatch causes the Hello to be silently discarded, leaving the neighbor list empty. Even with correct IP addressing and timers, a mismatch in area IDs prevents the OSPF adjacency from ever reaching the two-way state.

Why this answer

OSPF neighbors on the same link must agree on the area ID. Here, one side is in area 0 and the other is in area 1, so adjacency never forms even though the interfaces are up and in the same subnet.

Exam trap

A common trap is focusing on router ID or subnet mask instead of recognizing that mismatched area IDs prevent OSPF adjacency.

Why the other options are wrong

B

Incorrect. While using a loopback interface as the router ID is recommended for stability, it is not required for OSPF neighbor adjacency to form.

C

Incorrect. A /30 subnet mask is valid for point-to-point OSPF links and does not prevent neighbor relationships from forming.

D

Incorrect. The Designated Router (DR) election occurs after adjacency formation and does not prevent neighbors from forming if area IDs mismatch.

23
Multi-Selectmedium

Which TWO statements about HSRP active/standby election, priority, and preempt are true?

Select 2 answers
A.The router with the highest priority becomes the active router.
B.If priorities are equal, the router with the highest MAC address becomes active.
C.Preemption is enabled by default on all HSRP routers.
D.The 'show standby' command can be used to verify the active and standby routers, priority, and preemption status.
E.The router with the lowest priority becomes the standby router.
AnswersA, D

HSRP uses a priority value from 0 to 255, with a default of 100, to determine the active router. The router with the highest priority wins the election and becomes the active virtual router, forwarding traffic for the standby group. For example, a router with priority 150 will be chosen over a router with priority 100, regardless of which router came up first, assuming preemption is enabled.

Why this answer

In HSRP, the router with the highest priority (default 100, range 0-255) becomes the active router (A). If priorities are equal, the router with the highest IP address on the subnet wins, not the highest MAC address (B). Preemption is disabled by default; 'standby preempt' must be configured for a higher-priority router to take over (C).

The 'show standby' command displays active/standby router roles, priority values, and preemption status, verifying D. The standby router is the one with the second-highest priority, not the lowest (E).

Exam trap

Cisco often tests the misconception that HSRP uses MAC address as a tiebreaker (it uses IP address) and that preemption is enabled by default (it is not).

Why the other options are wrong

B

HSRP tie-breaking uses the highest IP address on the HSRP interface, not the MAC address. The MAC address is used for virtual MAC assignment but does not influence election.

C

Preemption is disabled by default in HSRP; it must be explicitly configured with the 'standby preempt' command. Without preemption, a higher priority router will not take over active role from a lower priority router that is already active.

E

The standby router is the router with the second-highest priority, not the lowest. The lowest priority router would only become standby if all other routers fail, as it is the least preferred.

24
MCQhard

R1 is an IPv6-only branch router. The administrator wants all unknown IPv6 destinations to be sent to the upstream router at 2001:db8:ff::1. Which command best achieves that goal?

A.ipv6 route ::/0 2001:db8:ff::1
B.ip route 0.0.0.0 0.0.0.0 2001:db8:ff::1
C.ipv6 route 2001:db8:ff::/64 ::1
D.ipv6 default-gateway 2001:db8:ff::1
AnswerA

This is the correct IPv6 default static route syntax: 'ipv6 route ::/0' matches every IPv6 prefix, and the next hop is the upstream router's global unicast address. The router installs this as a candidate default route, permitting traffic for any destination to be forwarded toward the ISP router when no more specific route matches.

Why this answer

The correct configuration is an IPv6 default static route pointing to the upstream next hop. In practical terms, this is the IPv6 version of a route of last resort. The router does not need specific entries for every remote IPv6 network if all unknown traffic should go to the upstream device.

The key distinction is that IPv6 static routing uses IPv6 syntax and the double-colon default prefix representation. This is a foundational branch-routing concept for IPv6 deployments.

Exam trap

A common exam trap is confusing IPv4 and IPv6 routing commands by attempting to use the ip route command with an IPv6 next-hop address. This is invalid because ip route is strictly for IPv4 static routes. Another trap is using ipv6 default-gateway, which is not a valid static routing command and does not install a route in the routing table.

These mistakes cause the router to drop unknown IPv6 traffic since no default route is installed. Candidates must recognize that IPv6 static routes require the ipv6 route command with the ::/0 prefix for default routing.

Why the other options are wrong

B

This option is incorrect because it uses the IPv4 static route syntax (ip route) with an IPv6 next-hop address, which is invalid and will not configure a proper IPv6 route.

C

This command creates a specific static route to the 2001:db8:ff::/64 prefix with a next hop of ::1, which is not a default route and does not forward all unknown IPv6 traffic.

D

The ipv6 default-gateway command is not used for static routing configuration and does not install a default route in the routing table, making it ineffective for forwarding unknown IPv6 destinations.

25
PBQhard

You are connected to R1 via console. R1 must forward traffic to the 203.0.113.0/24 and 2001:db8:1::/48 networks through R2 (10.0.0.2/30, 2001:db8:ff::2/64). The primary path must use a next-hop of 10.0.0.2 for IPv4 and 2001:db8:ff::2 for IPv6. Additionally, configure a floating static default route for IPv4 that uses R3 (192.0.2.2/30) as a backup only when the primary path fails. The current configuration has errors: the IPv4 static route points to a wrong next-hop (10.0.0.5) and the primary default route is missing, causing the floating route (AD 100) to become active instead of serving as a backup. Fix these issues so that both primary and backup routes work correctly.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkG0/1192.0.2.1/30G0/0192.0.2.2/30linkR1R2R3

Hints

  • Check the directly connected subnet on G0/0 — what IPs are valid?
  • A floating static route must have a higher AD than the primary route.
  • The primary default route is missing — add it with a lower AD.
A.Change the next-hop of the static route to 203.0.113.0/24 from 10.0.0.5 to 10.0.0.2, and add a default route 0.0.0.0/0 via 10.0.0.2 with AD 1. Keep the floating default route 0.0.0.0/0 via 192.0.2.2 with AD 100.
B.Change the next-hop of the static route to 203.0.113.0/24 from 10.0.0.5 to 10.0.0.2, and change the administrative distance of the floating default route from 100 to 1 so it becomes the primary default route.
C.Change the next-hop of the static route to 203.0.113.0/24 from 10.0.0.5 to 10.0.0.2, and change the administrative distance of the floating default route from 100 to 255 so it is never used.
D.Change the next-hop of the static route to 203.0.113.0/24 from 10.0.0.5 to 10.0.0.2, and remove the floating default route because it is unnecessary.
AnswerA
solution
! R1
no ip route 203.0.113.0 255.255.255.0 10.0.0.5
ip route 203.0.113.0 255.255.255.0 10.0.0.2
ip route 0.0.0.0 0.0.0.0 10.0.0.2

Why this answer

The IPv4 static route to 203.0.113.0/24 used a next-hop of 10.0.0.5, which is not a directly connected interface (R1's G0/0 is 10.0.0.1/30, so only .2 is valid). This caused a recursive lookup failure. The floating static default route had AD 100, but a floating route must have an AD higher than the primary route's AD (typically 1) so it is only used when the primary fails; setting AD 100 is correct for backup, but the primary default route was missing.

The fix: change the next-hop for 203.0.113.0/24 to 10.0.0.2, and add a primary default route with AD 1 via 10.0.0.2. The floating route's AD of 100 is fine as backup. IPv6 route was correct.

Exam trap

Watch out for two common traps: (1) Static routes must use a directly connected next-hop; using an IP not on a directly connected subnet causes recursive lookup failure. (2) Floating static routes require a higher AD than the primary route; if the primary route is missing or has a higher AD, the floating route may become active prematurely or not at all.

Why the other options are wrong

B

The floating route must have a higher AD than the primary route to act as a backup; setting it to 1 would make it preferred over the primary default route, violating the requirement.

C

AD 255 is reserved for routes that are not to be installed; a floating route needs an AD higher than the primary but less than 255 to be usable as backup.

D

The floating route is required by the scenario; removing it would eliminate the backup path, which is not the intended fix.

26
PBQhard

You are connected to R1. Configure HSRP on R1 and R2 so that R1 is the active gateway for VLAN 100 with a virtual IP of 192.0.2.254. R1 should preempt and track its G0/1 interface to decrement priority by 20 if it goes down. Currently, both routers show active for the group, and the virtual IP is incorrectly set. Troubleshoot and fix the configuration on R1 only.

Hints

  • Check the virtual IP address in the standby configuration.
  • Ensure R1's priority is higher than R2's to become active.
  • Preempt must be configured to re-elect after a priority change.
A.Change the virtual IP to 192.0.2.254 and set priority to 110.
B.Change the virtual IP to 192.0.2.254 and remove the track command.
C.Change the virtual IP to 192.0.2.254 and configure preempt on R2.
D.Change the virtual IP to 192.0.2.254 and set priority to 100.
AnswerA
solution
! R1
interface GigabitEthernet0/0.100
standby 1 ip 192.168.100.254
standby 1 priority 110
standby 1 preempt

Why this answer

The issue is that both routers are active because the virtual IP on R1 was 192.168.100.254, which is not in the same subnet as the interface IP (192.0.2.1/24), so HSRP couldn't form a common group. Changing the virtual IP to 192.0.2.254 fixes the subnet mismatch. Additionally, setting R1's priority to 110 ensures it becomes the active router because it has preempt configured, and the higher priority overrides R2's default 100.

The track command remains correct as it reduces priority if G0/1 fails.

Exam trap

Trap: Candidates may focus on the track command or preempt, but the primary issue is the virtual IP mismatch and default priority. Always verify the virtual IP belongs to the same subnet as the interface and adjust priority to ensure the desired active router.

Why the other options are wrong

B

Removing the track command would prevent R1 from decrementing priority when G0/1 fails, violating the requirement to track the interface.

C

Configuring preempt on R2 might allow it to take over, but the task only asks to fix R1; the primary issue is the virtual IP mismatch on R1.

D

Setting priority to 100 (the default) without preempt? Actually, R1 already has preempt, but with equal priority, the highest IP wins, which might be R2, so R1 might not become active. Increasing priority to 110 is required.

27
MCQhard

Why does traffic to 172.31.80.10 use the RIP route (172.31.80.0/24) instead of the static route (172.31.0.0/16)?

A.Because the RIP /24 route is more specific than the static /16 route.
B.Because RIP always overrides static routing.
C.Because static routes cannot be used for private IPv4 space.
D.Because the static route is automatically removed whenever RIP is enabled.
AnswerA

Longest-prefix match dictates that the route with the greatest number of matching bits is always used for forwarding, regardless of administrative distance or route source. The /24 prefix 172.31.80.0/24 exactly matches 172.31.80.10, whereas the /16 prefix 172.31.0.0/16 is less specific and covers a broader range. Therefore, the RIP-advertised /24 route is chosen for this destination because it provides a more precise match.

Why this answer

Traffic uses the RIP route because the static route is less specific than the RIP route. In practical terms, longest-prefix match is always evaluated first. Even though the static route is manually configured, the more specific RIP prefix wins because it describes the destination more precisely.

This is a strong route-selection item because it tests whether you can prioritize specificity ahead of route source preference.

Exam trap

A frequent exam trap is assuming that static routes always take precedence over RIP routes because static routes have a lower administrative distance. This misconception ignores the critical role of longest-prefix match in route selection. The router first selects the route with the most specific subnet mask before considering administrative distance.

Therefore, a RIP route with a /24 mask will override a static route with a /16 mask for matching traffic. Another trap is thinking that enabling RIP disables or removes static routes, which is incorrect; static routes remain active unless explicitly removed or overridden by a more specific route.

Why the other options are wrong

B

Incorrect because RIP does not always override static routes. Static routes have a lower administrative distance and are preferred when prefix lengths are equal, so this statement is false.

C

Incorrect because static routes can be used with private IPv4 address space without issue. There is no restriction preventing static routing of private addresses.

D

Incorrect because enabling RIP does not automatically remove static routes. Static routes remain active unless manually removed or overridden by a more specific route.

28
Multi-Selectmedium

Which two statements accurately describe longest-prefix match in routing?

Select 2 answers
A.The most specific matching route is preferred over broader matching routes.
B.A default route is preferred over a matching /24 because it is simpler.
C.Longest-prefix match is evaluated before choosing between broader and narrower matching routes.
D.Routers ignore subnet masks and choose only by administrative distance.
E.A /16 is always more specific than a /24.
AnswersA, C

This is the definition of longest-prefix match: among all routes in the routing table that match a destination IP, the one with the longest prefix length (i.e., the most network bits) is chosen. For example, a /24 match beats a /16 match because it identifies a smaller, more exact network. This preference is fundamental to IP routing.

Why this answer

Longest-prefix match means a router prefers the most specific route that matches the destination. In plain language, if several entries could apply to a packet, the router chooses the one that narrows the destination range most precisely. This is why a /25 can beat a /24, and a /24 can beat a /16, even if all three technically contain the same destination address.

The common mistake is to assume the router always begins with protocol trust or metric. Those factors matter, but only after the router has determined which matching routes share the same prefix length.

Exam trap

A common exam trap is assuming that a default route or a route with a simpler prefix is preferred over a more specific route. Some candidates mistakenly believe that administrative distance or metric always takes precedence over prefix length. However, Cisco routers always apply longest-prefix match first, selecting the most specific route before considering administrative distance or metric.

This misunderstanding can lead to incorrect answers when default routes or broader prefixes appear in the routing table alongside more specific routes.

Why the other options are wrong

B

Option B is incorrect because a default route is less specific than a /24 route and is only used if no more specific route exists, not because it is simpler.

D

Option D is incorrect because routers do not ignore subnet masks; prefix length is fundamental to longest-prefix match and route selection.

E

Option E is incorrect since a /24 prefix is more specific than a /16 prefix, contradicting the statement that a /16 is always more specific.

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

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

31
Drag & Dropmedium

Drag and drop the following OSPFv2 neighbor state transitions and DR/BDR election steps into the correct order for a multi-access network with default priority values.

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 OSPF neighbor state progression on a multi-access network is: Down, Init, 2-Way (with DR/BDR election), ExStart (master/slave negotiation), Exchange (DBD exchange), Loading (link-state request and update), and Full. Each option missing the Loading state or placing it incorrectly fails to represent the complete adjacency process.

Exam trap

Many learners forget the Loading state, thinking adjacency jumps directly from Exchange to Full; however, after exchanging database descriptors (DBDs), routers must request and load missing LSAs via Link State Request/Update packets, which occurs in the Loading state.

32
MCQmedium

When two routes to the same destination are learned by OSPF from different paths, what criterion does OSPF use to select the best path?

B.Lowest OSPF cost
C.Highest bandwidth of the first hop only
D.Lowest next-hop IP address
AnswerB

OSPF defines cost as a metric derived from the cumulative bandwidth of all links in the path; each interface has a cost inversely proportional to its bandwidth, and the total cost is the sum of these interface costs. The route with the lowest total OSPF cost is always preferred because it represents the shortest and most efficient path based on the link speeds. This is the fundamental metric OSPF uses to build its SPF routing table.

Why this answer

Within OSPF, the router compares the total path cost to the destination. Lower cost is preferred. Administrative distance is used when comparing routes from different routing sources, not between two OSPF paths.

Exam trap

A common exam trap is selecting administrative distance as the criterion for OSPF route selection. While administrative distance determines route preference between different routing protocols, OSPF uses cost internally to choose the best path. Another trap is assuming OSPF chooses routes based on the highest bandwidth of the first hop only, ignoring the cumulative cost of the entire path.

Candidates may also mistakenly think OSPF uses the lowest next-hop IP address, which is incorrect. These misunderstandings can lead to incorrect answers on OSPF routing questions.

Why the other options are wrong

A

Lowest administrative distance is incorrect because administrative distance is used to compare routes from different routing protocols, not to select between multiple OSPF-learned routes. Within OSPF, all routes have the same administrative distance, so this criterion does not apply.

C

Highest bandwidth of the first hop only is incorrect because OSPF considers the cumulative cost of the entire path, not just the bandwidth of the first hop. Focusing only on the first hop bandwidth ignores the cost of subsequent links.

D

Lowest next-hop IP address is incorrect because OSPF does not use the next-hop IP address as a criterion for route selection. The protocol relies exclusively on the cost metric to determine the best path.

33
PBQhard

You are connected to R1 via console. Configure OSPFv3 for IPv6 on both R1 and R2 so that the loopback0 interface on R2 (IPv6 address 2001:db8:1:2::1/64) is reachable from R1. The link between R1 and R2 uses the subnet 2001:db8:1:1::/64 with R1's G0/0 having IPv6 address 2001:db8:1:1::1/64 and R2's G0/0 having 2001:db8:1:1::2/64. OSPFv3 process ID must be 100 and all interfaces must be in area 0. After configuration, verify OSPFv3 neighbors and the IPv6 route to the loopback0 network.

Hints

  • OSPFv3 uses the 'ipv6 ospf <process-id> area <area-id>' command under each interface.
  • The loopback0 interface on R2 must also be enabled for OSPFv3 to advertise its prefix.
  • A router-id is required for OSPFv3; if not configured explicitly, the router may not form adjacency.
A.On R1: ipv6 router ospf 100, router-id 1.1.1.1, interface g0/0: ipv6 ospf 100 area 0. On R2: ipv6 router ospf 100, router-id 2.2.2.2, interface g0/0: ipv6 ospf 100 area 0, interface loopback0: ipv6 ospf 100 area 0.
B.On R1: ipv6 router ospf 100, router-id 1.1.1.1, interface g0/0: ipv6 ospf 100 area 0. On R2: ipv6 router ospf 100, router-id 2.2.2.2, interface g0/0: ipv6 ospf 100 area 0. No configuration on loopback0.
C.On R1: ipv6 router ospf 100, router-id 1.1.1.1, interface g0/0: ipv6 ospf 100 area 0. On R2: ipv6 router ospf 100, router-id 2.2.2.2, interface g0/0: ipv6 ospf 100 area 0, interface loopback0: ipv6 ospf 100 area 0, and also configure 'network 2001:db8:1:2::/64 area 0' under the OSPFv3 process.
D.On R1: ipv6 router ospf 100, router-id 1.1.1.1, interface g0/0: ipv6 ospf 100 area 0. On R2: ipv6 router ospf 100, router-id 2.2.2.2, interface g0/0: ipv6 ospf 100 area 0, interface loopback0: ipv6 ospf 100 area 0, and also configure 'passive-interface GigabitEthernet0/0' under the OSPFv3 process.
AnswerA
solution
! R1
ipv6 router ospf 100
router-id 1.1.1.1
interface GigabitEthernet0/0
ipv6 ospf 100 area 0

! R2
ipv6 router ospf 100
router-id 2.2.2.2
interface GigabitEthernet0/0
ipv6 ospf 100 area 0
interface Loopback0
ipv6 ospf 100 area 0

Why this answer

To achieve reachability to R2's loopback, OSPFv3 must be enabled on R1's and R2's G0/0 interfaces in area 0, and on R2's loopback0 so its prefix is advertised. Option A shows the minimal correct configuration. Option B omits enabling OSPF on loopback0, so the route to 2001:db8:1:2::/64 is not advertised.

Option C incorrectly uses the 'network' command, which is not supported in OSPFv3; OSPFv3 relies on interface-level 'ipv6 ospf ... area' commands. Option D adds 'passive-interface GigabitEthernet0/0', which prevents OSPF from forming a neighbor adjacency on the link, breaking the required connectivity.

Exam trap

Do not confuse OSPFv2 and OSPFv3 configuration. OSPFv3 uses only interface-level commands, and while setting a loopback as passive is safe, applying 'passive-interface' on a transit link will block neighbor adjacency.

Why the other options are wrong

B

Loopback0 is not enabled for OSPF, so its prefix is not advertised into OSPF.

C

The 'network' command is invalid in OSPFv3 for IPv6; only interface-level 'ipv6 ospf ... area' commands are used.

D

Applying 'passive-interface GigabitEthernet0/0' prevents OSPF from forming a neighbor adjacency on the link, breaking the verification of neighbor state.

34
PBQmedium

You are connected to R1 via console. R1 and R2 are configured with EIGRP AS 100. R1's loopback0 (1.1.1.1/32) should be advertised into EIGRP. However, after configuration, R2 does not have a route to 1.1.1.1/32. You need to verify the EIGRP configuration on R1 and R2 to determine why the route is missing. Use show commands to identify the issue.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30R1R2

Hints

  • Check if the loopback interface is configured as passive or if there is a network statement issue.
  • The 'passive-interface default' command makes all interfaces passive unless explicitly configured otherwise.
  • Ensure that the network statement for the loopback includes the correct wildcard mask.
A.Use 'show ip eigrp interfaces' on R1 to verify that EIGRP is enabled on the interface facing R2 and that it is not passive.
B.Use 'show ip eigrp topology' on R1 to confirm that the 1.1.1.1/32 route is in the EIGRP topology table.
C.Use 'show ip route eigrp' on R1 to verify that the 1.1.1.1/32 route is in the routing table.
D.Use 'show ip protocols' on R2 to verify that EIGRP AS 100 is configured and that the network statement includes the subnet of the interface facing R1.
AnswerA
solution
! R1
show ip eigrp neighbors
show ip eigrp topology
show ip route eigrp
show running-config | section router eigrp

! R2
show ip route eigrp

Why this answer

The root cause is that R1's interface facing R2 is passive, preventing EIGRP neighbor adjacency. 'show ip eigrp interfaces' verifies the passive state, identifying why no routes are exchanged. Option B is incorrect because the local topology table may contain the route, but without an active neighbor, it will not be advertised; the topology check alone is insufficient. Option C is incorrect because the routing table may also show the locally connected route, but that does not explain why R2 lacks it.

Option D is incorrect because checking R2's EIGRP configuration does not reveal R1's passive interface, which is the actual problem.

Exam trap

Be careful: 'passive-interface default' makes all interfaces passive, including the one needed for neighbor adjacency. You must use 'no passive-interface' on the specific interface to allow EIGRP to form a neighbor. Also, remember that passive interfaces can still advertise routes, but they do not form adjacencies.

Why the other options are wrong

B

The route being in R1's topology does not guarantee it is advertised to R2; the problem is more likely with the neighbor adjacency or outbound filters.

C

The loopback is a directly connected interface, so it will not appear in the EIGRP routing table; it is injected into EIGRP via the network statement. This command is irrelevant for checking the advertisement.

D

The problem is likely on R1, not R2. R2's configuration may be fine, but if R1 is not sending the route, R2 will never learn it. This command focuses on R2, which is not the source of the issue.

35
MCQmedium

A router output shows this neighbor state: Neighbor ID 10.1.1.1 State FULL/DR Address 192.168.12.1 What does the FULL/DR state indicate?

A.The local router is the DR and adjacency formation has failed
B.The neighbor relationship is complete and the neighbor is the DR on that segment
C.The routers are exchanging only link-state requests
D.The neighbor has been learned through BGP redistribution
AnswerB

In OSPF, the FULL neighbor state indicates that the two routers have completed database synchronization, exchanging Database Descriptors, Link-State Requests, Link-State Updates, and Link-State Acknowledgments. In a broadcast or NBMA segment, the DR designation is appended after the state, so this output means neighbor Router ID 10.1.1.1 is fully adjacent and is the Designated Router for that segment.

Why this answer

FULL means the OSPF adjacency is fully formed. The /DR suffix indicates that the listed neighbor is the Designated Router for that multiaccess segment.

Exam trap

A frequent exam trap is assuming that the FULL state with /DR means the local router is the Designated Router or that adjacency has failed. In reality, FULL indicates a successful adjacency, and the /DR suffix refers to the neighbor’s role. Candidates often confuse the neighbor ID with the local router’s role, leading to incorrect answers.

Another trap is thinking that exchanging only link-state requests corresponds to FULL state, but that actually occurs earlier in the adjacency process. Understanding the exact meaning of FULL and the DR role is essential to avoid these pitfalls.

Why the other options are wrong

A

Option A incorrectly states that adjacency formation has failed. FULL state actually indicates a successful adjacency, and the /DR suffix refers to the neighbor’s role, not failure.

C

Option C is incorrect because exchanging only link-state requests happens in earlier OSPF states, not in FULL adjacency, which means all exchanges are complete.

D

Option D is invalid because the output shows native OSPF neighbor information, not BGP redistribution, so the neighbor is not learned through BGP.

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

37
MCQhard

A technician is troubleshooting an OSPF adjacency problem: R1 and R2 are not forming a neighbor relationship. R1's OSPF configuration includes the command 'network 192.168.1.0 0.0.0.255 area 0'. R2's GigabitEthernet0/0 is configured with IP address 10.1.1.1/30 and is participating in OSPF area 0. The engineer verifies that physical connectivity is fine and OSPF is enabled on R2. What is the most likely cause?

A.The OSPF network type on R1's interface differs from the network type on R2's interface.
B.R1's network statement does not include the subnet of the link connecting R1 and R2.
C.R1's router ID is not manually set and duplicates the router ID of R2.
D.Mismatched OSPF hello and dead intervals between the routers.
AnswerB

The command 'network 192.168.1.0 0.0.0.255 area 0' only enables OSPF on interfaces with an IP address in the 192.168.1.0/24 range. The link uses the 10.1.1.0/30 subnet, so R1's interface (e.g., 10.1.1.2/30) is not matched. Consequently, OSPF is inactive on that interface, and no neighbor relationship can form.

Why this answer

R1's network statement 'network 192.168.1.0 0.0.0.255 area 0' only enables OSPF on interfaces whose IP addresses fall within the 192.168.1.0/24 range. The link between R1 and R2 uses the 10.1.1.0/30 subnet (R2's GigabitEthernet0/0 is 10.1.1.1/30), so R1's interface on that link is not covered by the network statement. Without OSPF enabled on the connecting interface, R1 cannot send or receive OSPF hello packets, preventing neighbor adjacency formation.

Exam trap

Cisco often tests the concept that the OSPF network statement must match the exact subnet of the interface connecting the routers, not just any subnet in the router's routing table, to ensure OSPF is enabled on the correct interface.

Why the other options are wrong

A

Candidates assume that OSPF adjacency failures on Ethernet links are often due to network type mismatches, without considering that the default settings match.

C

Candidates may remember that duplicate router‑IDs break OSPF and jump to this conclusion without first analyzing the simpler configuration issue.

D

Many students learn that timer mismatches are a common OSPF problem and may incorrectly assume they are the cause when the real issue is a basic configuration oversight.

38
MCQhard

R1 and R2 are directly connected. Both are configured in OSPF area 0, and they can successfully ping each other. However, OSPF neighbor adjacency fails. R1's interface is configured with `ip ospf authentication message-digest` and a valid key, while R2's interface has no OSPF authentication configured. What is the most likely cause?

A.The routers are in different OSPF areas.
B.The OSPF authentication settings do not match.
C.The routers need identical hostnames before adjacency can form.
D.The subnet mask prevents OSPF multicast traffic.
AnswerB

R1 has OSPF MD5 authentication configured for the interface, while R2 does not have matching `ip ospf authentication message-digest` configuration. As a result, R1's authenticated Hello packets are silently discarded by R2, so no neighbor adjacency forms despite the fact that the routers can ping each other. OSPF authentication requires identical types, key IDs, and passwords on both ends; any mismatch causes the Hellos to be ignored.

Why this answer

The most likely cause is an OSPF authentication mismatch. Although the routers have IP connectivity and are in the same OSPF area, OSPF adjacency requires matching security parameters. R1 uses message-digest authentication whereas R2 has none configured, preventing neighbor formation.

The other options are incorrect: the stem confirms they are in the same area (A), OSPF does not require identical hostnames (C), and successful pings prove the subnet mask does not block multicast traffic (D).

Exam trap

A frequent exam trap is assuming that successful ping and matching OSPF areas guarantee neighbor adjacency. Candidates often overlook OSPF authentication mismatches, especially when one router uses message-digest authentication and the other does not. This leads to confusion because the link appears operational at Layer 3, but OSPF packets are discarded silently.

The trap exploits the misconception that IP connectivity alone is sufficient for OSPF adjacency, ignoring the protocol’s security requirements.

Why the other options are wrong

A

Both routers are explicitly in OSPF area 0, so they are not in different areas.

C

OSPF neighbor formation does not depend on matching hostnames; router IDs and interface parameters are what matter.

D

Since the routers can ping each other, IP reachability exists, indicating the subnet mask is not preventing OSPF multicast packets from being delivered.

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

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

41
MCQmedium

Exhibit: R1 shows an OSPF neighbor stuck in EXSTART with R2 on a serial link. What is the most likely cause?

A.An OSPF area mismatch
B.A duplicate router ID on R1 and R2
C.An interface MTU mismatch between the routers
D.A missing default route on R2
AnswerC

When the MTU on the connecting interfaces differs, the routers negotiate Database Descriptor (DBD) packet sizes during the EXSTART/EXCHANGE handshake. R1 may send a DBD packet that exceeds R2's interface MTU, causing R2 to silently drop it, so the adjacency never advances past EXSTART. The router with the larger MTU will repeatedly fail to receive acknowledgment for its DBD, leaving both neighbors stuck in the EXSTART state while the OSPF process waits for a response.

Why this answer

When two OSPF routers stay in EXSTART, the first thing to suspect is an MTU mismatch. They can discover each other, but database exchange does not complete because the DBD packets do not agree on interface MTU.

Exam trap

Be aware that MTU mismatches cause EXSTART issues, while other mismatches prevent adjacency formation.

Why the other options are wrong

A

An OSPF area mismatch prevents routers from forming a full adjacency; they typically remain in the INIT or 2-WAY state, not EXSTART. The EXSTART state indicates that the routers have already exchanged Hello packets and are attempting to negotiate the master/slave relationship, which requires matching area IDs.

B

Duplicate router IDs cause OSPF to behave unpredictably, often resulting in flapping adjacencies or multiple neighbors with the same ID, but they do not typically cause a stuck EXSTART state on a single link. The routers would still progress through the states, but the adjacency may be unstable.

D

A missing default route on R2 does not affect OSPF adjacency formation. OSPF neighbors exchange routing information using multicast Hello and DD packets, which do not require a default route. The adjacency process is independent of the routing table content.

42
PBQhard

You are connected to R1. The network requires HSRP for default gateway redundancy on subnet 192.168.1.0/24. R2 should be the active router, and R1 the standby. Currently, both routers show as active. Configure R1 with priority 90, enable preempt, ensure the virtual IP is 192.168.1.254, and configure tracking of interface GigabitEthernet0/1 (subnet 203.0.113.0/30) so that if R1's tracked interface goes down, its priority decreases by 20. Verify the final state with 'show standby brief'.

Network Topology
G0/0192.168.1.1/24G0/0192.168.1.2/24G0/1203.0.113.1/30R2switchR1ISP

Hints

  • Both routers show active; check priority values and preempt configuration.
  • The virtual IP must match on both routers; verify it's 192.168.1.254.
  • Use 'standby 1 track' with the correct interface and decrement value.
A.interface GigabitEthernet0/0 standby version 2 standby 1 ip 192.168.1.254 standby 1 priority 90 standby 1 preempt standby 1 track GigabitEthernet0/1 20
B.interface GigabitEthernet0/0 standby version 2 standby 1 ip 192.168.1.254 standby 1 priority 110 standby 1 preempt standby 1 track GigabitEthernet0/1 20
C.interface GigabitEthernet0/0 standby version 2 standby 1 ip 192.168.1.254 standby 1 priority 90 standby 1 preempt standby 1 track GigabitEthernet0/1 30
D.interface GigabitEthernet0/0 standby version 2 standby 1 ip 192.168.1.254 standby 1 priority 90 standby 1 preempt standby 1 track GigabitEthernet0/0 20
AnswerA
solution
! R1
interface GigabitEthernet0/0
standby 1 priority 90
standby 1 preempt
standby 1 track GigabitEthernet0/1 20
end

Why this answer

The scenario requires R2 to be the HSRP active router. By default, both routers have priority 100, and HSRP election would select the router with the higher IP address as active if priorities are equal. To ensure R2 becomes active, R1's priority must be lowered to 90.

Additionally, tracking interface GigabitEthernet0/1 with a decrement of 20 is configured so that if R1's uplink fails, its priority drops to 70, further preventing it from becoming active. The correct configuration on R1 sets priority 90, enables preempt, and tracks the correct interface with decrement 20. Options B, C, and D are wrong because: B sets a higher priority (110) which would make R1 active; C uses an incorrect decrement of 30; and D tracks the wrong interface (Gig0/0 instead of Gig0/1).

Exam trap

Trap: Candidates may think that increasing priority ensures redundancy, but the requirement specifies R2 as active, so R1's priority must be lower. Also, ensure the tracked interface is the correct one (Gig0/1) and the decrement value matches exactly.

Why the other options are wrong

B

The priority value is higher than the default, which would make R1 active instead of standby.

C

The decrement value does not match the required 20; it is 30.

D

The tracked interface is wrong; it should be GigabitEthernet0/1, not GigabitEthernet0/0.

43
MCQmedium

Which WAN technology is most closely associated with establishing a direct point-to-point data-link connection between two routers over a serial link?

A.PPP
B.CAPWAP
D.STP
AnswerA

PPP (Point-to-Point Protocol) is a data-link layer WAN encapsulation specifically designed for establishing and maintaining point-to-point connections over serial links. It provides essential features such as authentication (PAP/CHAP), error detection, and optional multilink bundling, making it the standard for legacy serial WAN interfaces. This directly aligns with the question's focus on WAN technologies, confirming PPP as the correct answer.

Why this answer

PPP is the WAN technology most closely associated with point-to-point serial connections between routers. In practical terms, it is a Layer 2 WAN encapsulation method commonly discussed in traditional serial WAN contexts. It supports features such as authentication and link negotiation that make it more flexible than older basic encapsulations.

This is one of the classic CCNA WAN topics.

Exam trap

Don't confuse general WAN technologies like Frame Relay and MPLS with protocols specifically designed for point-to-point serial links.

Why the other options are wrong

B

CAPWAP is a control and provisioning protocol for wireless access points and controllers, not a WAN encapsulation for serial links. It operates at the application layer and is used in wireless LAN architectures, not for point-to-point data-link connections.

C

SNMP is an application-layer protocol for network management and monitoring, used to collect statistics and configure devices. It does not provide data-link layer encapsulation or establish point-to-point connections over serial links.

D

STP is a Layer 2 protocol that prevents loops in Ethernet switched networks by blocking redundant paths. It has no role in WAN serial links, which are point-to-point and inherently loop-free.

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

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

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

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

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

49
MCQhard

A router learns 10.0.0.0/8 from OSPF and 10.10.0.0/16 from a static route. Which route is used for traffic to 10.10.20.1?

A.The OSPF 10.0.0.0/8 route
B.The static 10.10.0.0/16 route
C.The default route if present
D.Neither route, because the networks overlap
AnswerB

This is correct because it is the more specific matching route.

Why this answer

The static /16 route is used because it is more specific than the OSPF /8 route. In practical terms, even though both routes match the destination, the router chooses the one that narrows the destination range more precisely. Since 10.10.20.1 belongs to 10.10.0.0/16, that entry wins.

This question reinforces that longest-prefix match comes first. The broader OSPF route still matters for other destinations inside 10.0.0.0/8, but not for this one.

Exam trap

A frequent mistake is to assume that the OSPF route will be used simply because it is dynamically learned, or because it covers a larger network range. Candidates often overlook that the router applies longest-prefix match first, which means the more specific static route with a /16 mask takes precedence over the broader /8 OSPF route. This misunderstanding leads to incorrect answers, as the router does not ignore static routes in favor of OSPF when the static route is more specific.

Remember, overlapping routes are common, and the router always chooses the route with the most specific subnet mask matching the destination.

Why the other options are wrong

A

The OSPF 10.0.0.0/8 route is less specific than the static 10.10.0.0/16 route. Since the router uses longest-prefix match, the broader /8 route is not selected for traffic destined to 10.10.20.1.

C

The default route would only be used if no more specific matching routes exist. Since both OSPF and static routes match, and the static route is more specific, the default route is not used here.

D

Overlapping networks are common in routing tables and do not prevent route selection. The router resolves overlapping prefixes by choosing the longest-prefix match, so this option is incorrect.

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

51
MCQmedium

What is the operational purpose of configuring the IPv6 route ::/0?

A.It provides a fallback path for unknown remote IPv6 destinations.
B.It enables OSPFv3 on the upstream interface.
C.It converts link-local addresses into global unicast addresses.
D.It summarizes all IPv6 routes into one /64 route.
AnswerA

A static default route ::/0 is the IPv6 equivalent of 0.0.0.0/0, serving as the route of last resort. When the routing table contains no more-specific entry for a destination, the router forwards the packet to the next hop defined by this default route. This allows reachability to any IPv6 network not explicitly known, not just summarizing routes.

Why this answer

The configured route is a default route. In practical terms, it gives the router one simple next hop for any remote IPv6 destination that is not matched by a more specific entry. That is exactly what a small branch router often needs when it has a single upstream path.

This is the same design logic as an IPv4 default route, but with IPv6 syntax and addressing.

Exam trap

A frequent exam trap is mistaking the IPv6 default route (::/0) for a command that enables OSPFv3 or performs address translation. Some candidates incorrectly believe that the static route command configures OSPFv3 or converts link-local addresses to global unicast addresses. Another common error is interpreting ::/0 as a summary route with a /64 prefix, which it is not.

Understanding that ::/0 is specifically a default route that provides a fallback path for all unknown IPv6 destinations is crucial to avoid these misconceptions.

Why the other options are wrong

B

Option B is incorrect because the static route command does not enable OSPFv3. OSPFv3 requires separate configuration commands and is a dynamic routing protocol, unlike static routes.

C

Option C is incorrect because routing does not convert link-local addresses into global unicast addresses. Address types remain consistent, and routing forwards packets based on existing address formats.

D

Option D is incorrect because ::/0 is a default route covering all IPv6 addresses, not a summary route with a /64 prefix. Summarization involves aggregating multiple routes into a larger prefix, which is not the case here.

52
MCQhard

A router has routes to 10.50.0.0/16, 10.50.10.0/24, and 10.50.10.128/25. Which route is used for traffic to 10.50.10.140?

A.10.50.0.0/16
B.10.50.10.0/24
C.10.50.10.128/25
AnswerC

This is correct because .140 falls inside the 10.50.10.128/25 range.

Why this answer

The /25 route is used because it is the most specific matching prefix. In practical terms, 10.50.10.140 belongs to the upper half of the 10.50.10.0/24 space, which is exactly what 10.50.10.128/25 describes. Even though the /24 and /16 also match, longest-prefix match prefers the narrowest route.

This is a direct route-selection question. It reinforces that the router chooses the route that describes the destination most precisely.

Exam trap

A frequent exam trap is choosing a less specific route such as 10.50.0.0/16 or 10.50.10.0/24 because they also include the destination IP address. Candidates might overlook the importance of the subnet mask length and assume any matching route is acceptable. This mistake ignores the longest-prefix match rule, which always prefers the route with the most bits matching the destination IP.

Selecting a broader route leads to incorrect routing decisions and fails to reflect Cisco’s routing behavior.

Why the other options are wrong

A

The route 10.50.0.0/16 is the least specific among the options because it covers a large range of IP addresses. Although it matches the destination IP 10.50.10.140, it is overridden by more specific routes with longer subnet masks, so it is not chosen.

B

The route 10.50.10.0/24 is more specific than the /16 but less specific than the /25. Since 10.50.10.140 falls within the /25 subnet, the router prefers the /25 route over this /24 route, making this option incorrect.

D

The default route is only used when no other matching routes exist. Since multiple specific routes match 10.50.10.140, the router will not use the default route, so this option is incorrect.

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

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

55
PBQmedium

You are connected to R1 via console. R1 is connected to R2 via GigabitEthernet0/0 and to R3 via GigabitEthernet0/1. OSPF has been configured, but R1 is not forming a full adjacency with R2. You run `show ip ospf neighbor` on R1 and see R2 stuck in EXSTART state. You also run `show ip ospf interface GigabitEthernet0/0` and see the network type is broadcast. You need to identify and resolve the issue.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkG0/110.0.1.1/30G0/110.0.1.2/30linkR1R2R3

Hints

  • Check the OSPF neighbor state with show ip ospf neighbor.
  • The issue may be related to the OSPF network type.
  • R1 and R2 are connected via a point-to-point link.
A.Change the OSPF network type on R1's GigabitEthernet0/0 interface to point-to-point.
B.Increase the OSPF hello interval on R1's GigabitEthernet0/0 interface to match R2's hello interval.
C.Configure the OSPF priority on R1's GigabitEthernet0/0 interface to 0 to prevent it from becoming the DR.
D.Add the 'ip ospf network broadcast' command on R1's GigabitEthernet0/0 interface.
AnswerA
solution
! R1
interface GigabitEthernet0/0
ip ospf network point-to-point
end

Why this answer

R1's Gi0/0 defaults to OSPF broadcast network type, while R2 is likely configured as point-to-point. This mismatch prevents the routers from forming a full adjacency, often leaving them stuck in EXSTART or 2-WAY state. Changing R1's interface to point-to-point aligns the network types, allowing adjacency to form.

The other options are incorrect because hello interval mismatches (B) or DR priority (C) are not the root cause, and adding the broadcast command (D) would not fix a point-to-point mismatch.

Exam trap

Candidates often forget that Ethernet interfaces default to broadcast OSPF network type, even on point-to-point links. They may focus on mismatched timers or priorities, but the key is to recognize that the broadcast network type introduces DR/BDR election, which is not needed on a direct link.

Why the other options are wrong

B

The specific factual error: Changing hello intervals is not the standard fix for a point-to-point link not forming adjacency; the network type is the primary issue.

C

The specific factual error: Setting priority to 0 does not eliminate the DR/BDR election process; it only ensures the router does not participate as DR/BDR.

D

The specific factual error: The broadcast network type is already the default on Ethernet; the command is redundant and does not address the need for a point-to-point network type.

56
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure OSPFv3 for IPv6 on a Cisco router and verify basic neighbor relationships.

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

Why this order

IPv6 unicast routing must be enabled first, as OSPFv3 relies on the router being IPv6 aware. Next, the OSPFv3 process is created globally. The interface must then be IPv6-enabled to auto-generate the link-local address used by OSPFv3 for forming adjacencies.

After that, the interface is added to OSPFv3 Area 0. Finally, the 'show ospfv3 neighbor' command is used to verify that an adjacency has formed.

57
MCQmedium

A network engineer is configuring HSRP on a pair of Cisco routers to provide first-hop redundancy for a subnet. The goal is to ensure that the router with the highest IPv4 address always becomes the active router, and that it automatically reclaims the active role after a failure. The engineer configures priority 100 on both routers. Which additional configuration is required to meet these objectives?

A.Configure priority 150 on one router and priority 50 on the other.
B.Configure the preempt command on both routers.
C.Configure the standby 1 priority 100 command on both routers.
D.Configure the standby 1 priority 100 on one router and standby 1 priority 50 on the other.
AnswerB

With equal priority, HSRP elects the active router based on the highest IP address. The preempt command ensures that if a router with a higher IP address (and equal priority) recovers after a failure, it will preempt the current active router and reclaim the active role, as required.

Why this answer

HSRP uses priority to determine the active router, but without the preempt command, a router with a higher priority will not take over the active role if it comes online after a failure. Since both routers have the same priority (100), the router with the highest IPv4 address will become active initially, but to ensure it automatically reclaims the active role after a failure, preempt must be enabled on both routers. This allows the router with the higher IP address (and equal priority) to preempt the current active router when it recovers.

Exam trap

Cisco often tests the misconception that priority alone determines active router selection and that preempt is only needed when priorities differ, but the trap here is that without preempt, even with equal priorities, the router with the higher IP address will not reclaim the active role after a failure.

Why the other options are wrong

A

Configuring different priorities (150 and 50) would force the router with priority 150 to become active regardless of IP address, contradicting the requirement to use the highest IPv4 address for election. HSRP uses priority as the primary criterion; only when priorities are equal does the highest IP address break the tie.

C

The command 'standby 1 priority 100' is already implied by setting priority 100; it does not enable preemption. With equal priority and no preempt, both routers will remain in standby state indefinitely because HSRP cannot determine an active router without a tiebreaker or preemption. The active router election requires either a priority difference or preempt to resolve the tie.

D

Configuring different priorities (100 and 50) would make the router with priority 100 active regardless of IP address, which violates the requirement to use the highest IPv4 address for election. The requirement explicitly states that priorities must remain equal so that the highest IP address determines the active router.

58
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).

59
Multi-Selectmedium

Which three options accurately describe characteristics of OSPFv2 in a single area? (Choose three.)

Select 3 answers
.OSPF uses cost as its metric, which is derived from the bandwidth of the interface.
.Hello packets are used to discover neighbors and maintain adjacencies.
.The designated router (DR) is elected on broadcast multiaccess networks to reduce LSAs flooding.
.OSPFv2 supports IPv6 routing natively without any additional configuration.
.Link-state advertisements (LSAs) are sent periodically every 30 seconds by default.
.OSPF routers in the same area must be configured with the same router ID.

Why this answer

OSPFv2 uses cost as its metric, derived from interface bandwidth using the formula cost = reference bandwidth / interface bandwidth (default reference bandwidth is 100 Mbps). Hello packets are used to discover neighbors, maintain adjacencies, and act as keepalives (default every 10 seconds on broadcast networks). The designated router (DR) is elected only on broadcast multiaccess networks (e.g., Ethernet) to reduce LSA flooding.

The incorrect options: OSPFv2 does not natively support IPv6 (OSPFv3 is needed for IPv6); LSAs are refreshed every 30 minutes, not 30 seconds; router IDs must be unique across the OSPF domain, not the same in an area.

Exam trap

Common mistakes include thinking OSPF uses hop count or bandwidth alone as metric, that the DR is elected on all network types, or that Hello packets are only for initial discovery rather than ongoing adjacency maintenance.

Why the other options are wrong

D

OSPFv2 does not natively support IPv6; OSPFv3 is required for IPv6 routing.

E

Link-state advertisements (LSAs) are refreshed every 30 minutes by default, not every 30 seconds.

F

OSPF router IDs must be unique throughout the OSPF domain; routers in the same area can have different router IDs.

60
MCQhard

Exhibit: A router has both an OSPF-learned default route and a floating static default route. Which route is currently active?

A.The static route, because static routes always override dynamic routes
B.The OSPF default route, because AD 110 beats the floating static AD 150
C.Both routes load-balance automatically
D.Neither route, because a default route cannot be learned by OSPF
AnswerB

The OSPF default route is preferred because its administrative distance (AD) is 110, which is lower than the floating static route's configured AD of 150. In Cisco IOS, when multiple routes exist for the same destination prefix, the route with the lowest AD is installed in the routing table. Since the OSPF route has a better (lower) AD, it becomes the active default route. The static route remains in the configuration as a backup and will only be used if the OSPF route disappears.

Why this answer

A floating static route only takes over when its administrative distance is set higher than the preferred route and the preferred route disappears. The routing table shows the OSPF default because AD 110 is lower than the floating static AD 150.

Exam trap

A frequent exam trap is believing that static routes always override dynamic routes simply because they are manually configured. This misconception leads to selecting the static route as active regardless of administrative distance. In reality, Cisco routers use administrative distance to determine route preference, and a floating static route is deliberately configured with a higher AD to act as a backup.

The router prefers the OSPF route with AD 110 over the floating static route with AD 150, so the static route is inactive unless the OSPF route fails. Misunderstanding this can cause incorrect answers about route selection in routing tables.

Why the other options are wrong

A

This option incorrectly states that static routes always override dynamic routes. In Cisco routing, static routes only override dynamic routes if their administrative distance is lower. Since the floating static route has a higher AD (150) than OSPF (110), it is not preferred here.

C

This option is incorrect because load balancing only occurs between routes with equal administrative distances and metrics. Here, the OSPF and floating static routes have different ADs, so only the route with the lower AD is active.

D

This option is false because OSPF can advertise and learn default routes using the 'default-information originate' command. Therefore, OSPF can carry a default route, making this statement incorrect.

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

62
PBQhard

You are connected to R1. Configure OSPFv3 for IPv6 on R1 and R2 so that the loopback0 interface on R1 (IPv6 address 2001:db8:1::1/64) can ping the loopback0 interface on R2 (IPv6 address 2001:db8:2::1/64). The routers are connected via their GigabitEthernet0/0 interfaces using IPv6 addresses 2001:db8:12::1/64 (R1) and 2001:db8:12::2/64 (R2). OSPFv3 process ID 100 must be used, and all interfaces must be in area 0.

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

Hints

  • OSPFv3 for IPv6 is configured under the 'ipv6 router ospf' process, not 'router ospf'.
  • Each interface that should participate in OSPFv3 must have the 'ipv6 ospf <process-id> area <area-id>' command.
  • Don't forget to set a router-id; otherwise the OSPFv3 process may not start.
A.R1(config)# ipv6 unicast-routing R1(config)# ipv6 router ospf 100 R1(config-rtr)# router-id 1.1.1.1 R1(config-rtr)# interface gigabitethernet0/0 R1(config-if)# ipv6 ospf 100 area 0 R1(config-if)# interface loopback0 R1(config-if)# ipv6 ospf 100 area 0 R2(config)# ipv6 unicast-routing R2(config)# ipv6 router ospf 100 R2(config-rtr)# router-id 2.2.2.2 R2(config-rtr)# interface gigabitethernet0/0 R2(config-if)# ipv6 ospf 100 area 0 R2(config-if)# interface loopback0 R2(config-if)# ipv6 ospf 100 area 0
B.R1(config)# ipv6 unicast-routing R1(config)# ipv6 router ospf 100 R1(config-rtr)# router-id 1.1.1.1 R1(config-rtr)# network 2001:db8:12::0/64 area 0 R1(config-rtr)# network 2001:db8:1::0/64 area 0 R2(config)# ipv6 unicast-routing R2(config)# ipv6 router ospf 100 R2(config-rtr)# router-id 2.2.2.2 R2(config-rtr)# network 2001:db8:12::0/64 area 0 R2(config-rtr)# network 2001:db8:2::0/64 area 0
C.R1(config)# ipv6 unicast-routing R1(config)# ipv6 router ospf 100 R1(config-rtr)# router-id 1.1.1.1 R1(config-rtr)# interface gigabitethernet0/0 R1(config-if)# ipv6 ospf 100 area 0 R2(config)# ipv6 unicast-routing R2(config)# ipv6 router ospf 100 R2(config-rtr)# router-id 2.2.2.2 R2(config-rtr)# interface gigabitethernet0/0 R2(config-if)# ipv6 ospf 100 area 0
D.R1(config)# ipv6 unicast-routing R1(config)# ipv6 router ospf 100 R1(config-rtr)# router-id 1.1.1.1 R1(config-rtr)# interface gigabitethernet0/0 R1(config-if)# ipv6 ospf 100 area 0 R1(config-if)# interface loopback0 R1(config-if)# ipv6 ospf 100 area 0 R2(config)# ipv6 unicast-routing R2(config)# ipv6 router ospf 100 R2(config-rtr)# router-id 1.1.1.1 R2(config-rtr)# interface gigabitethernet0/0 R2(config-if)# ipv6 ospf 100 area 0 R2(config-if)# interface loopback0 R2(config-if)# ipv6 ospf 100 area 0
AnswerA
solution
! R1
ipv6 router ospf 100
router-id 1.1.1.1
interface Loopback0
ipv6 ospf 100 area 0
interface GigabitEthernet0/0
ipv6 ospf 100 area 0

Why this answer

OSPFv3 for IPv6 requires enabling IPv6 unicast routing globally and configuring OSPFv3 on interfaces. The missing step was enabling OSPFv3 process 100 and assigning area 0 to the interfaces. On R1, the commands 'ipv6 router ospf 100' and 'router-id 1.1.1.1' create the OSPFv3 process, then 'ipv6 ospf 100 area 0' under each interface enables OSPFv3 on those interfaces.

Similar commands on R2 with a unique router-id complete the configuration. Verification with 'show ospfv3 neighbor' should show R2's router-id, and 'show ipv6 route ospf' should display the remote loopback network.

Exam trap

The most common trap is using OSPFv2-style 'network' commands for OSPFv3. Remember that OSPFv3 uses interface-level configuration. Also, ensure all interfaces that need to be advertised (including loopbacks) have OSPFv3 enabled, and that router-ids are unique.

Why the other options are wrong

B

The specific factual error is that OSPFv3 uses interface-level configuration, not network statements like OSPFv2 for IPv4.

C

The specific factual error is that OSPFv3 must be enabled on all interfaces that should participate in the routing process, including loopback interfaces.

D

The specific factual error is that OSPF router-ids must be unique. Using the same router-id on both routers prevents proper neighbor formation.

63
MCQhard

Two routers are directly connected and running OSPF. Their IP addresses and hello timers match, but they still do not become neighbors. One side is configured for area 0 and the other for area 1 on the shared link. What is the most likely cause?

A.The interfaces are in different OSPF areas on the shared link.
B.The routers need identical hostnames.
C.The link must be converted to a trunk.
D.The routers must use static routes first.
AnswerA

OSPF requires that the interfaces on a directly connected link belong to the same area for the neighbour adjacency to form. In this scenario, the two routers are configured with area 0 and area 1 respectively on the shared link, which violates the OSPF rule that the area ID must match on the connecting interface. This mismatch prevents the exchange of hello packets from progressing to the 2-Way state, directly satisfying the stem’s condition that hello timers and IP addresses are correct yet adjacency fails.

Why this answer

An OSPF area mismatch is the most likely cause. In plain language, the routers may be physically connected and able to exchange packets, but OSPF still requires that both sides agree on the area associated with the shared segment. If one interface belongs to area 0 and the other belongs to area 1, the routers do not view the segment in the same OSPF context and the adjacency fails.

This is a classic CCNA troubleshooting case because the addressing can look perfect while the protocol still refuses to form a neighbor relationship. OSPF is strict about several interface-level values, and the area assignment is one of the most important.

Exam trap

A frequent exam trap is assuming that matching IP addresses and hello timers alone guarantee OSPF adjacency. Candidates often overlook the OSPF area configuration, which must be identical on both sides of a shared link. This mistake leads to confusion because the routers appear connected and can exchange packets, but OSPF adjacency never forms.

The trap is focusing on interface parameters like timers or IP addressing while ignoring the fundamental requirement that both interfaces must belong to the same OSPF area to establish neighbor relationships.

Why the other options are wrong

B

This option is incorrect because router hostnames do not affect OSPF neighbor relationships. OSPF adjacency depends on interface-level parameters, not device names, so identical hostnames are not required.

C

This option is incorrect because converting the link to a trunk is irrelevant for OSPF adjacency on routed interfaces. OSPF operates on Layer 3 interfaces, and trunking is a Layer 2 concept used for VLAN tagging, not required for OSPF neighbor formation.

D

This option is incorrect because static routes are not necessary for OSPF adjacency. OSPF dynamically discovers neighbors and exchanges routing information without requiring preconfigured static routes.

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

65
Multi-Selectmedium

Which two statements about OSPF neighbor requirements on a shared Ethernet segment are correct? (Choose two.)

Select 2 answers
A.They must be in the same OSPF area on that link.
B.They must use the same subnet on the connected interfaces.
C.They must have identical router IDs.
D.They must use the same process ID number on both routers.
AnswersA, B

OSPF hello packets carry the area ID, and a router will only accept a neighbor if the area on the shared link matches its own. If the area IDs differ, the routers will drop each other's hello packets and never reach the 2-Way or Full state, so adjacency is impossible. Thus, being in the same area on that specific link is a strict prerequisite for forming a neighbor relationship.

Why this answer

Neighbors must agree on key parameters such as area ID and subnet, and they exchange Hello packets on the segment.

Exam trap

A frequent exam trap is confusing the OSPF process ID with the area ID or router ID requirements. Candidates often think the process ID must match between neighbors, but it is locally significant and does not affect adjacency. Another common mistake is assuming router IDs must be identical; in fact, router IDs must be unique within the OSPF domain to prevent routing conflicts.

Misunderstanding these distinctions can lead to selecting incorrect answers about neighbor requirements. The key is to focus on area ID and subnet matching for adjacency on shared Ethernet segments, not process ID or identical router IDs.

Why the other options are wrong

C

Incorrect because router IDs must be unique within the OSPF domain, not identical. Identical router IDs cause routing conflicts and prevent proper operation.

D

Incorrect because the OSPF process ID is locally significant to each router and does not need to match between neighbors for adjacency formation.

66
MCQhard

A router shows this output: R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.1.1.2 1 FULL/DR 00:00:34 192.168.12.2 GigabitEthernet0/0 10.1.1.3 1 2WAY/DROTHER 00:00:39 192.168.12.3 GigabitEthernet0/0 Which statement is correct?

A.R1 has failed to form adjacency with 10.1.1.3
B.This can be normal on a broadcast segment where DROTHER routers remain in 2-Way
C.R1 has a duplicate router ID with 10.1.1.3
D.The interface is passive
AnswerB

On multiaccess broadcast networks, OSPF elects a DR and BDR. Other routers (DROTHERs) only form fully adjacent neighbors with the DR and BDR; between DROTHERs, they stop at the 2-Way state because they do not exchange LSAs directly. This reduces flooding and is expected behavior, not an error.

Why this answer

On broadcast OSPF networks, full adjacency is typically formed with the DR and BDR. DROTHER routers can remain in the 2-Way state with one another and still be operating normally.

Exam trap

Be cautious not to confuse the 2WAY state with being a BDR or DR. Understand the significance of FULL/DR and 2WAY/DROTHER states.

Why the other options are wrong

A

The 2-Way state is a normal OSPF neighbor state on broadcast multiaccess networks for non-DR/BDR routers (DROTHERs). It indicates that bidirectional communication has been established, but full adjacency is not required because they do not exchange LSAs directly. This is not a failure.

C

A duplicate router ID would cause OSPF neighbor state to oscillate or remain in EXSTART/EXCHANGE, not stabilize in 2-Way. The output shows a stable 2-Way state, which is normal for DROTHERs. Duplicate IDs would also generate error messages in the logs.

D

A passive interface in OSPF does not send Hello packets and therefore cannot form any neighbor adjacency. The output shows two neighbors in valid states (FULL and 2-Way), which proves the interface is active and sending Hellos.

67
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure Router R1 with OSPFv2 process 1 to form neighbor adjacencies only on GigabitEthernet0/1 while preventing OSPF hello packets on all other OSPF-enabled interfaces.

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

Why this order

First, enter OSPF router configuration mode. Then assign a Router ID (optional but good practice). Next, advertise the local subnet with a network statement to enable OSPF on interfaces.

Then apply passive-interface default to suppress hellos on all OSPF interfaces. Finally, use no passive-interface to allow adjacency on the specific interface.

68
Multi-Selectmedium

Which TWO statements about IPv4 and IPv6 static routing are correct?

Select 2 answers
A.A default static route is used when no dynamic routing protocols are configured.
B.A floating static route is configured with a higher administrative distance than the primary route.
C.A floating static route must have a lower administrative distance than the primary route.
D.An IPv6 default static route uses the prefix ::/0.
E.An IPv6 static route can specify an IPv4 address as the next-hop.
AnswersB, D

A floating static route is a backup route that is installed in the routing table only when the primary route (with a lower AD) is not available. By assigning a higher AD, the router prefers the primary route when it is reachable.

Why this answer

A floating static route is configured with a higher administrative distance to serve as a backup when the primary route fails. Option D is correct because an IPv6 default static route uses the prefix ::/0 to match all destinations. Option A is incorrect because a default static route can be used independently of whether dynamic routing protocols are configured; it is simply a route with destination 0.0.0.0/0.

Option C is incorrect because a floating static route must have a higher AD, not lower, than the primary route. Option E is incorrect because an IPv6 static route cannot specify an IPv4 address as the next-hop; it must use an IPv6 address or an outgoing interface.

Exam trap

Cisco often tests the misconception that a floating static route must have a lower administrative distance than the primary route, when in fact it must be higher to serve as a backup.

Why the other options are wrong

A

A default static route is used as a gateway of last resort for any destination not in the routing table, regardless of whether dynamic routing protocols are configured. It is not dependent on the absence of dynamic routing.

C

A floating static route is designed to be a backup; therefore, it must have a higher AD than the primary route so that the primary route is preferred.

E

IPv6 static routes require an IPv6 next-hop address. Using an IPv4 address would be invalid because the router would not be able to resolve it in the IPv6 routing table.

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

70
MCQhard

A router learns the same destination prefix from OSPF and EIGRP. The prefix length is identical, and both routes are valid. Which route is preferred by default?

A.The EIGRP route
B.The OSPF route
C.Both routes are installed equally because the prefix length matches
D.Neither route is used because protocols cannot advertise the same prefix
AnswerA

The EIGRP route is preferred because EIGRP's default administrative distance (AD) of 90 is lower than OSPF's default AD of 110. When a router receives the same destination prefix from multiple routing protocols, it compares AD values and installs the route with the lowest AD into the routing table. Therefore, the EIGRP route wins this selection.

Why this answer

The EIGRP route is preferred by default because EIGRP has a lower default administrative distance than OSPF. In practical terms, once the prefix length is the same, the router compares source trust. Lower administrative distance wins. EIGRP’s default of 90 beats OSPF’s default of 110.

This is not a longest-prefix question. The prefix is identical, so the decision is about source preference rather than specificity.

Exam trap

A frequent exam trap is believing that when two routing protocols advertise the same prefix with identical prefix lengths, the router installs both routes equally or performs load balancing. This misconception ignores the role of administrative distance, which is the primary factor in route preference when prefix lengths match. Another trap is thinking that OSPF is always preferred because it is a widely used IGP, but Cisco routers prioritize routes based on AD values, not protocol popularity.

Misunderstanding this can lead to incorrect answers about route selection in multi-protocol environments.

Why the other options are wrong

B

This option is incorrect because OSPF’s default administrative distance (110) is higher than EIGRP’s (90), making OSPF routes less preferred when both advertise the same prefix.

C

This option is incorrect because equal prefix length does not cause routers to install both routes equally; administrative distance determines which route is preferred and installed.

D

This option is incorrect because routers can receive and compare the same prefix from multiple routing protocols; they do not reject prefixes simply because they come from different sources.

71
Multi-Selectmedium

Which two statements accurately describe OSPF passive interfaces?

Select 2 answers
A.It prevents OSPF from sending hello packets on that interface.
B.It can still allow the connected network to be advertised into OSPF.
C.It changes OSPF into a static route on that interface.
D.It forces the interface to become the router ID.
E.It disables OSPF on every interface in the router automatically.
AnswersA, B

The OSPF passive-interface command suppresses the transmission of hello packets out of that specific interface, preventing the router from establishing or maintaining neighbor adjacencies on that link. Because OSPF relies on hello packets over multicast 224.0.0.5 to discover neighbors, a passive interface will not send or receive those hellos, so no OSPF neighbor relationship can form there. However, the interface remains an OSPF-attached network and its prefix is still injected into the LSDB and advertised to other neighbors reachable through active interfaces.

Why this answer

An OSPF passive interface stops hello packet exchange on that interface while still allowing the connected network to be advertised into OSPF through other active adjacencies. In plain language, it tells the router not to try to form neighbors on that interface, but not to forget that the network exists. This is very useful on user-facing or stub-like interfaces where no routing neighbor should appear.

The wrong answers often treat passive as if it disables OSPF globally or removes the network completely. The two correct answers are the ones that preserve the suppression of adjacency on that interface and the continued advertisement of the connected network.

Exam trap

A common exam trap is to confuse the effect of the OSPF passive interface command with disabling OSPF entirely on that interface or converting OSPF routes into static routes. Some candidates mistakenly believe that passive interfaces stop all OSPF activity or remove the network from OSPF advertisements. In reality, passive interfaces only stop OSPF hello packets and adjacency formation but continue to advertise the connected network.

Misunderstanding this can lead to incorrect answers or network misconfigurations, especially when interpreting how OSPF maintains routing information despite passive interfaces.

Why the other options are wrong

C

This option is incorrect because passive interfaces do not convert OSPF routes into static routes; OSPF routing remains dynamic and active elsewhere.

D

This option is incorrect because the passive-interface command does not affect the router ID selection, which is determined by other OSPF rules.

E

This option is incorrect because passive-interface affects only the specified interface unless configured globally; it does not disable OSPF on all interfaces.

72
MCQmedium

Which command correctly configures an IPv6 default route using next-hop address 2001:db8:1::1?

A.ipv6 route ::/0 2001:db8:1::1
B.ip route :: 2001:db8:1::1
C.ipv6 default-route 2001:db8:1::1
D.ip default-gateway 2001:db8:1::1
AnswerA

The IOS global configuration command `ipv6 route` is the valid method to install a static IPv6 route, and the network prefix `::/0` is the IPv6 default route because it matches all destination addresses. Specifying `2001:db8:1::1` as the next hop tells the router to forward all unmatched IPv6 traffic to that neighbor. This is the exact syntax Cisco IOS uses for an IPv6 default route.

Why this answer

The correct IPv6 default route uses the prefix ::/0 with the command 'ipv6 route ::/0'. Option B is wrong because 'ip route' is used for IPv4 routes, not IPv6. Option C uses 'ipv6 default-route', which is not a valid Cisco IOS command.

Option D sets the management default gateway for IPv4 only and does not insert a route into the IPv6 routing table.

Exam trap

Be cautious about the syntax order and the correct representation of the IPv6 default route prefix.

Why the other options are wrong

B

Uses 'ip route', which is for IPv4; IPv6 routes require 'ipv6 route'.

C

'ipv6 default-route' is not a valid Cisco IOS command.

D

'ip default-gateway' configures the management default gateway for IPv4, not an IPv6 routing entry.

73
MCQmedium

Why does a passive interface in OSPF still matter even though it does not send hello packets?

A.The connected network can still be advertised into OSPF through other active adjacencies
B.The passive interface automatically becomes the OSPF router ID
C.The passive interface disables all OSPF operation on the router
D.The passive interface converts OSPF into EIGRP on that link
AnswerA

Even when an interface is configured as passive for OSPF, the router still includes that interface's connected subnet in OSPF advertisements, provided the interface is covered by a network statement or under the OSPF process. Passive-interface only disables hello transmission and neighbor discovery on that link, so the prefix is still injected into the LSDB and propagated via active adjacencies on other interfaces.

Why this answer

A passive interface still matters because the connected network can still be advertised into OSPF even though the interface itself does not form neighbor relationships. In plain language, the router is saying, “This network is mine, and I want others to know about it, but I do not want to speak OSPF directly on this interface.” That is useful on user-facing or stub-like interfaces where no OSPF neighbor should exist.

This distinction is important because some engineers assume passive means “ignored entirely.” It does not. The connected network can still appear in routing updates sent through real neighbors on other interfaces. What changes is neighbor formation on the passive interface itself.

Exam trap

Don't assume 'passive' means the interface is ignored; it still advertises its network.

Why the other options are wrong

B

The OSPF router ID is determined by the highest IP address on a loopback interface or the highest active physical interface IP at the time of OSPF process startup, not by passive-interface configuration. A passive interface does not influence router ID selection.

C

The passive-interface command only suppresses OSPF hello packets on that specific interface; OSPF continues to operate normally on other interfaces, forming adjacencies and exchanging routing information. It does not disable OSPF globally.

D

The passive-interface command is specific to OSPF and does not change the routing protocol. OSPF remains OSPF; it simply stops sending hellos on that interface. EIGRP has its own passive-interface command with similar behavior but does not convert protocols.

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

75
PBQhard

You are connected to R1 via console. R1 and R2 are connected via a serial link. OSPFv2 has been configured, but the adjacency is stuck in EXSTART state. You suspect a mismatched MTU. On R1, the interface MTU is currently set to 1400, while R2 uses the default MTU of 1500. You need to verify and fix the issue.

Network Topology
S0/0/010.0.0.1/30S0/0/010.0.0.2/30serial linkR1R2

Hints

  • The issue is with MTU mismatch.
  • Check the MTU on R1's serial interface.
  • After fixing, reset the OSPF process to force adjacency.
A.On R1, configure the interface MTU to 1500 and then clear the OSPF process using 'clear ip ospf process'.
B.On R1, configure the interface MTU to 1500 and then reload the router to apply the change.
C.On R1, configure the interface MTU to 1500 and then change the OSPF network type to point-to-point.
D.On R1, configure the interface MTU to 1500 and then adjust the OSPF hello and dead timers to match R2.
AnswerA
solution
! R1
interface Serial0/0/0
ip mtu 1500
clear ip ospf process
end

Why this answer

OSPF requires matching MTU values on a link. The incorrect MTU on R1 (1400) caused the adjacency to stall in EXSTART. Setting MTU to 1500 and clearing the OSPF process allows proper adjacency formation.

Exam trap

Do not confuse the states of OSPF adjacency. EXSTART state is specifically related to DBD exchange and MTU mismatch, while INIT or 2-WAY states are more common with hello/dead timer mismatches. Always verify MTU when adjacency is stuck in EXSTART.

Why the other options are wrong

B

The specific factual error is that a reload is not required to apply MTU changes; the interface MTU is applied immediately, and the OSPF process can be cleared to re-establish adjacencies.

C

The specific factual error is that OSPF network type does not affect MTU requirements; MTU must match regardless of network type.

D

The specific factual error is that timer mismatches affect the INIT and 2-WAY states, while EXSTART is associated with MTU or database descriptor (DBD) packet issues.

Page 1 of 4 · 276 questions totalNext →

Ready to test yourself?

Try a timed practice session using only IP Routing questions.