What are DR and BDR?
DR and BDR
The DR and BDR (designed router and backup designated router) are common in Ethernet networks, AKA multiaccess broadcast networks. They work together in OSPF to reduce OSPF traffic and they dictate control over the topology – they are like a central point of management for the OSPF segment (or subnet) they are located on. The DR and BDR tell other routers on that subnet about other OSPF routers and networks in that segment and other OSPF segments. So because the DR/BDR is elected per subnet, we can have multiple DRs in an area such as Area 0.
The router itself is not actually a DR or BDR, but the interface is because OSPF is a link-state protocol, hence a router can have one interface as a DR, and another interface as a BDR. The BDR is a backup of the DR and simply maintains its accuracy consistent with that of the DR and it takes over as DR should the DR fail.
If the interface is neither a DR or BDR, then it is simply a Drother – the interface is participating in the OSPF topology and simply listens to what the DR and BDR tell it. Drothers send their OSPF information to the DR and BDR which is then propagated to other Drothers.
In short, the whole point of a DR/BDR combination is to reduce routing updates on multiaccess broadcast networks by preventing all the routers involved from spamming their updates to one another – this process is controlled by just the one router – the DR. They are the spokespeople for collecting and sending OSPF LSAs to everyone else.
DR and BDR Election
The DR and BDR are elected on a network segment when Hello packets are exchanged. There are various states of neighbor discovery with Hello packets – the DR/BDR election occurs at the ‘Two-Way’ state and is required before the ‘Exchange’ state starts at which point they are not establishing adjacencies with Drothers.
There must be a DR and BDR on a broadcast network (224.0.0.6 is used to reach the DR/BDR) unless the capability is manually disabled?Thus, the link is effectively a ‘point-to-point’ (224.0.0.5 is used for communication) and therefore no DR/BDR is required because it is assumed there are only two routers, and broadcasting is not supported.
If a DR fails and loses its position as DR, but rejoins the segment after a new election has occurred and it has been replaced, the original DR will not assume its position again until the neighbor adjacencies have been reset.
The rule for electing a DR/BDR:
It should be noted if a router joins the segment that should be DR, but is not elected DR, this is because the adjacency needs to be flapped or DR/BDR failure before this new router is recognized
Like most sports – the highest-value wins
?
Characteristics of the DR, BDR, and Drothers (Point Form)
While there is a DR/BDR combination per each subnet segment, the routing updates are propagated throughout the OSPF area and domain
领英推荐