OSPF network types and versions
Why network type matters
On a point-to-point OSPF link the two neighbors can synchronize directly; no designated router (DR) or backup designated router (BDR) is elected. On broadcast multi-access networks such as an Ethernet segment with several OSPF routers, a DR and BDR reduce the need for every pair of routers to form Full adjacencies. The DR represents the transit network in the LSDB and coordinates adjacency/flooding behavior; it is not automatically the data-plane next hop for every packet. The BDR provides a backup. Non-broadcast multi-access (NBMA) can also use DR/BDR but neighbor discovery differs; point-to-multipoint does not elect them. The configured OSPF network type, not the cable alone, determines the behavior.
Predict a clean election
Assume all three routers discover each other before election, no existing DR/BDR is declared, and no loss or timing complication. Priority 0 makes R3 ineligible; among the other two, higher priority wins and higher router ID breaks a tie. R2 becomes DR and R1 BDR in this idealized initial election. Real elections are non-preemptive: a newly arrived router with higher priority does not simply displace an existing DR. Elections occur per relevant segment, not once for the whole area.
Broadcast segment 198.51.100.0/24Router Router ID PriorityR1 192.0.2.1 1R2 192.0.2.2 1R3 192.0.2.3 0When 2-Way is normal
On a broadcast segment, two routers that are neither DR nor BDR (DROthers) normally remain 2-Way with each other while forming Full adjacencies with DR/BDR. With four routers where two are DROthers, this is expected rather than a failure. On an ordinary point-to-point link, however, persistent 2-Way instead of Full warrants investigation. Check the network type and the roles before making changes. If a DR fails, the BDR normally takes over and a replacement BDR is elected; the exact interruption depends on the real deployment.
OSPFv2 and OSPFv3
The base OSPFv2 specification (RFC 2328) routes IPv4. Base OSPFv3 (RFC 5340) was designed for IPv6; it retains 32-bit router IDs, but separates topology from address-prefix information more explicitly and generally uses IPv6 link-local addresses for neighbor communication on ordinary links. RFC 5838 extends OSPFv3 with additional address families, including IPv4, when supported and configured; therefore OSPFv3 is not inherently IPv6-only in every deployment. These versions have distinct packet formats and LSA details and do not form one ordinary cross-version adjacency. Check the implementation, address family, instance ID and authentication mechanism for the intended version.
Practice and next step
For a new clean election, change R1 priority to 5 and R3 to 2; retain R2 priority 1. Predict DR and BDR. Compare with a point-to-point link. Do not change any live router priority. Next chapter: OSPF areas, ABRs and multi-area design.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
OSPF network types and versions — knowledge check
Apply OSPF single-area concepts to fictional routing situations.
An ordinary point-to-point OSPF network uses which election behavior?
In a clean broadcast election, router priorities are R1=2, R2=4, R3=0. Who becomes DR?
Two DROthers on a broadcast segment see each other in 2-Way. How should this be interpreted?
A new higher-priority router joins an established healthy broadcast segment. What happens to the existing DR solely because of the new priority?
Which statement about OSPF versions is accurate?