Skip to content
Portfolio

Open Shortest Path First (OSPF) Adjacency process

OSPF routers exchange several packet types while forming an adjacency and synchronizing the LSDB.

PacketRole in adjacency
HelloDiscover neighbors, agree on timers and area
DBDExchange summary of the local LSDB
LSRRequest missing LSA details
LSUDeliver requested LSAs
LSAckAcknowledge LSU

Neighbor state must reach FULL before the LSDB is considered synchronized.

OSPF packet types and adjacency exchange OSPF packet types and adjacency exchange

Version: OSPFv2 or OSPFv3

Type:
1- Hello
2- DBD Database Descriptor
3- LSR Link State Request
4- LSU Link State Update (LSA Link State Advertisements are inside LSUs)
5- Link State Acknowledgment

Router ID: Of the advertising router, and interface

Authentication Type:
0 - No password
1 - Plain text password
2 - MD5 authentication

  • OSPF discover each other and form adjacencies via Hello packets.
  • They send Hello packets out each interface where OSPF is enabled (except passive interfaces)
  • Multicast to 224.0.0.5
  • Sent every 10 seconds by default