Broadcast Network
Cheat sheet · https://pcornel.dk/topic.php?topic=630
Answer
On a broadcast network such as Ethernet, OSPF elects a designated router (DR) and a backup (BDR). Every router forms a FULL adjacency only with them; between other routers (DROTHERs) the state stays 2WAY.
Remember
2WAY between two DROTHERs is normal, not a fault. Highest priority wins, then highest router ID; priority 0 never becomes DR. The election is not pre-emptive: a better router does not take over until the DR fails or the OSPF process is cleared. On a link with only two routers, ip ospf network point-to-point avoids the election.
First checks
show ip ospf neighbor— state and role (DR, BDR, DROTHER) of each neighbour.show ip ospf interface <interface>— network type, priority, DR and BDR addresses.show running-config interface <interface>—ip ospf priority,ip ospf network.
Commands
show ip ospf interface- Detailed OSPF interface timers, network type, cost and adjacency context.
ip ospf priority <0-255>- Controls DR/BDR eligibility/preference on eligible multiaccess networks.
ip ospf network point-to-pointshow ip ospf neighborip ospf priority 0
Verify in this order
network type broadcast on all routers → hellos match → priorities compared → DR and BDR elected → FULL with DR and BDR → 2WAY between DROTHERs
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Broadcast-network role expectations
| Pair | Typical state |
|---|---|
| DROTHER ↔ DR | Full |
| DROTHER ↔ BDR | Full |
| DR ↔ BDR | Full |
| DROTHER ↔ DROTHER | 2-Way |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=630