DR/BDR Concepts in OSPF – Full Explanation
✅ What is DR and BDR in OSPF?
DR (Designated Router): A router elected to manage OSPF routing updates in a multi-access network like Ethernet.
BDR (Backup Designated Router): A standby router that takes over the DR role in case of failure.
✅ Purpose of DR/BDR
To reduce OSPF overhead and unnecessary adjacencies in broadcast/multi-access environments.
- Minimizes control traffic
- Optimizes LSA flooding
- Reduces CPU and memory usage
✅ Adjacency Efficiency Example
For 5 routers on a broadcast network:
- Without DR: 10 adjacencies
- With DR/BDR: Only 8 adjacencies (each router connects to DR and BDR only)
✅ Role of DR/BDR
Only DR and BDR form full adjacency with others. Other routers (called DROTHER) only form 2-way communication with each other.
✅ DR/BDR in Network Types
Network Type | DR/BDR Used? | Description |
---|---|---|
Broadcast | Yes | Ethernet LANs, Wi-Fi |
NBMA | Yes | Frame Relay, ATM |
Point-to-Point | No | Serial links |
Point-to-Multipoint | No (default) | Each treated as separate P2P |
✅ DR/BDR Election Process
- Occurs per subnet when OSPF starts
- Election criteria:
- Highest OSPF priority wins
- If tied, highest Router ID (RID)
- Priority 0 → not eligible
Election Example
Router | Priority | RID | Result |
---|---|---|---|
R1 | 1 | 1.1.1.1 | BDR |
R2 | 1 | 2.2.2.2 | DR |
R3 | 0 | 3.3.3.3 | DROTHER |
✅ Influencing DR/BDR Election
interface Gig0/0 ip ospf priority 100
priority 0
= never DR/BDRpriority 1-255
= eligible
✅ Behavior on Failure
- If DR fails → BDR becomes DR
- New BDR elected from DROTHERs
- BDR failure alone does not trigger re-election of DR
✅ LSA Handling by DR
- DR collects LSAs from DROTHERs
- Distributes LSAs to other routers
- Minimizes flooding and improves efficiency
✅ OSPF States
Router | With | State |
---|---|---|
R1 (DROTHER) | R2 (DR) | Full |
R1 (DROTHER) | R3 (BDR) | Full |
R1 | R4 (DROTHER) | 2-Way only |
✅ Show Commands
show ip ospf neighbor show ip ospf interface Gig0/0
Sample Output:
Neighbor ID Pri State DR/BDR Interface 2.2.2.2 1 FULL/DR 2.2.2.2 Gig0/0 1.1.1.1 1 FULL/BDR 2.2.2.2 Gig0/0 3.3.3.3 0 2WAY/DROTHER 2.2.2.2 Gig0/0
✅ DR vs BDR vs DROTHER
Role | Full Adjacency With | Sends LSAs To | Receives LSAs From |
---|---|---|---|
DR | All routers | Everyone | Everyone |
BDR | All routers | Standby | Everyone |
DROTHER | Only DR & BDR | Only DR/BDR | DR/BDR |
✅ Convergence and Real-World Use
- DR/BDR increases convergence efficiency in multi-access networks
- Not used in P2P links (faster, simpler)
- Used in large LANs, Frame Relay hubs
✅ NBMA and DR/BDR
NBMA networks require manual neighbor config due to no multicast support:
router ospf 1 neighbor 10.0.0.2 priority 100
✅ Summary Table
Concept | Value |
---|---|
DR | Designated Router – main router for LSAs |
BDR | Backup for DR |
DROTHER | Neither DR nor BDR |
Used In | Broadcast, NBMA networks |
Not Used In | Point-to-Point, Point-to-Multipoint (default) |
Election Criteria | OSPF Priority → RID |
Priority 0 | Excludes router from election |
DR Failure | BDR promoted → New BDR elected |
Show Commands | show ip ospf neighbor , show ip ospf interface |