I'm configuring a CCR 1009-8G-1S on RouterOS v6.49.6 and currently trying to figure out how would I establish a parallel connection while having both ISPs active. The only reason for doing this and not a failover, is a client with a OpenVPN (1194 port) client-to-site via internal PFsense (192.168.254.150) that needs to have our 2nd ISP as their main connection with us, and only revert to our 1st ISP in case our line is down.
The 1st ISP is currently assigned on the SFP1 interface on the router, and the 2nd is on Ether7.
What I have done currently is the setup on the IP Addresses (redacted for security) :
Let me know if you need more info, but I'm trying to figure out a way with this setup to get everything going and have a failover in place without the need of my input each time there's a failure./ip address
add address=Y.Y.Y.Y/30 interface=ether7 network=Y.Y.Y.Y comment=ISP2
add address=X.X.X.X/29 interface=sfp1 network=X.X.X.X comment=ISP1
add address=192.168.254.254/24 interface=bridge network=192.168.254.0 comment="Subnet I need routed for 2nd ISP"
add address=192.168.1.254/24 interface=bridge network=192.168.1.0 comment="Rest of the traffic"
/ip firewall nat
add action=masquerade chain=srcnat comment=ISP2 out-interface=ether7
add action=masquerade chain=srcnat comment=ISP1 out-interface=sfp1 src-address=!X.X.X.X/29
/ip route
add check-gateway=ping distance=1 gateway=X.X.X.X comment=ISP1
add distance=2 gateway=Y.Y.Y.Y comment=ISP2
So, essentially I'm trying to route 192.168.254.0/24 towards the 2nd ISP (ether7) while the rest of my traffic is going through the 1st ISP. In case of failure from our 2nd ISP, I would like this traffic to be sent back out the sfp1 where our 1st ISP is.
Is it possible to set this up?
Thank you in advance.