15k routes?

Hi all,

I have a private network setup where I am routing UA-IX traffic via a point to point tunnel to my remote segment in the Ukraine. Currently I am doing that with a simple policy based routing (manual address list, a mangle rule and a dedicated default route in a separate routing table)

UA-IX currently contains 15k networks

I am now thinking of having the setup powered with OSPF. That will mean that I will have all those routes in a routing table, synced between OSPF neighbors.

Is this amount of routes normal? Will RouterOS perform better/worse compared to the standard address list approach?

I have created a script file to add those static routes, it takes 30 minutes to import 15307 records, also it makes it hard to work with the routing table, as filtering out main table rules (~10) takes 15 seconds or so, and produces empty result on console. Does anyone have any experience with such setups?

OSPF can deal with that number of routes, but not as efficiently or as stable as BGP can since OSPF would have to maintain a very large link state database to track 15k routes.

It’s not so much a matter of can you vs. should you. Internet Exchanges almost always deliver routes using BGP and I would recommend using BGP here as well.

By comparison, a CCR using BGP can learn over 3.6 million routes in half the time it is talking your script to build 15k static routes. Details and real-world tests are here:

http://www.stubarea51.net/2015/07/25/mikrotik-ccr1072-1g-8s-review-part-2-bgp-performance/