In order for OSPF routers exchange their routing databases; they must be able to discover themselves in the network. For this discovery phase, OSPF-enabled routers use the Hello Protocol.
The hello protocol is the responsible for establishing and maintaining an adjacency.
Hello packets ensure bi-directional communications between neighbors.
OSPF Hello packets are also used as a keepalive mechanism. If the router does not hear the neighbor Hello packets in a given time (DeadInterval), it considers it down.
In Broadcast and Nonbroadcast environments, Hello packets are used to elect the Designated and Backup Designated Routers. Another key point to remember is that on Broadcast networks, the destination address of the Hello packets is the multicast address 18.104.22.168. In Nonbroadcast networks, the destination address is unicast.
The hello packets contain parameters that must match for routers to become neighbors:
- The routers must be on a common subnet.
- The Hello and Dead Interval timers must be identical between the neighbors.
- The Area ID.
- Options (Specifically the E-bit which denote the type of area. 1=normal, 0=stub).
- The type and authentication password.
It is time to close this post. Thank you for visiting.