fir3net

PPS-Firenetbanner-780.5x190-30-03-17

OSPF - The DR and BDR Roles

Contents[Hide]

DR/BDR Roles

Within OSPF, the role of the Designated Router (DR) and a Backup Designated Router (BDR) is to act as a central point for exchanging of OSPF information between multiple routers on the same, multiaccess broadcast network segment. Non-DR and non-BDR routers only exchange routing information with the DR and BDR, rather than exchanging updates with every other router upon the segment. This, in turn significantly reduces the amount of OSPF routing updates that need to be sent.

NOTE OSPF does not elect DR/BDR roles upon point-to-point links, i.e 2 directly connected routers. Further details on the different OSPF network types can be found at https://www.ccexpert.us/ospf-network/different-network-types-and-ospf.html.

 image2

Figure 1 - No DR/BDR.

 

dr

Figure 2 - With Elected DR.

Election

Upon the segment each router will go through an election process, to elect a DR and BDR. There are two rules used to determine who is elected:

  1. Priority - Router with the highest wins the election. The default priority is 1. This is configured on a per-interface level.
  2. Router ID - If there is a tie, the highest router ID wins the election.

2-Way

Each router forms a full relationship (/neighbor state) with the Designated and Backup Designated Routers. Non-DR and Non-BDR's on the other hand form the 2-way neighbor state. This means that they both send/receive each other's HELLO's, but no routing updates are exchanged between one another.

About the Author

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001