Community discussions

MikroTik App
 
User avatar
acim
Member
Member
Topic Author
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

How to elect DR and BDR by manually setting router-id?

Sun Apr 29, 2012 12:19 am

router-id in RouterOS is selected as lowest IP address of the router on the contrary of Cisco, where this is the highest IP. But, I have some related questions:

1. Cisco prioritizes loopback over other interfaces, what about RouterOS? I know how to define router-id manually, but I am just wondering about automatic assignment.

2. If I manually set router-id's of all routers, how this will affect DR and BDR assignment if I keep all priorities to default value? Will it use highest or lowest router-id? Or is it affected by router-id at all or just by priority?

3. Where to set router's priority, /routing ospf interface or /routing ospf nbma-neighbor?
 
jmay
Member
Member
Posts: 336
Joined: Tue Jun 23, 2009 8:26 pm

Re: How to elect DR and BDR by manually setting router-id?

Wed May 02, 2012 9:15 pm

For best results create a loopback by creating a bridge with no ports assigned to it. Give that bridge a loopback IP and use that as your router ID.

Router priority determins designated router and backup designated router. Once ospf interfaces are up and running open the dynamic interface and copy it to make it a static interface. You can then change router priority. Highest number wins. You can also use a 0 if you dont want that interface to be part of the election.

Who is online

Users browsing this forum: andrewrmack and 50 guests