08-09-2009 07:54 AM - edited 03-04-2019 05:41 AM
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
08-09-2009 08:16 AM
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.
08-09-2009 08:31 AM
Hi,
What is the election priority of DR and BDR?
rdgs
08-09-2009 10:41 AM
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.
08-09-2009 10:42 AM
Both DR & BDR has same priority that is 1
You can see this under
show ip ospf neigbhor
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: