Learn how OSPF treats broadcast and NBMA networks, how routers discover neighbors, and how the Designated Router and Backup Designated Router are selected and used.
What you will be able to do
- Explain why OSPF uses Hello packets on supported network types.
- Describe the roles of the Designated Router and Backup Designated Router.
- Compare OSPF behavior on broadcast and NBMA networks with point-to-point behavior.
- Apply Router Priority and eligibility rules when reasoning about a DR election.
01
1. Network types shape OSPF behavior
OSPF can use different network types to match how routers communicate across a link. Two important types are broadcast and non-broadcast multiaccess, or NBMA.
A network type influences neighbor discovery, adjacency formation, and whether OSPF uses a Designated Router. Network type can be configured as broadcast or NBMA even when the media has another default.
This lesson focuses on the shared-network behavior that makes DR election useful. It also contrasts that behavior with physical point-to-point links.
02
2. Hello packets find and maintain neighbors
OSPF routers use Hello packets to discover neighboring routers and keep those neighbor relationships active.
On broadcast and physical point-to-point networks, routers send Hellos to the AllSPFRouters multicast address. This allows routers on those networks to detect one another dynamically.
Neighbor discovery is the starting point for later OSPF relationships. Without recognized neighbors, routers cannot build the shared routing knowledge expected from their network.
03
3. Why a Designated Router is needed
A Designated Router, or DR, coordinates an OSPF broadcast or NBMA network. Its presence reduces the number of adjacencies that routers must form with one another.
Instead of treating every router as a full peer of every other router, routers on these network types become adjacent to the DR and the Backup Designated Router.
The DR also creates a network LSA for each broadcast network. That network LSA is then flooded throughout the single OSPF area, giving the area a description of the shared network.
04
4. The Backup Designated Router
The Backup Designated Router, or BDR, is the standby partner for the DR on every broadcast and NBMA network.
Routers form adjacencies with both the DR and BDR. This keeps a prepared replacement connected while the DR is operating normally.
If the DR fails, the BDR becomes the new DR. That planned handoff smooths the transition and avoids waiting for a completely new election result before the network has a designated coordinator.
05
5. Broadcast and NBMA are the election networks
Broadcast and NBMA networks use Hello packets for DR and BDR election. The election is part of how OSPF organizes a shared multiaccess segment.
The two network types are grouped together for these election rules, even though the underlying media behavior may differ. Configuring a network as broadcast or NBMA therefore affects OSPF’s control behavior.
By contrast, the supplied point-to-point behavior describes Hello-based neighbor detection but does not place that link in the broadcast-or-NBMA DR election group.
06
6. Router Priority controls eligibility
OSPF Router Priority is used when routers compete for the DR role. Among competing routers, the highest Router Priority takes precedence.
A router configured with priority 0 cannot become the DR on its attached network. This setting removes that router from DR candidacy.
Priority is therefore a useful first filter: eliminate routers with priority 0, then compare the priorities of the remaining candidates.
07
7. The election result is not just a ranking
The router elected as DR is not necessarily the router with the highest Router Priority. A priority value indicates precedence during competition, but it does not by itself guarantee the final role.
The BDR has a separate eligibility rule. Only routers that are not declaring themselves to be the DR can qualify as BDR candidates.
For analysis, separate three questions: which routers are eligible, which priority takes precedence, and which role is being selected. Mixing those questions can lead to an incorrect election conclusion.
08
8. Reason through a small segment
Imagine three routers share a network configured as broadcast. Router Cedar has priority 0, Router Flint has priority 5, and Router Harbor has priority 10.
Cedar cannot become DR because priority 0 makes it ineligible for that role. Flint and Harbor remain the priority candidates, with Harbor taking precedence over Flint under the priority rule.
Do not automatically label Harbor the final DR from priority alone. Also ask whether a router is already declaring itself DR and whether the BDR rule is being applied to the correct candidate set.
09
9. Recap before Practice and Prove
OSPF uses Hello packets to discover neighbors and maintain neighbor relationships. On broadcast and physical point-to-point networks, those Hellos use AllSPFRouters multicast.
Broadcast and NBMA networks use Hello packets for DR and BDR election. A configured network type can determine this behavior even when the media default differs.
The DR reduces adjacency growth on broadcast and NBMA networks and originates the network LSA for a broadcast network. That LSA is flooded across one OSPF area.
The BDR is the prepared replacement for the DR. It is adjacent with the other routers, then takes the DR role when the previous DR fails.
For election questions, first identify the network type, then remove priority-0 DR candidates, compare Router Priority, and remember that the final DR is not determined by highest priority alone. These checks prepare you for Practice and Prove.