Drag steps to the numbered slots on the right, or tap a step then tap a slot.
CCNA IP Routing Practice Question
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.
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
router ospf 1
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.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
router ospf 1
Why this is correct
Issuing 'router ospf 1' creates an OSPF routing process with process ID 1 and enters router configuration mode. The process ID is locally significant, meaning it only needs to be unique on the local router, and it does not have to match the process ID used by neighboring routers. This command is the foundational step that enables OSPF on the device, allowing subsequent configuration of router-id, network statements, and passive interfaces.
- ✓
router-id 1.1.1.1
Why this is correct
The 'router-id 1.1.1.1' command statically assigns a 32-bit dotted-decimal value that uniquely identifies this router within the OSPF domain. Unlike the automatic selection process, which chooses the highest loopback address or the highest active interface IP, a static router ID is deterministic and prevents potential changes if interfaces flap or are reconfigured. It is crucial that the router ID be unique across all OSPF routers to avoid adjacency problems.
- ✓
network 10.1.1.0 0.0.0.255 area 0
Why this is correct
This network command uses a wildcard mask 0.0.0.255 to match the 10.1.1.0/24 subnet, which inverts the subnet mask to identify the range of addresses. Any interface on the router whose IP address falls within this range will have OSPF enabled and will be advertised in OSPF area 0, the backbone area. Area 0 is essential because all other areas must connect to it to exchange routing information.
- ✓
passive-interface default
Why this is correct
The 'passive-interface default' command changes the default behavior so that all interfaces on the router are marked passive for OSPF. On passive interfaces, OSPF does not send or process hello packets, so no neighbor adjacencies can form, and no OSPF routing updates are sent or received. This is commonly used on LAN segments where there are no OSPF neighbors, reducing unnecessary protocol traffic and preventing potential attacks.
- ✓
no passive-interface GigabitEthernet0/1
Why this is correct
To allow OSPF to form adjacencies on a specific link, the 'no passive-interface GigabitEthernet0/1' command explicitly overrides the global 'passive-interface default' configuration. This re-enables sending and processing of hello packets on GigabitEthernet0/1, which is necessary to establish OSPF neighbor relationships with adjacent routers on that segment. Without this override, the interface would remain passive and no routes would be exchanged across it.
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.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 14, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.