I asked them both to create a config for dual WAN both using DHCP also use Google for monitoring WAN, did anyone do it better or get it right?
ChatGPT
/ip dhcp-client
add interface=ether1 disabled=no
/ip dhcp-client
add interface=ether2 disabled=no
/ip route
add dst-address=0.0.0.0/0 gateway=ether1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=ether2 distance=2 check-gateway=ping
/ip firewall mangle
add action=mark-connection chain=input connection-state=new in-interface=ether1 new-connection-mark=wan1_conn
add action=mark-connection chain=input connection-state=new in-interface=ether2 new-connection-mark=wan2_conn
add action=mark-routing chain=output connection-mark=wan1_conn new-routing-mark=to_wan1
add action=mark-routing chain=output connection-mark=wan2_conn new-routing-mark=to_wan2
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat out-interface=ether2
/ip dns
set servers=8.8.8.8,8.8.4.4
/ip dns monitoring
add address=8.8.8.8 disabled=no interval=10s probe-count=2 timeout=2s
/ip route rule
add action=lookup-only-in-table dst-address=8.8.8.8/32 lookup-table=wan1_check
add action=lookup-only-in-table dst-address=8.8.8.8/32 lookup-table=wan2_check
/ip route rule
add action=lookup table=wan1_check
add action=lookup table=wan2_check
/ip route
add distance=1 gateway=ether1 routing-mark=to_wan1
add distance=2 gateway=ether2 routing-mark=to_wan2
bing
# Create routing tables for each WAN
/routing table add name=to_WAN1 fib
/routing table add name=to_WAN2 fib
# Mark connections and routes for each WAN
/ip firewall mangle
add chain=output connection-state=new connection-mark=no-mark action=mark-connection new-connection-mark=WAN1_conn out-interface=ether1
add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=to_WAN1 out-interface=ether1
add chain=output connection-state=new connection-mark=no-mark action=mark-connection new-connection-mark=WAN2_conn out-interface=ether2
add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=to_WAN2 out-interface=ether2
# Masquerade traffic from each WAN
/ip firewall nat
add chain=srcnat action=masquerade out-interface=ether1
add chain=srcnat action=masquerade out-interface=ether2
# Add Google DNS servers as destination addresses with scope 10
/ip route
add dst-address=8.8.8.8 scope=10 gateway=ether1
add dst-address=8.8.4.4 scope=10 gateway=ether2
# Add recursive routes for each WAN with check-gateway ping and target-scope 11
/ip route
add distance=1 gateway=8.8.8.8 routing-table=to_WAN1 target-scope=11 check-gateway=ping
add distance=2 gateway=8.8.4.4 routing-table=to_WAN1 target-scope=11 check-gateway=ping
add distance=1 gateway=8.8.4.4 routing-table=to_WAN2 target-scope=11 check-gateway=