Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

OSPF Hello Field Reference

Direct answer

OSPF Hello packets discover neighbors and keep adjacencies alive. Their fields — area ID, network mask (on broadcast), Hello and Dead intervals, options/stub flags, authentication, priority, DR/BDR and neighbor list — must match for neighbors to form.

When to use this

Use it when OSPF neighbours do not form and you need to compare Hello fields.

First 30 seconds

1. Hello (type 1) fields: router ID, area ID, mask (on broadcast), hello/dead intervals, options (E, N bits), priority, DR, BDR, neighbours.

2. Must match: area, mask (broadcast), timers, stub flags, authentication.

3. Seeing own RID in neighbour list → 2-WAY.

4. Sent to 224.0.0.5.

5. Mismatch keeps neighbours from forming.

Operational verification

hello sent → fields checked → neighbour list → 2-WAY

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandshow ip ospf interface GigabitEthernet0/0
Scope / prerequisiteUse it when OSPF neighbours do not form and you need to compare Hello fields.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Packet capture verification and known-good sequence Verify boundary
show ip ospf interface GigabitEthernet0/0
show ip ospf neighbor
debug ip ospf hello

The interface view shows the values this router puts in its Hellos: area, network type, timers, priority, and the DR and BDR. Compare it line by line with the other router. The neighbour table shows whether a Hello has been received (Init) and whether it is two-way. debug ip ospf hello prints a line naming the mismatched field when a received Hello is rejected; use it briefly and turn it off.

In a capture, filter on OSPF packet type 1 and compare the two routers' Hellos field by field.

Known-good: both routers show the same area, timers and mask, and each lists the other in state 2-Way or Full.

Step 2 Failure signatures and packet-level troubleshooting Narrow the fault
  • No neighbour at all. Hellos do not arrive (interface passive, OSPF not enabled, multicast blocked) or are rejected: area, timers, mask, authentication or area type differ.
  • Stuck in Init. This router hears the neighbour, but the neighbour does not list it — the Hellos get through in one direction only.
  • Timers differ. Often after tuning one side, or because the network types differ, which changes the defaults.
  • Mask mismatch on Ethernet. One side has a different prefix length; point-to-point links do not check this.
  • Neighbours up, no DR elected as expected. Priority 0 on the intended router, or the election was already settled before it joined.
  • Duplicate router ID. The Hello is ignored because it appears to come from the router itself.
Step 3 When the problem is really fixed Narrow the fault
  • Both routers list each other, in 2-Way or Full.
  • Area, timers, mask, authentication and area type agree.
  • The debug shows no mismatch messages and has been turned off.
  • The neighbour's dead timer keeps being refreshed.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key checks
  • show ip ospf interface <interface> — hello/dead, area, network type, DR
  • debug ip ospf hello — mismatch messages (lab)
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

The OSPF Hello is the packet two routers use to find each other and to decide whether they can be neighbours. It carries the settings both sides must agree on, and a list of the neighbours the sender has heard.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

When two routers that can ping each other do not become OSPF neighbours, the reason is almost always a field in the Hello that differs. Knowing which fields must match — and which need not — turns the problem into a short comparison.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Hello fields: what must match before two routers become neighbours

RFC 2328 lists the Hello fields: network mask, HelloInterval, Options, router priority, RouterDeadInterval, DR, BDR, and the router IDs of neighbours seen on the link. A router knows the link is bidirectional when it sees its own router ID in the neighbour's Hello.

FieldMust match?Note
Area ID (in the header)YesDifferent areas never form an adjacency
Authentication (header)YesType and key
Network maskYes on broadcast and NBMANot checked on point-to-point links
HelloIntervalYesDefault 10 s on broadcast and point-to-point
RouterDeadIntervalYesDefault 4 × hello
Options: E bitYesStub area agreement
Router priorityNoUsed for DR/BDR election
DR, BDRNoCurrent election state
Neighbour listNoShows bidirectional communication

Inactivity timer

