cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
444
Views
10
Helpful
5
Replies

OSPF Strange problem

dangal.43
Level 1
Level 1

I had 3 routers connected with one layer 2 switch in same vlan. Each router is configured with the loopback addresses like 1.1.1.1, 2.2.2.2 and 3.3.3.3. so as per the DR and BDR selectiong 3.3.3.3 should be the DR and 2.2.2.2 should be the BDR. but when i issue the show ip ospf neighbor command then its indicating the 1.1.1.1 as DR and 2.2.2.2 as BDR and all the router had same priority field.

1 Accepted Solution

Accepted Solutions

Hi Friend,

Once the election is done and DR and BDR already elected the only option available to other routers to become DR/BDR is when existing DR/BDR go down.

So in your situation afaik the only option is to reload the router with having adress 1.1.1.1 and 2.2.2.2 and then 3.3.3.3 router will take the role of DR.

NOTE: If this is live network do not follow my suggestion of reload without arranging downtime or as per your company network requirements.

HTH

Ankur

*Pls rate all helpfull post

View solution in original post

5 Replies 5

ankbhasi
Cisco Employee
Cisco Employee

Hi Friend,

I believe your router having loopback ip 1.1.1.1 might be the first one to come online and router having 2.2.2.2 must be the second one to be online and is the reason 1.1.1.1 is DR and 2.2.2.2 is BDR.

Because there is no re-election for DR/BDR one which is already selected will stay as DR no matter there is other router having higher router ID or priority.

Can you confirm the uptime of all routers with "sh version" command?

HTH

Ankur

*Pls rate all helpfull post

yes you are correct so what will be the solution for that? how can i make the 3.3.3.3 as DR? so as per your reply if i will configure the ospf on router then the router which will be the first to enable the ospf it will become dr and then second enable router will be bdr. right!!!

so how can i correct this? even after the clear ip ospf process its continue with the 1.1.1.1 as DR and 2.2.2.2 as BDR.

Hi Friend,

Once the election is done and DR and BDR already elected the only option available to other routers to become DR/BDR is when existing DR/BDR go down.

So in your situation afaik the only option is to reload the router with having adress 1.1.1.1 and 2.2.2.2 and then 3.3.3.3 router will take the role of DR.

NOTE: If this is live network do not follow my suggestion of reload without arranging downtime or as per your company network requirements.

HTH

Ankur

*Pls rate all helpfull post

thanks ankur this is not my production network. i am just doing testing on it. so as per your reply when i will save my config and will reload the routers then it will work as per the rule of OSPF DR and BDR election process. is that right?

Hi Friend,

Yes provided all routers are reloaded at a same time and come up same time. Also if you configure router 1.1.1.1 and 2.2.2.2 with priority 0 they will not participate in DR/BDR election and 3.3.3.3 will be selected as DR.

HTH

Ankur

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: