CCNA IP Routing Practice Question
Network Topology
You are connected to R1 via console. R1 and R2 are directly connected via GigabitEthernet0/0. Configure OSPF process 1 on both routers so that they form a full adjacency. R1's router-id must be 1.1.1.1, and R2's router-id must be 2.2.2.2. Use network statements to advertise the direct link. Ensure that R1 does not send OSPF hellos out of its GigabitEthernet0/1 interface. The current configuration on R1 has mismatched hello and dead timers, and an incorrect network type, preventing adjacency. Fix all issues.
⚠ Common exam trap
The exam trap is that candidates may focus on the network type or extra network statements, but the primary issue is the timer mismatch. OSPF requires hello and dead timers to match for adjacency. Also, remember that 'passive-interface default' suppresses hellos on all interfaces, which would break the adjacency; use specific passive-interface commands.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under interface GigabitEthernet0/0, and ensure network type is broadcast. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'passive-interface GigabitEthernet0/1' under router ospf 1.
The adjacency was failing because R1 had incorrect hello (30) and dead (120) timers, while R2 used defaults (10/40). Additionally, R1’s network type was set to a non-broadcast type, causing a mismatch. To fix, on R1’s GigabitEthernet0/0, set hello-interval 10, dead-interval 40, and network type broadcast. In OSPF process 1 on R1, configure passive-interface GigabitEthernet0/1 to suppress hellos on that interface. On R2, under router ospf 1, set router-id 2.2.2.2. Option A addresses all requirements. Option B uses wrong timers and passive-interface default, which blocks hellos on all interfaces, breaking adjacency. Option C sets network type point-to-point, creating a type mismatch with R2’s broadcast, preventing adjacency. Option D omits the passive-interface command, failing to suppress hellos on GigabitEthernet0/1 as required.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under interface GigabitEthernet0/0, and ensure network type is broadcast. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'passive-interface GigabitEthernet0/1' under router ospf 1.
Why this is correct
Ly fixes the timer mismatch by setting hello to 10 and dead to 40 on R1's GigabitEthernet0/0, matching R2's defaults. It also sets the router-id on R2 and uses passive-interface on R1's GigabitEthernet0/1 to prevent sending hellos, as required. The network type is already broadcast by default, so no change is needed.
- ✗
On R1, configure 'ip ospf hello-interval 30' and 'ip ospf dead-interval 120' under interface GigabitEthernet0/0, and set network type to point-to-point. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'passive-interface default' under router ospf 1.
Why it's wrong here
This is incorrect because setting hello to 30 and dead to 120 on R1 does not match R2's default timers (10 and 40), so adjacency would still fail. Also, changing network type to point-to-point is unnecessary and would not fix the timer mismatch. Using 'passive-interface default' would suppress hellos on all interfaces, including the one needed for adjacency.
- ✗
On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under interface GigabitEthernet0/0, and set network type to point-to-point. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'passive-interface GigabitEthernet0/1' under router ospf 1.
Why it's wrong here
This is incorrect because changing the network type to point-to-point is unnecessary and could cause issues if the actual link is broadcast (e.g., Ethernet). The default broadcast network type works fine for Ethernet links. The timer fix and passive-interface are correct, but the network type change is not required and may break adjacency if R2 remains broadcast.
- ✗
On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under interface GigabitEthernet0/0, and ensure network type is broadcast. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'network 10.0.0.0 0.255.255.255 area 0' under router ospf 1.
Why it's wrong here
This is incorrect because adding a network statement for 10.0.0.0/8 is unnecessary and could advertise additional interfaces if they exist. The direct link should be advertised via a network statement that matches the link address, not a broad range. The timer fix and router-id are correct, but the network statement is not required if the interface is already in OSPF via a more specific statement.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.
✓On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under interface GigabitEthernet0/0, and ensure network type is broadcast. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'passive-interface GigabitEthernet0/1' under router ospf 1.Correct answer▾
Why this is correct
Ly fixes the timer mismatch by setting hello to 10 and dead to 40 on R1's GigabitEthernet0/0, matching R2's defaults. It also sets the router-id on R2 and uses passive-interface on R1's GigabitEthernet0/1 to prevent sending hellos, as required. The network type is already broadcast by default, so no change is needed.
✗On R1, configure 'ip ospf hello-interval 30' and 'ip ospf dead-interval 120' under interface GigabitEthernet0/0, and set network type to point-to-point. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'passive-interface default' under router ospf 1.Wrong answer — click to see why▾
Why this is wrong here
The specific factual error is that OSPF requires matching hello and dead timers for adjacency; setting them to non-default values without matching the neighbor prevents adjacency. Additionally, 'passive-interface default' would make all interfaces passive, which is not the requirement.
Why candidates choose this
Candidates might think that since R1 had mismatched timers, they should keep those values and adjust R2 instead, or they might confuse the default timers with the existing mismatched ones.
✗On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under interface GigabitEthernet0/0, and set network type to point-to-point. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'passive-interface GigabitEthernet0/1' under router ospf 1.Wrong answer — click to see why▾
Why this is wrong here
The specific factual error is that OSPF network types must match on both ends; changing only one side to point-to-point would cause a mismatch, preventing adjacency. The default broadcast type is appropriate for Ethernet.
Why candidates choose this
Candidates might think that point-to-point is more efficient or that it avoids DR/BDR elections, but for a simple direct link, broadcast works fine and is the default. They may also confuse the requirement to fix the network type with the timer issue.
✗On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under interface GigabitEthernet0/0, and ensure network type is broadcast. On R2, configure 'router-id 2.2.2.2' under router ospf 1. Also, on R1, add 'network 10.0.0.0 0.255.255.255 area 0' under router ospf 1.Wrong answer — click to see why▾
Why this is wrong here
The specific factual error is that the network statement should be precise to avoid unintended advertisements. The existing configuration already had an extra network statement (10.0.0.0/8) that was unnecessary but not harmful; adding it again is redundant and not the correct fix.
Why candidates choose this
Candidates might think that adding a network statement is necessary to advertise the link, but the question states to use network statements to advertise the direct link, implying a specific statement is already in place or should be configured. They may also confuse the requirement with the need to include all interfaces.
Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Visual reference
Quick reference
Routing Protocol Comparison
| Protocol | Metric | Max Hops | Algorithm | Type |
|---|---|---|---|---|
| RIP v2 | Hop count | 15 | Bellman-Ford | Distance vector |
| OSPF | Cost (bandwidth) | Unlimited | Dijkstra (SPF) | Link state |
| EIGRP | Composite metric | Unlimited | DUAL | Hybrid |
| IS-IS | Cost | Unlimited | Dijkstra | Link state |
| BGP | Policy / attributes | Unlimited | Path vector | Path vector |
RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.
Go deeper
Related to this question
Learn chapter
OSPFv3 Single-Area Configuration for IPv6
Key term
OSPF
OSPF is a link-state routing protocol that uses the SPF algorithm to compute the shortest path to each destination within a single autonomous system.
Key term
Interface
An interface is a point of connection or interaction between two systems, devices, or software components that allows them to exchange information or signals.
About these practice questions
This 200-301 question is part of Courseiva's 1,389-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.