Community discussions

just joined
Topic Author
Posts: 17
Joined: Fri Mar 29, 2013 2:29 pm

OSPF Router-ID in docs and MTCRE

Sat Jan 23, 2016 11:41 am

Hello, I've met some insistency with wiki(official docs) and practice.
ROSv6 ->
Protocol OSPF, Instance setting - while using default Router-ID - is a maximum IP address on router, by the practice it's different.
It's also spotted in MTCRE questions.

By the practice mostly using is LOWEST IP address.
Posts: 457
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ

OSPF Router-ID in docs and MTCRE

Thu Jan 28, 2016 6:41 pm

I prefer to always specify a loopback address so there are no surprises
User avatar
MikroTik Support
MikroTik Support
Posts: 5931
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia

Re: OSPF Router-ID in docs and MTCRE

Fri Jan 29, 2016 5:11 pm

Depends on what you consider to be "lowest IP", we already once changed documentation because somebody stated that manual is wrong.
User avatar
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

Re: OSPF Router-ID in docs and MTCRE

Fri Jan 29, 2016 6:20 pm

You should always use a loopback IP as the router ID.
Other vendors' routers will use loopback interface addresses (and choose the highest IP in Cisco's case) before they use interface addresses.
In Mikrotik's case, there's no such thing as a true loopback interface. We generally make a bridge interface, name it "loop" or "loopback" or something like that as a way to know what its purpose is, and use that as a surrogate loopback interface. The difference is that this is no different to the Mikrotik from any other bridge interface, so Mikrotik's going to choose the (apparently) lowest IP on the system.

In Mikrotik, it's good practice to specify the router ID explicitly in OSPF, BGP, MPLS, etc, and to use a loop IP for this.
When given a spoon,
you should not cling to your fork.
The soup will get cold.
User avatar
Posts: 1049
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA

Re: OSPF Router-ID in docs and MTCRE

Fri Jan 29, 2016 10:51 pm

+1 for setting a router-id.

Can't even begin to describe all the bad things I've seen happen because the router-id wasn't set. The most common is a duplicate router-id of on each MikroTik router :-)
Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684 ... l-support/

Who is online

Users browsing this forum: No registered users and 23 guests