Web OS 10.0 Application Guide72 n Chapter 4: OSPF 212777-A, February 2002Neighbors and AdjacenciesIn areas with two or more routing devices, neighbors and adjacencies are formed.Neighbors are routing devices that maintain information about each others’ health. To establishneighbor relationships, routing devices periodically send hello packets on each of their inter-faces. All routing devices that share a common network segment, appear in the same area, andhave the same health parameters (hello and dead intervals) and authentication parametersrespond to each other’s hello packets and become neighbors. Neighbors continue to send peri-odic hello packets to advertise their health to neighbors. In turn, they listen to hello packets todetermine the health of their neighbors and to establish contact with new neighbors.The hello process is used for electing one of the neighbors as the area’s Designated Router(DR) and one as the area’s Backup Designated Router (BDR). The DR is adjacent to all otherneighbors and acts as the central contact for database exchanges. Each neighbor sends its data-base information to the DR, which relays the information to the other neighbors.The BDR is adjacent to all other neighbors (including the DR). Each neighbor sends its data-base information to the BDR just as with the DR, but the BDR merely stores this data and doesnot distribute it. If the DR fails, the BDR will take over the task of distributing database infor-mation to the other neighbors.The Link-State DatabaseOSPF is a link-state routing protocol. A link represents an interface (or routable path) from therouting device. By establishing an adjacency with the DR, each routing device in an OSPF areamaintains an identical Link-State Database (LSDB) describing the network topology for itsarea.Each routing device transmits a Link-State Advertisement (LSA) on each of its interfaces.LSAs are entered into the LSDB of each routing device. OSPF uses flooding to distributeLSAs between routing devices.When LSAs result in changes to the routing device’s LSDB, the routing device forwards thechanges to the adjacent neighbors (the DR and BDR) for distribution to the other neighbors.OSPF routing updates occur only when changes occur, instead of periodically. For each newroute, if an adjacency is interested in that route (for example, if configured to receive staticroutes and the new route is indeed static), an update message containing the new route is sentto the adjacency. For each route removed from the route table, if the route has already beensent to an adjacency, an update message containing the route to withdraw is sent.