/ip address
add address=202.152.0.2/30 interface=ether1
add address=103.28.0.2/30 interface=ether2
add address=192.168.88.1/24 interface=bridge-lan

/ip route
add dst-address=1.1.1.1/32 gateway=202.152.0.1 scope=10 comment="ISP1 recursive target"
add dst-address=8.8.8.8/32 gateway=103.28.0.1 scope=10 comment="ISP2 recursive target"
add dst-address=0.0.0.0/0 gateway=1.1.1.1 routing-table=to_isp1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=8.8.8.8 routing-table=to_isp2 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=1.1.1.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=8.8.8.8 distance=2 check-gateway=ping

/routing table
add fib name=to_isp1
add fib name=to_isp2

/ip firewall mangle
add chain=prerouting connection-mark=no-mark in-interface=bridge-lan per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=isp1_conn
add chain=prerouting connection-mark=no-mark in-interface=bridge-lan per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=isp2_conn
add chain=prerouting in-interface=bridge-lan connection-mark=isp1_conn action=mark-routing new-routing-mark=to_isp1
add chain=prerouting in-interface=bridge-lan connection-mark=isp2_conn action=mark-routing new-routing-mark=to_isp2

/ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade
add chain=srcnat out-interface=ether2 action=masquerade
