25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.6.2 Neighbor communication<br />

OSPF is responsible for determining the optimum set of paths through a network.<br />

To accomplish this, each router exchanges LSAs with other routers in the<br />

network. The OSPF protocol defines a number of activities to accomplish this<br />

information exchange:<br />

► Discovering neighbors<br />

► Electing a designated router<br />

► Establishing adjacencies <strong>and</strong> synchronizing databases<br />

The five OSPF packet types are used to support these information exchanges.<br />

Discovering neighbors: The OSPF Hello protocol<br />

The Hello protocol discovers <strong>and</strong> maintains relationships with neighboring<br />

routers. Hello packets are periodically sent out to each router interface. The<br />

packet contains the RID of other routers whose hello packets have already been<br />

received over the interface.<br />

When a device sees its own RID in the hello packet generated by another router,<br />

these devices establish a neighbor relationship.<br />

The hello packet also contains the router priority, DR identifier, <strong>and</strong> BDR<br />

identifier. These parameters are used to elect the DR on multi-access networks.<br />

Electing a designated router<br />

All multi-access networks must have a DR. A BDR can also be selected. The<br />

backup ensures there is no extended loss of routing capability if the DR fails.<br />

The DR <strong>and</strong> BDR are selected using information contained in hello packets. The<br />

device with the highest OSPF router priority on a segment becomes the DR for<br />

that segment. The same process is repeated to select the BDR. In case of a tie,<br />

the router with the highest RID is selected. A router declared the DR is ineligible<br />

to become the BDR.<br />

After elected, the DR <strong>and</strong> BDR proceed to establish adjacencies with all routers<br />

on the multi-access segment.<br />

Establishing adjacencies <strong>and</strong> synchronizing databases<br />

Neighboring routers are considered adjacent when they have synchronized their<br />

link state databases. A router does not develop an adjacency with every<br />

neighboring device. On multi-access networks, adjacencies are formed only with<br />

the DR <strong>and</strong> BDR. This is a two step process.<br />

Chapter 5. Routing protocols 205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!