Fri May 15, 2020 10:33 pm
If you really want the two (WAN+LAN) groups to be totally separate, the simplest way is to use VRF (Virtual Routing and Forwarding) to use separate routing spaces.
/ip route vrf
add interfaces=ether2,ether4 routing-mark=vrf-e2-e4
This way, even though the two gateways assigned via DHCP will have the same IP address, packets coming in via ether4 will be routed out via ether2 and packets coming in via ether3 will be routed out via ether1.