Octet

What OSPF network types exist, and what changes between them?

Show the answer

Say this first

Broadcast (DR, 10/40 timers, multicast), point-to-point (no DR, 10/40), non-broadcast or NBMA (DR, 30/120, neighbors configured by hand with unicast hellos), point-to-multipoint (no DR, 30/120, host routes for each endpoint) and loopback. The type decides whether there is a DR, the timers and how the link appears in LSAs.

Go deeper

IOS defaults and behavior

TypeDefault onDR/BDRHello/DeadNeighbors
broadcastEthernetYes10/40Multicast discovery
point-to-pointSerial HDLC/PPP, GRE tunnels, p2p subinterfacesNo10/40Multicast discovery
non-broadcastFrame Relay physical and multipointYes30/120neighbor statements, unicast
point-to-multipointNever by defaultNo30/120Multicast discovery
point-to-multipoint non-broadcastNever by defaultNo30/120neighbor statements
loopbackLoopbacksn/an/anone

Mixing them

Two routers with different types can be fine or broken:

  • Broadcast against non-broadcast fails, because 10/40 does not match 30/120.
  • Broadcast against point-to-point has matching timers and can reach Full, yet routes are missing. One side describes a transit network with a DR, the other a point-to-point link, so SPF fails the two-way link check.
  • Broadcast against point-to-multipoint: timers differ, so no neighbor unless you change them.

Loopbacks

The loopback type always advertises a /32 host route whatever mask you configure. Set ip ospf network point-to-point on the loopback to advertise the configured mask.

Traps

  • Saying a GRE tunnel defaults to broadcast. On IOS it is point-to-point.
  • Forgetting the loopback /32 behavior when someone asks why a /24 loopback shows up as /32.
How did you do?