Hi all, is it possible somehow to add about 14000 routes ?
Idea is devide the routes between two interfaces, routes (IP addrs) to first interface belongs to one country, rest of routes of all other countries - through the second interface.
I created a text file with ~14k commands “/ip route add dst-address=…” (which belong to one country), but seems it’s not possible to execute into terminal.
This problem screams BGP. But would BGP actually be more performant if the routes are fixed? I like to think so, but not sure myself.
I guess the alternative is a firewall address-list with mange rule to set/mark routing… but have to imagine that be slower than BGP or even static routes :import by script.
The advantage of using BGP is that you do not need to maintain this list of routes (which will change over time) in all the routers.
You will only need to feed them in from an external source.
Thanks to all, I imported the file with commands and run it from terminal. Proccess took 25 minutes, but my old MikroTik with 1 cpu core and 64 mb ram deal with 14k routes without any issues. 15-20 mbps through l2tp tunnel+ipsec, great use for an old router.