In 20 years, you will be more dissapointed by what you didn't do than by what you did.

OSPF Hello Packets: Timers, Neighbors and Troubleshooting Checks

OSPF Hello packets are the first operational checkpoint for OSPF adjacency formation. This quick reference keeps the original packet fields and adds context for timers, neighbor checks, multicast addresses and basic troubleshooting.


OSPF Hello

Sent out through all (included in OSPF) interfaces during initialization phase. On broadcast and p2p links sent to a well known  multicast addresses :
  •  224.0.0.5 - All OSPF routers
  •  224.0.0.6 - DR/BDR routers

Contains:
OSPF hello message

  • Network Mask - subnet mask, on unnumbered and virtual links set to 0.
  • Hello Interval - 10sec by default 
  • Router Dead Interval - 40sec by default.
  • Options - commonly used are N/P bit (NSSA support) and E bit (external LSAs support)
    • 1st bit value in the Options fiels is reserved for future purpose. 
    • O bit is utilized for OSPF opaque ( RFC 2370 )
    • DC bits has been implemented for demant ciruit capabilities (RFC 1793)
    • EA bit is utilized for the external attributes
    • N/P has been implemented for NSSA option ( RFC 1587 )
    • MC bit designates MOSPF
    • E bit - impies that external LSA are permited in this area. E bit is responsible for generating LSA4 by ABR
    • T bit has been implemented for Type of Service (default = 0 )
  • Router Priority - used in designated/backup router election ( default = 1 ) Higher is better. Priority = 0 means that this router will not contest in DR election.
  • Designated Router - address of current DR. 0 by default.
  • Backup Designated Router - address of current BDR. 0 by default.
  • Neighbor - router IDs of all neighbors on a network segment. Initially empty, filled with RIDs from received Hello messages. 
  • Area ID 
  • Authentication 

    • None - Default.
    • Simple - passwords and sent in clear text. This kind of authentication is used mainly to prevent configuration mistakes, it's not secure.
    • MD5 - passwords are stored locally and only password's MD5 checksum (which is not easy to reverse calculate) is exchanged. Secure.

 In Cisco IOS two routers to establish neighbor relation below Hello values need to match :
  1. Hello Interval
  2. Router Dead Interval
  3. Area ID
  4. Authentication (Password/MD5) 
  5. Mask of the originating interface on broadcast links

Operational notes

  • Mismatch in hello/dead timers, area ID, authentication, network type or subnet mask can prevent OSPF neighbors from reaching full adjacency.
  • On broadcast networks, remember that 224.0.0.5 targets all OSPF routers while 224.0.0.6 is used for DR/BDR communication.
  • For troubleshooting, compare the local interface configuration with the received Hello fields before looking deeper into LSDB or SPF behavior.

Related reading

Discussion

If you have a lab capture or troubleshooting story where OSPF Hello parameters caused an adjacency issue, share the symptom and the exact field that solved it.

Comments

1 Response to "OSPF Hello Packets: Timers, Neighbors and Troubleshooting Checks"

vr said... February 4, 2026 at 4:08 PM

Informative blog! UI/UX concepts explained in a simple way.ui and ux training

Post a Comment

Popular Posts