Courseiva
mediumMultiple ChoiceObjective-mapped

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

    There is no conflict; both methods can be used together. OSPF will use the interface configuration and the network statement will also apply, but no conflict arises.

  • 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

    The router-id is explicitly set to 2.2.2.2 and will not be overridden by any interface IP unless the router-id is removed or reset.

  • OSPF will form adjacencies on both interfaces as intended; the configuration is redundant but functional.

    Why this is correct

    Both interfaces have OSPF enabled via the interface command and the network statement. This is acceptable and OSPF will operate normally.

  • 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 correctly matches the 10.0.0.0/24 subnet on GigabitEthernet0/0.

Visual reference

R1 R2 R3 R4 10 100 10 100 OSPF picks R1→R2→R4 (cost 20) over R1→R3→R4 (cost 200)

Quick reference

Routing Protocol Comparison

ProtocolMetricMax HopsAlgorithmType
RIP v2Hop count15Bellman-FordDistance vector
OSPFCost (bandwidth)UnlimitedDijkstra (SPF)Link state
EIGRPComposite metricUnlimitedDUALHybrid
IS-ISCostUnlimitedDijkstraLink state
BGPPolicy / attributesUnlimitedPath vectorPath vector

RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.

About these practice questions

Courseiva writes every 300-410 question from scratch — 1,966 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 →

How Courseiva writes practice questions · Editorial policy

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.