We are transitioning to a new ISP. I want to setup the second ISP while the first is still in place - until we can test everything, and get DNS resolution using the new host names.
So far:
1-Added IP Addresses of new ISP and selected interface of ISP2
2-Created a Mangle prerouting for Routing Mark for testing from my IP only.
3-Added default IP Route and selected the routing mark from step 2
4-Added Source NAT setting the out interface, routing mark and “to address” using one of the public ip’s on WAN2.
At this point, I can surf the webs and whatsmyip shows the new ISP IP Address
Now - I’ve added the NAT rules for inbound traffic (internal services)… and for them to work, I add a Mangle prerouting rule.
But when I do this - the old IP address on ISP1 no longer responds to requests.
So - how do I get both ISP1 and ISP2 to respond to requests while we are setting up the router and testing… and of course, waiting for DNS resolution to update.
Thanks in advance for the assistance. I did not initially program this device so I am stumbling along.
Oh and to mention - we are using the Mikrotik VPN feature too for L2TP/ipSEC to connect to our Remote Desktop.
You’ll need to mark traffic coming from ISP2, so that based on that mark only that traffic will be routed out to internet over isp2.
The other traffic to internet should go over isp1.
“At this point, I can surf the webs and whatsmyip shows the new ISP IP Address”
So the outbound mark is working as intended…
So When I mark the traffic coming from ISP2 - it only works on ISP2.
So, for example
70.1.1.1 (ISP1) inbound goes to port 80 to server 192.168.3.20
When I add the NAT rule
60.1.1.1 (ISP2) inbound goes to port 80 to server 192.168.3.20
and add Mangle rule as well…
but now 70.1.1.1 no longer works for the inbound, only 60.1.1.1
I need both working so until DNS is resolved - both IP’s will work.