Pls check this online doc [OpenWrt Wiki] mwan3 (Multi WAN load balancing/failover)