I have network like below diagram.
Network
User group 1 is using MTK -1 for connecting ISP1 and data 1. User group 2 is using MTK - 2 to connect to ISP2 and data 2 . There is a peer connectivity between the routers. Now, I want-
When ISP1 is down, user group 1 should be able to access via ISP2 and when ISP2 is down user group 2 should be able to access via ISP1.
When data 1 is down, all users should use data 2 and vice versa.
Easiest that comes to mind is some static routes that use the other router as the gateway. When the primary (default) routes are down, it’ll forward traffic to the other router and the other ISP/datapath.
You can use One static route with 2 different Gateway (such as Router 1 and Router 2) for each Master Router and use
“Check-Gateway” option for pinging Gateway , when down one gateway , Mikrotik Automatically so witch to other Router.
and another way is using tow Different Static Route with different Gateway ! but with different “distance” in static route , any time down one Internet Link , Mikrotik Switch Automatically to other Link for getting internet traffic
This is only going to work if User Group1 and User Group2 can communicate directly with both routers. It also won’t do anything if a route is flapping or the internet itself is down, only if the router itself fails.