The RFC sets an inactivity timer per neighbour to RouterDeadInterval. If no Hello arrives before it expires, the neighbour is declared down.

C9300# show ip ospf interface Vlan100 | include Hello|Dead|Priority|Designated
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
  Transmit Delay is 1 sec, State DR, Priority 100
  Designated Router (ID) 10.0.0.11, Interface address 10.100.0.1
C9300# debug ip ospf hello
OSPF-1 HELLO Vl100: Rcv hello from 10.0.0.31 area 0 10.100.0.31
OSPF-1 HELLO Vl100: Mismatched hello parameters from 10.100.0.31
OSPF-1 HELLO Vl100: Dead R 120 C 40, Hello R 30 C 10

R is the received value and C the configured value. Here the neighbour uses the NBMA defaults (30/120).

Transport

Hellos go to 224.0.0.5 on broadcast and point-to-point links. Virtual links and NBMA networks use unicast. On NBMA, PollInterval is used for neighbours that are down.

Checklist when no neighbour appears

Area, authentication, hello/dead timers, mask, stub flag, MTU (later, in DBD), and an ACL that might drop protocol 89.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Wire format, fields and state ownership

Every OSPF packet starts with a common header: version, packet type (1 for Hello), router ID, area ID and authentication. The Hello itself adds:

FieldMeaningMust match?
Area ID (header)The area of the sending interfaceYes
Authentication (header)Type and keyYes
Network maskMask of the sending interfaceYes on broadcast networks; not checked on point-to-point
Hello intervalSeconds between Hellos (10 by default on Ethernet)Yes
Dead intervalSeconds without a Hello before the neighbour is declared down (40)Yes
OptionsCapability bits; the E bit tells whether the area is a normal or stub areaThe area-type bits, yes
Router priorityUsed in the DR election; 0 means never DRNo
DR and BDRInterface addresses of the routers the sender believes hold the rolesNo
Neighbour listRouter IDs the sender has received Hellos from—

The router ID in the header must differ between the two routers.

The neighbour list is what makes the relationship two-way. A router that receives a Hello is in state Init; when it sees its own router ID in the neighbour's list, it knows the neighbour hears it too and moves to 2-Way.

Hellos are sent to the multicast address 224.0.0.5.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2328

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → OSPF Hello Field Reference. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
ospf hello fieldshello dead interval
Embedded reference data

Quick lookup tables

OSPF Hello Field Reference packet-level operational reference

Direction-aware field interpretation, suspicious signatures and the next protocol/forwarding proof boundary.

Wire boundaryKnown-good for OSPF Hello Field ReferenceSuspicious signatureNext proof
Message identityCorrect peer/direction/type and coherent lengthsWrong sender, type, length or packet phasePacket sequence + peer state
Field semanticscommon header Version/Type/Router ID/Area ID plus Network Mask, Hello Interval, Options, Router Priority, Router Dead Interval, DR, BDR and Neighbor list match intended protocol stateHellos seen only one direction, Area ID or subnet-mask disagreement where applicable, Hello/Dead timer mismatch, incompatible options/authentication context, duplicate Router ID, multicast/L2 filtering, or a peer remaining Init because bidirectional recognition never appearsDecode exact fields on both sides
State consequencePacket produces expected protocol/route transitionWire looks healthy but local state disagreesFSM/LSDB/BGP table → RIB/FIB
ClosureOriginal workload succeeds for the explained reasonSession/adjacency recovered only transientlyRepeat capture + regression/failover test
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

OSPF Hello Fields

Timers/options/priority/DR/neighbor list.

30-second lookup

  • Open Packet Field Explorer for field-level metadata.
  • Use Packet Decoders for bit/flag values where relevant.
  • Use Paste Output / Structured Parser for CLI evidence.
  • Use Packet Filters to prove the wire boundary.

Evidence rule

A decoded field proves what is present in that packet/output at that moment. Continue through the verification chain before concluding end-to-end behavior.

Confirmation

Confirm action

Continue?