Routing to a specific network when dual wan is active

Greetings,

I have a dual wan setup with separate gateways. One gateway is connected to our private network where we get internet (WAN 1), and access to an internal network for each of our locations, the other is connected to a cable modem (WAN 2) for our backup internet.

Dual wan load balancing and fail over works well with the script I used from Mikortik site.

The issue i’m having is; I can’t ping all the addresses on internal private LAN, i’m thinking it’s trying to go out over the cable modem for ever other address… like a round robing issue.

How do I force my local LAN to go always go out on WAN1 to the specific network…

example.

DATACENTER NETWORK: 10.0.0.0/24

MY LOCAL NETWORK: 192.168.1.1

WAN1 can see 10.0.0.0/24
WAN 2 cannot see 10.0.0.0/24

When I ping from my network (192.168.1.1) to the datacenter (10.0.0.0/24) it works for every other server so If I have 4 servers. from 10.0.0.1 to 10.0.4, I will be able to ping .10.0.0.1 and 10.0.0.3 but not 10.0.0.2 or 10.0.0.4.

How do i force my local LAN going to 10.0.0.0/24 to always use my WAN1 gateway even with the load balancing rule of 0.0.0.0/0 going to both WAN connection.

Thanks

basically I have PCC with 2 wan links but one of my wan links has another q in q vlan that I need my local network behind the mikrotik router to access.

any help appreciated

Add a static route to 10.0.0.0/24 via router 1 (WAN1) on router 2.

Router 1 knows the route to 10.0.0.0/24, so when it receives a request it can forward it on happily. Router 2 doesn’t know this route and will look to its WAN interface (0.0.0.0/0) for the answer. If you add the static route on router2, it should properly route any packets for 10.0.0.0/24