Overview
What happens to your network the moment your primary internet circuit goes dark? If the honest answer is that everything behind your UniFi gateway simply stops — VoIP handsets, cameras, point-of-sale, remote-access sessions, all of it — then you are running a single point of failure that a backhoe, a fiber cut, or a routine ISP maintenance window can take out without warning.
Dual-WAN failover exists to turn that hard outage into a brief, recoverable interruption, and UniFi gateways handle the mechanics natively once you understand how they decide to switch. This is an explainer for the reader who already knows what a default route is and wants to know precisely how UniFi's failover and load balancing behave in production.
The payoff is straightforward: a properly configured second circuit turns a dead primary into a brief interruption instead of an afternoon of downtime. The cost is a handful of behaviors you have to design around, which is what the rest of this guide is about.
We will walk through how the gateway treats WAN1 and WAN2, what actually trips a failover, the real difference between failover-only and load balancing, how to configure and test it, and the gotchas that catch nearly everyone the first time. If you are still choosing hardware, the companion guide to choosing a UniFi gateway covers which models even have the ports to do this.