mediumMultiple Choice
300-410 Practice Question: Consider the following partial configuration on…
Consider the following partial configuration on router R2:
interface GigabitEthernet0/0 ip address 10.0.0.2 255.255.255.0 ip ospf 1 area 0
!
interface GigabitEthernet0/1 ip address 192.168.1.2 255.255.255.0 ip ospf 1 area 0
!
router ospf 1
router-id 2.2.2.2
network 10.0.0.0 0.0.0.255 area 0 network 192.168.1.0 0.0.0.255 area 0
What is the effect of this configuration?
⚠ Common exam trap
Many candidates think interface-level and network-level OSPF commands conflict or cause redundancy errors, when in fact they are both valid and can coexist without issue.
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
✓
OSPF will form adjacencies on both interfaces as intended; the configuration is redundant but functional.
The configuration redundantly enables OSPF on both interfaces via both the `ip ospf 1 area 0` interface-level command and the `network` statements under the OSPF process. This is valid and does not cause conflicts; OSPF will form adjacencies on both interfaces as intended. The router-id 2.2.2.2 is explicitly configured and will not be overridden by any loopback IP unless the router-id is not set or is removed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
OSPF will not form adjacencies because the interface and network commands conflict, causing OSPF to ignore the network statements.
Why it's wrong here
Interface-level 'ip ospf 1 area 0' and matching 'network' statements under router ospf 1 are complementary, not conflicting; both enable OSPF on the same interfaces in area 0, so adjacencies form normally. The option tempts candidates who assume the two activation methods are mutually exclusive.
- ✗
OSPF will form adjacencies on both interfaces, but the router-id 2.2.2.2 will be overridden by the highest loopback IP.
Why it's wrong here
An explicitly configured 'router-id 2.2.2.2' takes precedence over any interface or loopback address, so it is never overridden; no loopback exists here anyway. The option tempts because automatic router-ID selection does prefer the highest loopback, but only when no router-id command is present.
- ✓
OSPF will form adjacencies on both interfaces as intended; the configuration is redundant but functional.
Why this is correct
Enabling OSPF per interface with 'ip ospf 1 area 0' already advertises both networks, so the router ospf 'network' statements merely duplicate that coverage. Adjacencies still form on both GigabitEthernet interfaces, making the configuration redundant yet fully functional.
- ✗
OSPF will only form adjacency on GigabitEthernet0/1 because the network statement for 10.0.0.0 is incorrect.
Why it's wrong here
The 'network 10.0.0.0 0.0.0.255 area 0' statement matches GigabitEthernet0/0's 10.0.0.2 address exactly, so OSPF enables there too and adjacencies form on both interfaces. The option tempts candidates who misread the wildcard mask as excluding the interface.
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
About these practice questions
Courseiva writes every 300-410 question from scratch — 1,401 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 300-410 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 300-410 exam.