cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
414
Views
5
Helpful
4
Replies

elect DR

anitachoi3
Level 1
Level 1

Hi,

I have one question. there are two routers (R1 and R2)

! R1

router ID: 200.115.20.149

FE0/0: 192.168.30.10/24

! R2

router ID: 210.113.194.11

FE 0/0: 192.168.30.11/24

priority: 1

After the election, R1 becomes the DR, R2 is BDR. why?

rdgs

4 Replies 4

Edison Ortiz
Hall of Fame
Hall of Fame

Whatever router boots up first, becomes the DR. If R1 had OSPF up and running before R2, it will be the DR as there isn't any preemption under OSPF. You would have to clear ospf process on both routers at the same time so R2 can regain DR status.

HTH,

__

Edison.

Hi,

What is the election priority of DR and BDR?

rdgs

When the router boots up and OSPF is activated on an interface, it queries all OSPF speaking devices in a LAN for DR/BDR status. If none exists, it assume the DR role. A second router boots up on that same LAN and do the same, will find the current DR running on that segment and will assume the BDR role regardless of its OSPF priority and|or RouterID.

There is no preemption under OSPF, in other words, the second router won't take over the first router's assignment.

For that reason, if you want to ensure a router will always be the DR of a segment, you must change the OSPF priority on this router to 255 and all other routers to 0 so they won't participate on the election - regardless when they were booted up.

HTH,

__

Edison.

Both DR & BDR has same priority that is 1

You can see this under

show ip ospf neigbhor

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