cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
876
Views
0
Helpful
2
Replies

DR , BDR problem in OSPF?

imran_mcse
Level 1
Level 1

Please have a look below

R4#sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface

1.1.1.1 1 FULL/DR 00:00:39 172.26.22.1 FastEthernet0/0

3.3.3.3 1 2WAY/DROTHER 00:00:38 172.26.22.3 FastEthernet0/0

2.2.2.2 1 FULL/BDR 00:00:35 172.26.22.2 FastEthernet0/0

I am confused. According to my knowledge the 1.1.1.1 should not be DR as it has the lowest ID. According to above 3.3.3.3 should be the DR.

But why it is like this?

1 Accepted Solution

Accepted Solutions

royalblues
Level 10
Level 10

Imran,

Whenever OSPF starts on the LAN, it always checks for an existing DR/BDR and accepts it if it finds one.

The only time it does an election is when it cannot find a DR and a BDR. it is at this time it uses the parameters like the router id & priority to decide the DR/BDR.

In your case the router 1.1.1.1 must have come online first and hence become the DR.

The second router to come online was 2.2.2.2 and it did find the DR for the LAN. Hence this became the BDR.

If you happen to restart all the routers and assuming all of them come online at the same time, you should see 3.3.3.3 becoming the DR.

HTH, rate if it does

Narayan

View solution in original post

2 Replies 2

royalblues
Level 10
Level 10

Imran,

Whenever OSPF starts on the LAN, it always checks for an existing DR/BDR and accepts it if it finds one.

The only time it does an election is when it cannot find a DR and a BDR. it is at this time it uses the parameters like the router id & priority to decide the DR/BDR.

In your case the router 1.1.1.1 must have come online first and hence become the DR.

The second router to come online was 2.2.2.2 and it did find the DR for the LAN. Hence this became the BDR.

If you happen to restart all the routers and assuming all of them come online at the same time, you should see 3.3.3.3 becoming the DR.

HTH, rate if it does

Narayan

also keep the priority of the interfaces in mind. And what kind of Network are u using?

ciao flash

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