- Initial State: When OSPF becomes active on a network, the Designated Router (DR) and Backup Designated Router (BDR) are initially unknown, set as 0.0.0.0. A wait timer starts based on the dead interval.
- Neighbor Discovery: Routers send Hello packets with DR/BDR values of 0.0.0.0 until they learn about the DR/BDR from others. If a Hello packet is received with valid DR/BDR values, these are accepted, and the wait timer stops.
- Wait Timer Expiry: If no DR/BDR information is learned before the wait timer expires, DR election begins.
- Eligible Neighbors List: Create a list of neighbors eligible to be DR/BDR. This includes routers with a priority greater than zero.
- Subset for BDR Selection: Exclude any routers that claim to be the DR from this list. From the remaining routers, select the one with the highest priority to be the BDR. If priorities are equal, use the highest Router ID (RID), loopback address, or IP address as tiebreakers.
- DR Selection: From the original list (including routers claiming to be DR), select the router with the highest priority as the DR. Use RID, loopback, or IP address as tiebreakers if needed.
- Promotion and Election: If no routers initially claimed to be the DR, promote the chosen BDR to DR. Elect a new BDR using the same selection method.
These steps ensure a stable and efficient election process for DR and BDR in an OSPF multi-access network setup.
The Backup Designated Router (BDR) is selected first to ensure a seamless transition in case the current DR fails. Here’s why:
- Smooth Transition: By selecting the BDR first, there’s already a standby ready to take over as DR if the current DR goes down, minimizing network disruption.
- Election Efficiency: Selecting the BDR first ensures that if no router initially claims to be the DR, the BDR can be promoted immediately, and a new BDR can be elected without restarting the election process.
- Redundancy: Having a BDR ready provides redundancy, which is crucial for maintaining network stability and reliability.
This process helps maintain continuous communication and routing efficiency within the network.
The election process is structured to select the BDR first through these steps:
- Neighbor List Creation: A list of neighbors with a priority greater than zero is created. These are eligible candidates for DR/BDR roles.
- Subset for BDR: From this list, exclude any routers that claim to be the DR. This subset is used to elect the BDR.
- BDR Selection: Within this subset, choose the router with the highest priority to become the BDR. If priorities are equal, use the highest Router ID (RID), loopback address, or IP address as tiebreakers.
- DR Selection: After the BDR is chosen, use the original list of neighbors (including those claiming to be DR) to select the DR using the same criteria.
This method ensures that a BDR is always ready to step in, enhancing network resilience.
Network Engineer/CCNA/CCNP/CCIE/Network Architect/Network Specialist
2 周BDR
working as IT SUPPORT ENGINEER || CCNA || Network Bulls
1 个月BDR
Network Engineer
1 个月DR 1st then only the BDR based on the highest priority value. If it has the same value then consider the highest router id.. .
Enterprise Network Design Consultant at British Telecommunications
1 个月As the OSPF process itself has been designed in a way to ensure the easy and fastest transition at any point of time during OSPF operation. The BDR is elected first and then promoted to DR this helps if the DR is lost, again the existing BDR can be promoted to DR so the process has been made to ease on this aspect and way of working of DR /BDR in OSPF.
Network Engineer | CISCO | Nexus, SD-WAN, Palo Alto, Checkpoint & GIA, Cisco FTD & FMC| Routing, Switching, Firewalls, Cloud Networking | ARISTA & HPE.
1 个月Great sir very useful Atul Sharma ????