Sub topic 5
Network Types: Broadcast, Point-to-Point, and Others
This chapter assumes you know how Hello packets discover neighbors (previous chapter), how to read a router interface configuration, and the difference between Ethernet multi-access segments and point-to-point links. It does not cover DR/BDR election itself. That is the next chapter.
Why OSPF Needs a Network Type
OSPF does not look at the physical medium. It uses a per-interface setting called the network type to decide three things:
- How Hellos are sent: multicast or unicast.
- Whether a Designated Router (DR) and Backup Designated Router (BDR) are elected.
- Which Hello and Dead timer defaults apply.
Because the type changes behavior, two neighbors that disagree on it can fail to form an adjacency, or form one with subtle faults. A router never negotiates the type. Each side applies its own setting.
The Main Network Types
| Network type | Typical medium | DR/BDR elected | Hello / Dead (seconds) | Neighbor discovery |
|---|---|---|---|---|
| Broadcast | Ethernet, FDDI | Yes | 10 / 40 | Multicast 224.0.0.5 |
| Point-to-point | Serial, PPP, point-to-point Ethernet | No | 10 / 40 | Multicast 224.0.0.5 |
| Point-to-multipoint | Partial-mesh Frame Relay or similar | No | 30 / 120 | Multicast 224.0.0.5 |
| Point-to-multipoint non-broadcast | Same, without multicast support | No | 30 / 120 | Unicast, static neighbors |
| Non-broadcast (NBMA) | Frame Relay, ATM | Yes | 30 / 120 | Unicast, static neighbors |
The timer defaults above are Cisco IOS defaults. The values are not part of the Hello exchange rules that make neighbors compatible. What matters is that both sides agree, as the Hello and Dead intervals must match.
Broadcast
An Ethernet interface defaults to the broadcast type. Hellos go to the multicast address 224.0.0.5 (AllSPFRouters). Every router on the segment can hear every other router, so OSPF elects a DR and BDR to limit adjacencies. Without them, n routers on a segment would need n(n-1)/2 full adjacencies.
Point-to-Point
A point-to-point link joins exactly two routers. There is no one to elect, so OSPF skips DR/BDR election. The adjacency forms faster because the router does not wait out the election Wait timer, which defaults to the Dead interval (40 seconds on broadcast networks).
Modern routed Ethernet links between two routers are physically point-to-point, but IOS still treats them as broadcast by default. Setting the type to point-to-point on such a link removes the DR/BDR election delay and slightly reduces LSA traffic, because Network LSAs (Type 2) are no longer generated for it.
Point-to-Multipoint and NBMA
These types exist for legacy non-broadcast clouds such as Frame Relay, where a single interface reaches several neighbors but the medium may not support multicast. You will rarely configure them today. Know the differences:
- NBMA elects a DR/BDR, so the DR must have connectivity to every other router. This breaks on partial meshes.
- Point-to-multipoint treats the segment as a collection of point-to-point links. It needs no election and works on partial meshes.
- The non-broadcast variants require you to list neighbors manually, because Hellos cannot be multicast.
Mismatches and What They Cause
The exact result depends on which types disagree.
| Side A | Side B | Result |
|---|---|---|
| Broadcast | Broadcast | Normal. DR/BDR elected. |
| Point-to-point | Point-to-point | Normal. No election. |
| Broadcast | Point-to-point | Hello timers match (10/40) so the neighbors reach Full, but routes may be missing or wrong. |
| Broadcast | Point-to-multipoint | Hello timers differ (10/40 vs 30/120), so no adjacency forms. |
The broadcast and point-to-point mismatch is the tricky one. The broadcast side expects a DR, and the point-to-point side never advertises one. The two routers then build different link descriptions in their Router LSAs (Type 1). One side describes a transit network, the other a direct point-to-point link. SPF may fail to use the link, even though show ip ospf neighbor reports Full.
Configuring the Network Type
The type is set per interface. This example forces a routed Ethernet link to point-to-point and leaves a LAN-facing interface at its default.
interface GigabitEthernet0/0
ip address 10.0.12.1 255.255.255.252
ip ospf 1 area 0
ip ospf network point-to-point
!
interface GigabitEthernet0/2
ip address 192.168.1.1 255.255.255.0
ip ospf 1 area 0Use the same setting on the far end of the link. Then check the result:
show ip ospf interface GigabitEthernet0/0The output reports Network Type POINT_TO_POINT and shows no DR or BDR lines. For a broadcast interface, it reports Network Type BROADCAST along with the DR and BDR router IDs.
Choosing a Type
- Two routers on a dedicated link, even over Ethernet: point-to-point.
- Many routers sharing a real LAN switch: broadcast.
- A legacy hub-and-spoke cloud: point-to-multipoint.
- A cloud where multicast does not work: a non-broadcast variant with static neighbors.
On a LAN with only two routers and hosts attached, keep broadcast. Hosts do not run OSPF, but the interface is still shared, and a point-to-point setting would be a poor description of it.
How the Type Changes the Packets
The following diagram shows the Hello exchange difference between a broadcast segment and a point-to-point link.
On a broadcast segment, routers that are neither DR nor BDR stay in the Two-Way state with each other. This is normal and not a fault. Only the DR and BDR reach Full with everyone. The next chapter explains that election.
Common Errors
- Leaving a routed Ethernet link at broadcast. It works but wastes up to 40 seconds on adjacency formation and creates unnecessary Type 2 LSAs.
- Changing the type on one side only. Check both ends.
- Expecting the Hello timers to follow the type when you set them by hand. A manual
ip ospf hello-intervaloverrides the type default. If you later change the type, the default changes with it, but your manual value stays. - Applying point-to-point to a segment with three or more routers. Each router would try to treat every neighbor as the only one, and the adjacencies are unreliable.
Exercise
Two routers are joined by a dedicated Gigabit Ethernet cable. Router A is set to ip ospf network point-to-point. Router B is left at the default. Both use default timers. What state does show ip ospf neighbor report, and why can routing still be wrong?
Show answer
The neighbors reach Full, because the Hello and Dead timers both default to 10/40 and so match. Routing can still be wrong because Router B expects a DR and builds a transit-network description in its Router LSA, while Router A describes a direct point-to-point link. The two LSDB views of the link do not agree, so SPF may not use it. Fix it by setting ip ospf network point-to-point on Router B.
Exercise
Why does an interface typed point-to-multipoint not form an adjacency with a broadcast-typed neighbor under default settings?
Show answer
Point-to-multipoint defaults to Hello 30 and Dead 120 seconds, while broadcast defaults to 10 and 40. OSPF requires Hello and Dead intervals to match, so the Hellos are dropped and no adjacency forms.