Verify OSPFv2 neighbors and elections
Two fresh routers share an Ethernet segment in area 0. R1 has priority 10 and R2 priority 20. Both enter an election together. Which should become DR, and what if an existing DR was already present?
Verify OSPFv2 neighbors and elections
The OSPF lecture examines designated and backup designated roles on broadcast segments.
Work through the decision
Two fresh routers share an Ethernet segment in area 0. R1 has priority 10 and R2 priority 20. Both enter an election together. Which should become DR, and what if an existing DR was already present?
Check your reasoning
On a broadcast network the highest eligible priority wins a fresh DR election, with router ID as the tie-breaker. OSPF does not preempt a healthy existing DR just because a higher-priority router joins.
Interpret the evidence
- Area mismatch
- Neighbors must agree on the area for the shared link. Check configuration and hello details on each end.
- Hello/dead timer mismatch
- Neighbors on a common link must use compatible hello and dead intervals.
- OSPF priority
- On a broadcast link, priority determines eligibility and preference in a new DR/BDR election. Zero makes the interface ineligible.
- Router ID
- The 32-bit process identifier must be unique; it breaks fresh election ties between otherwise equally eligible candidates.
- Point-to-point network type
- An OSPF point-to-point link does not require DR or BDR election.
Practice the guide skills
- Compare network type, area, timers, router IDs and neighbor state with show ip ospf interface and show ip ospf neighbor.
- On an Ethernet segment, predict a fresh DR/BDR election including a priority-zero participant. Compare with a point-to-point link and with a router joining after election.
Official objectives for this lesson
Enable single-area OSPF on a practice link
Two routers share an addressed Ethernet link. Use a unique router ID for each and configure both interfaces in the same area.
router ospf 10
router-id 192.0.2.1
interface GigabitEthernet0/0
ip ospf 10 area 0
Use show ip ospf neighbor and show ip ospf interface on each router. The process number is locally significant. The area and hello parameters on the shared link must agree.
Related lesson · Read the most specific matching route before comparing metrics
Verify OSPFv2 neighbors and elections quiz
Answer 3 questions. Check each answer for an explanation.