OSPF DR and BDR for CCNA: Election on a Multi-Access Segment
On a multi-access segment (Ethernet) OSPF elects a DR and a BDR so that each router does not form a full adjacency with every other. The remaining routers stay in 2-WAY with each other. It is a heavily tested CCNA topic.

Edit this template Download .json
Learning objectives
- Predict which router becomes DR and BDR based on priority and router ID.
- Change the priority with ip ospf priority and restart the process.
- Read neighbor states: FULL, 2-WAY, DR, BDR and DROTHER.
Devices and addressing
| Device | Type | Details |
|---|---|---|
| SW-LAN | Switch | Segment 10.0.0.0/24 Multi-access |
| R1 | Router | DR · Priority 255 RID 1.1.1.1 · 10.0.0.1 |
| R2 | Router | BDR · Priority 200 RID 2.2.2.2 · 10.0.0.2 |
| R3 | Router | DROTHER · Priority 1 RID 3.3.3.3 · 10.0.0.3 |
| R4 | Router | Never DR · Priority 0 RID 4.4.4.4 · 10.0.0.4 |
Reference configuration (Cisco IOS)
R1
interface g0/0
ip address 10.0.0.1 255.255.255.0
ip ospf priority 255
router ospf 1
router-id 1.1.1.1
network 10.0.0.0 0.0.0.255 area 0
R4
interface g0/0
ip address 10.0.0.4 255.255.255.0
ip ospf priority 0
router ospf 1
router-id 4.4.4.4
network 10.0.0.0 0.0.0.255 area 0
Verification commands
show ip ospf neighborshow ip ospf interface g0/0clear ip ospf process
CCNA exam tips
Highest priority wins (default 1); on a tie, the highest router ID. Priority 0 = never DR/BDR.
The election is non-preemptive: a router with higher priority does not replace the current DR until the OSPF process is restarted.
How to use this template
Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.
To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.
JSON template for the editor
This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.
Frequently asked questions
What does the DR do in OSPF?
It is the router that the others send their updates to on a multi-access segment; it redistributes them to the rest.
What is DROTHER?
A router on the segment that is neither DR nor BDR.