Long-time lurker here, first-time poster from at least a couple weeks ago. Some TL;DR background: I have two ISPs that I want to load-balance using PCC. I recently bought a RG750 GR3 hEX and I'm pretty happy with it so far. Bear in mind I've mainly been a software developer for +20 years, so while I do have some networking background, it isn't too deep. I've learned a ton this couple weeks with Mikrotik though, so that's why I'm here as there's something I'm failing to understand:
Most of the tutorials I find online talk about using routing-mark in routes, however, v7 seems to have changed this so now we have to use routing tables. Sadly those tutorials (or well, presentations) haven't been updated since then, and it's kinda hard to find "translations" from v6 to v7, or an online tool or something that would do the translation.
I've followed these two:
https://es.slideshare.net/tipumadhu/mik ... y-solution (Slides 23-24)
https://mum.mikrotik.com//presentations ... 153633.pdf (Slides 26-36)
I've also tested this in v6 and it worked, but I want to use v7 as I need Wireguard. Anyways, it is my understanding that by setting the 0.0.0.0/0 route with a routing-mark of ISP1 or ISP2 would make it work. The commands did work in v6. Now, in v7 the commands throw an error and I read around that I need to replace routing-mark with routing-table, and create some routing tables with the desired name and marked as "FIB" (whatever that means or does).
In theory it should work but it doesn't: I have to set the 0.0.0.0/0 routes as routing-table main for them to work. If I mark them as ISP1 or ISP2, I don't have internet.
So I'm a bit confused: I assume that when I set the 0.0.0.0/0 routes to the main table, it goes to the routing tables and sends the connections to the specified routing mark using that routing table list? Or in other words, how can we translate this bit of code:
Code: Select all
/ip route
add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-table=ISP1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-table=ISP2 check-gateway=ping
Or the slides from the presentations into v7 format so it works as intended? Right now routing-table has to be main otherwise it won't work, but then, I'm assuming that creating the routing tables isn't doing anything, right?
Sorry for the confusion but I'm confused too, so any pointers are greatly appreciated. I also have other questions, but I'd like to get this sorted out first
Thanks in advance!