cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
697
Views
5
Helpful
3
Replies

OSPF DR Question

ksarin123_2
Level 1
Level 1

Hello folks -

Consider the following network below:

RA-----------------------RB--------------------RC

RA-RB network: 10.10.10.0/24

RB-RC network: 172.16.10.0/24

Assume all router interfaces are in Area 0 and the network type is BROADCAST. If that's the case, will there be a DR for the 10.10.10.0 subnet and another DR for 172.16.10.0 subnet? In other words, is the DR is elected per subnet, and not per area, given the network type is broadcast? If yes, then in the case above, there should be two DR's elected, correct?

Thanks for your help.

2 Accepted Solutions

Accepted Solutions

You are correct.

If for example you check the ''sh ip ospf interface'' command on RB you will see for both interfaces the RB could be the DR for one segment and the BDR for the other segment (just an example).

Federico.

View solution in original post

Quick Recap of the DR/BDR Election Fundamentals:

- The OSPF DR/BDR election is based on the interface level OSPF priority value (range:0 - 255; default is 1) along with the Router-ID. The interface with the highest priority value is elected the DR, and the one w/the second highest priority the BDR. If there is a tie, the router with the Highest RID is most likely to be elected the DR or BDR.

- There is no preemption in OSPF much like ISIS does with its DIS election. This means once a DR always a DR even when a new router comes up w/a higher interface priority or higher RID unless the entire OSPF process is cleared (manually or via the box rebooting).

- DR is an attribute of the interface (segment) and not the routing process. So, yes in this example, the box in the middle could be a DR for one segment and the BDR or DROther on the other or neither (based on which box comes up first or if you disable the participation via setting the priority to 0).

- Lastly, what's shown is a common example in a Service Provider environment. i.e. the circuits are Gig or 10 Gig link and thus the network type is Broadcast. In the event, another device will never be added to this segment, it is best practice to change the network type to point-to-point under the respective interfaces, thus avoiding a DR/BDR election and reducing overhead.

Cheers,

ugot2nome

View solution in original post

3 Replies 3

You are correct.

If for example you check the ''sh ip ospf interface'' command on RB you will see for both interfaces the RB could be the DR for one segment and the BDR for the other segment (just an example).

Federico.

Quick Recap of the DR/BDR Election Fundamentals:

- The OSPF DR/BDR election is based on the interface level OSPF priority value (range:0 - 255; default is 1) along with the Router-ID. The interface with the highest priority value is elected the DR, and the one w/the second highest priority the BDR. If there is a tie, the router with the Highest RID is most likely to be elected the DR or BDR.

- There is no preemption in OSPF much like ISIS does with its DIS election. This means once a DR always a DR even when a new router comes up w/a higher interface priority or higher RID unless the entire OSPF process is cleared (manually or via the box rebooting).

- DR is an attribute of the interface (segment) and not the routing process. So, yes in this example, the box in the middle could be a DR for one segment and the BDR or DROther on the other or neither (based on which box comes up first or if you disable the participation via setting the priority to 0).

- Lastly, what's shown is a common example in a Service Provider environment. i.e. the circuits are Gig or 10 Gig link and thus the network type is Broadcast. In the event, another device will never be added to this segment, it is best practice to change the network type to point-to-point under the respective interfaces, thus avoiding a DR/BDR election and reducing overhead.

Cheers,

ugot2nome

Great explanation, thank you!!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card