Simple Dual WAN Dual LAN question

setup: 2 isp’s and 2 LAN’s

I have both ISP’s setup on different ports as well as the lan’s on different ports. LAN1 has dchp enabled LAN2 does not (as they are connected to same switch).

My questions is how can i get LAN2(conf with static ip’s) to push traffic through WAN2? right now it only goes through WAN1.

I have searched for this but only find entries about fail over. I’m not looking for fail over, just 2 wans and 2 lans on same MT. They don’t need to talk to each other.

Thanks for any info.

In mangle, add a routing mark WAN2 for all the traffic !local coming from interface LAN2
add routing mark WAN1 for all the traffic !local coming from interface LAN1
In route, add a route for all the routing mark WAN2 to go through WAN2, and same for WAN1.

There are plenty of examples on the wiki

Thank you..got it to work.

you say LAN1 and LAN2 are connected to the same switch? same switch as in rb internal switch or other switch?