OSPF Network Types and Neighbours
On a LAN, dozens of routers could all form full adjacencies — an enormous, wasteful flood. OSPF prevents that by electing a designated router and a backup. This lesson explains the election, the DROther role, and the states an adjacency passes through.
- Contrast the OSPF broadcast and point-to-point network types.
- Explain why a broadcast network elects a DR and BDR.
- Describe the election: highest priority, then highest router ID.
- Explain the DROther role and the meaning of priority 0.
- List the OSPF neighbour states from Down to Full.
- Recall the hello/dead timers on broadcast and point-to-point networks.
Why network types matter
OSPF adapts to the kind of link it runs on. The network type is a property of each interface that controls two things: whether OSPF expects one neighbour or many, and whether a designated router is elected. IOS sets a sensible default from the interface's characteristics — Ethernet is broadcast, serial/point-to-point links are point-to-point — but you can override it with ip ospf network.
| Network type | Default on | DR/BDR election? | Hello / dead |
|---|---|---|---|
| Broadcast | Ethernet and other multi-access LANs | Yes | 10 s / 40 s |
| Point-to-point | Serial (PPP/HDLC), loopback | No | 10 s / 40 s |
| Non-broadcast (NBMA) | Frame Relay, multipoint WANs | Yes | 30 s / 120 s |
| Point-to-multipoint | Configured manually | No | 30 s / 120 s |
For the CCNA you focus on the first two. Changing a link's network type with
ip ospf network point-to-point can be a deliberate fix for links that OSPF would otherwise
treat as broadcast, removing the need for DR/BDR election and speeding convergence.
Broadcast networks
A broadcast network is a multi-access segment — typically an Ethernet LAN or a VLAN — where more than two routers can attach and a frame sent to a broadcast or multicast address reaches everyone. Ethernet is the common case. On such a link, OSPF elects a designated router (DR) and a backup designated router (BDR), and all other routers become DROthers.
The reason is flooding efficiency. If every router formed a full adjacency with every other router on a LAN of n routers, there would be n(n−1)/2 adjacencies and every router would flood every LSA to all the rest. With a DR, each router forms a full adjacency only with the DR and BDR, and sends its updates to the DR, which re-floods them to the segment. The adjacency count drops to 2n−3 and flooding becomes orderly.
Because the link is multi-access, OSPF uses multicast here: Hellos and updates go to 224.0.0.5 (all OSPF routers) and, toward the DR, to 224.0.0.6 (DR/BDR only).
Point-to-point networks
A point-to-point network has exactly two routers on the link — a serial WAN circuit, a tunnel, or a loopback interface. There is no “many” to manage, so a DR/BDR election would be pointless. OSPF therefore elects no DR and every pair forms a direct adjacency. The routers send Hellos to 224.0.0.5 and use the same 10 s / 40 s timers as broadcast networks.
Loopback interfaces are marked point-to-point by default, which is convenient because it stops them from participating in DR elections when they are only there to provide a stable router ID.
The DR/BDR election
On a broadcast network, the DR and BDR are chosen by an election with a strict order:
- Highest OSPF interface priority wins. The default priority is 1,
and the range is 0–255. Set it with
ip ospf priority <0-255>. - If priorities tie, the highest router ID wins.
The router with the highest priority becomes the DR; the runner-up becomes the BDR; everyone else is a DROther. A key subtlety: the election is not preemptive. Once a DR is elected, it keeps the role even if a router with a higher priority later joins the segment. To force a new election you must restart the OSPF process or bring the interface down and up. This is why a thoughtfully configured priority matters before the routers come online.
DROther and priority 0
Every router that is not the DR or BDR is a DROther. DROthers form a full adjacency with the DR and the BDR, but only a 2-WAY relationship with each other, because they never need to exchange databases directly — the DR relays the LSAs. When you look at show ip ospf neighbor on a LAN you will therefore see FULL/DR and FULL/BDR rows, plus 2-WAY/DROTHER rows for the other routers.
Setting an interface priority to 0 makes that router ineligible to become DR or BDR. It will still participate in OSPF as a DROther, but it will never win the election. This is useful when you want to pin the DR role to specific routers: give the intended DR the highest priority, the intended BDR the next highest, and set everything else to 0.
Forming an adjacency
Two OSPF routers pass through a defined sequence of neighbour states. Knowing them lets you read show ip ospf neighbor like a progress bar and diagnose where things stall:
| State | Meaning |
|---|---|
| Down | No Hellos received yet. |
| Init | A Hello has been received, but the neighbour has not listed this router yet (one-way). |
| 2-Way | Both routers have seen each other. DR/BDR election occurs here. |
| ExStart | Master/slave negotiation for database exchange. |
| Exchange | Database description (DBD) packets are exchanged. |
| Loading | Link-state requests and updates complete the database. |
| Full | Databases are synchronised; the adjacency is complete and routes can be computed. |
On a broadcast segment, DROthers correctly stop at 2-WAY with each other. That is a
healthy result, not a fault. A stuck EXSTART usually means an MTU mismatch, and a stuck
INIT or DOWN usually means a Hello parameter mismatch (timers, area, or
authentication).
R1# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/DR 00:00:38 10.0.0.2 GigabitEthernet0/0
3.3.3.3 1 FULL/BDR 00:00:34 10.0.0.3 GigabitEthernet0/0
4.4.4.4 0 2-WAY/DROTHER 00:00:31 10.0.0.4 GigabitEthernet0/0
Verify the local interface's role and priority with show ip ospf interface GigabitEthernet0/0,
which reports whether the router is DR, BDR, or DROther and the priority it used.
The vocabulary you need
Every term below appears in the lesson text above. Select one to read its definition, then use the quiz at the end to check what stuck.
Review
Check what you have learned with these review questions.
Sources & references
- Cisco. CCNA (200-301) Exam Topics. cisco.com.
- IETF. Request for Comments (RFCs). rfc-editor.org.
- IANA. Internet Assigned Numbers Authority registries. iana.org.
Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.