Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

DR/BDR Election in OSPF

Guys I have a problem understanding step 4 (according to RFC 2328) of DR/BDR election. Can anyone discuss it for me?

Thanks

4 REPLIES
New Member

Re: DR/BDR Election in OSPF

Hi,

Consider a segment where only one router, RTA, is eligible to become a DR. When it first comes up,it will run the DR election process. Here is what happens as per the steps in section 9.4 of RFC2328 (the numbers correspond to the corresponding step numbers in section 9.4).

1. There is no current DR or BDR.

2. Since no other routers will have declared themselves BDR, RTA will consider itself the BDR for now.

3. Since no other routers will have declared themselves DR, RTA will assign the Designated Router to be the same as the newly elected Backup Designated Router, which happens to be itself. So at this point, RTA considers itself both a DR and a BDR.

4. At this point, since RTA is now newly both the DR and the BDR, it has to repeat steps 2 and 3.

2 - Repeat. This step says:"Only those routers on the list that have not declared themselves to be Designated Router are eligible to become Backup Designated Router". Since RTA considers itself to be the DR, it is no longer eligible to be the BDR as per the previous statement. Therefore, since there are no other DR-eligible routers on the segment, RTA will decide that the segment has no BDR>

3 - Repeat. RTA has to choose the DR from among those routers that have declared themselves DR. In this case, it's only RTA so it will now declare itself DR.

So here's what the repetition of steps 2 and 3 do.

- at the end of the first iteration, RTA considers itself both DR and BDR

- at the end of the second iteration, RTA considers itself just the DR and there is no BDR on the segment.

Step 4 make sure that the same router (i.e. RTA) does not consider itself both DR and BDR.

Thanks,

Vijaybabu

New Member

Re: DR/BDR Election in OSPF

Hi,

First thanks for your answer.

I'm just not talking about your topology imagine there are some other routers that can become DR or BDR:

1- What about when RTA is the new BDR and another router is DR?

2- or When RTA is no longer the DR?

Thanks

Mohammad

Cisco Employee

Re: DR/BDR Election in OSPF

Hi Mohammad,

1) If another router DR aleready exist RTA will remain as BDR and will not be promoted to DR. (From STEP 3 explained by Vijay in his post).

2) If RTA is a DR and it goes down, BDR will be promoted as DR and new BDR will be elected and that is the reason always BDR election is done first and then it is promoted to DR.

HTH

Ankur

New Member

Re: DR/BDR Election in OSPF

Hi Ankur,

Thanks for the answer but the question is that what do step 4 do in this 2 cases that you explained. please explain one by one.

Thanks Again

Mohammad

438
Views
10
Helpful
4
Replies
CreatePlease to create content