Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityIntermediate

OSPF network types: broadcast, point-to-point, NBMA, point-to-multipoint and loopback

In short: The OSPF network type tells a router how to treat a link: whether to elect a DR, whether hellos can be multicast, which timers to use and what next hop to advertise. Ethernet defaults to broadcast; point-to-point is better for two-router links. Both ends must use compatible types or routes go missing.

Why network types exist

OSPF was designed when networks used many kinds of links: Ethernet, serial lines, and multi-access WAN clouds such as Frame Relay that could reach many sites but could not send broadcasts. Each kind needs different handling. The network type setting tells OSPF which handling to use on an interface. A router picks a default from the interface type, and you can change it with ip ospf network.

Network types at a glanceElect a DRBroadcast (Ethernet default)Non-broadcast (NBMA)Hello 10 s or 30 sNeighbours found by multicast or by handNo DRPoint-to-pointPoint-to-multipointP2MP non-broadcastLoopback (host route)
Figure 1. The OSPF network type decides whether a DR is elected, how neighbours are found and which timers are used.

The types compared

TypeDR/BDRNeighbours foundHello / deadDefault on
BroadcastYesAutomatically by multicast10 / 40 sEthernet
Non-broadcastYesConfigured with neighbor30 / 120 sLegacy multipoint WAN interfaces
Point-to-pointNoAutomatically10 / 40 sSerial PPP/HDLC, GRE tunnels
Point-to-multipointNoAutomatically30 / 120 sNone; set by hand
Point-to-multipoint non-broadcastNoConfigured with neighbor30 / 120 sNone; set by hand
LoopbackNoNoneNoneLoopback interfaces

Because hello and dead timers must match, two routers using types with different timers (for example broadcast and point-to-multipoint) will not become neighbours. Two types with the same timers but different DR behaviour may form an adjacency yet build an inconsistent database, so routes are missing. The safe rule is: set the same network type at both ends.

Choosing the right type

  • Ethernet link between exactly two routers: change it to point-to-point. There is no DR election or wait timer, adjacencies form faster and the database is smaller because no type 2 LSA is needed.
  • Ethernet segment with several routers: leave it as broadcast and control the DR with priorities.
  • Hub-and-spoke overlays such as DMVPN: tunnel interfaces default to point-to-point, which allows only one neighbour, so the hub must change it. point-to-multipoint is the simplest choice and needs no DR; broadcast keeps spoke-to-spoke next hops but needs the hub to be DR (spokes priority 0). Spokes must match the hub's choice.
  • Non-broadcast and point-to-multipoint non-broadcast were built for Frame Relay and ATM, legacy WAN services now replaced by MPLS, Ethernet services and internet VPNs. You mainly meet them in exams and old networks.

Next hops and loopbacks

Network types also change the next hop other routers install. On broadcast and non-broadcast types, OSPF keeps the real next hop of the router that owns the destination, even when traffic could pass through the hub. That works only if every router can reach every other directly at Layer 2. Point-to-multipoint treats the cloud as a collection of separate links and advertises a /32 host route for each router, so traffic goes through the hub. That is slower but always reachable.

A loopback interface is always advertised as a /32 host route, whatever mask you configure, because OSPF knows only one address can live there. If a lab or a service needs the real subnet advertised, set ip ospf network point-to-point on the loopback.

interface GigabitEthernet0/2
 description Link to R2 only
 ip ospf network point-to-point
!
interface Tunnel0
 description DMVPN hub
 ip ospf network point-to-multipoint
!
interface Loopback10
 ip address 172.16.10.1 255.255.255.0
 ip ospf network point-to-point

Real-world example: slow failover on a campus core

A college ran OSPF between two core switches and four distribution switches, with each link a separate routed Ethernet port. After a distribution switch reboot, users waited almost a minute for routing to return. Every link was still the default broadcast type, so after each reboot the routers waited out the 40-second DR wait timer before forming adjacencies, and the database held a network LSA for every two-router link. Setting ip ospf network point-to-point on both ends of every core and distribution link removed the elections. Adjacencies then came up within a couple of seconds of the link, and the LSDB became smaller and easier to read.

Practice

Which network types elect a DR and BDR?
Broadcast and non-broadcast. Point-to-point, point-to-multipoint and loopback do not.
One router uses broadcast and the other point-to-multipoint on the same link. Will they form an adjacency?
No, by default. Broadcast uses 10/40 second timers and point-to-multipoint uses 30/120, so the hello and dead intervals do not match.
A loopback is configured as 10.5.5.1/24 but neighbours see 10.5.5.1/32. Why, and how do you change it?
OSPF advertises loopbacks as host routes. Setting ip ospf network point-to-point on the loopback makes it advertise the /24.

Key takeaways

  • The network type controls DR election, neighbour discovery, timers and next hops.
  • Ethernet defaults to broadcast; use point-to-point on links with only two routers.
  • Set the same network type at both ends of a link.
  • Point-to-multipoint suits hub-and-spoke overlays and needs no DR.
  • Loopbacks are advertised as /32 unless set to point-to-point.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.