Dual-WAN Failover: Because 'My Internet is Down' is Not an Option

The phone rang at 03:14. Carrier maintenance window, no SLA notification, single-WAN office. By the time we understood what was happening, the product launch was four hours dead and the CFO was asking why we didn't have a backup circuit. We did have one — sort of. It was plugged into WAN2 on the firewall and nobody had ever tested it. When we finally cut over, asymmetric routing broke every HTTPS session, the site-to-site IPsec tunnel took 47 seconds to renegotiate, and port forwards bound to the primary WAN IP silently stopped working. Total outage: 4 hours, 12 minutes.

This guide is for sysadmins, network engineers, and DevSecOps folks who are about to deploy — or fix — a dual-WAN setup and don't want to learn these lessons the way I did. By the end, you'll understand carrier diversity, topology choices, routing mechanics, the services that break on failover, and how to prove your failover actually works before an outage proves it for you.

:::note[TL;DR]

  • A second circuit is 20% of the work. Routing, NAT, DNS, and state are the other 80%.
  • Carrier "diversity" is usually marketing. Same trench, same ILEC, same PoP means shared fate.
  • Health checks must be HTTP/TCP probes, not ICMP to 8.8.8.8.
  • Failback flapping will disconnect your users twice. Configure dampening.
  • If you haven't run a failover drill this quarter, you don't have failover. You have hope. :::

Prerequisites

  • A firewall/router capable of policy routing: pfSense, OPNsense, Fortigate, or equivalent. This guide uses pfSense/OPNsense syntax.
  • Two WAN circuits that are actually diverse (see the carrier section).
  • SSH or console access to the firewall and the ability to take a maintenance window.
  • Optional but strongly recommended: a small VPS with a static public IP for use as a tunnel anchor.

The Physical and Carrier Layer — You Can't Failover to a Dead Line

Most "dual-WAN" deployments share fate at the physical layer. Two fiber circuits from "two different providers" that both resell the same wholesale L2 from the same ILEC will go down together during an ILEC maintenance event. I've watched this happen. Both circuits dropped within 30 seconds of each other, the NOC tickets referenced the same upstream incident, and the "redundant" design was worth exactly nothing.

True diversity means: different carriers, different last-mile technology (fiber + fixed wireless/LTE/5G), and different physical entry points into the building. If both circuits come through the same conduit, a backhoe ends your redundancy.

SLA Reality Check

"99.9% SLA" means 8.76 hours of allowed downtime per year. The credit when they miss it is a fraction of the monthly bill. It does not cover your revenue loss, your SLA penalties to customers, or your reputation. Read the MSA before you sign.

Carrier Type Latency (typical) Bandwidth CGNAT Risk Static IP Failover Suitability Cost Ballpark
Fiber (business) 5–15 ms 100M–10G Low Yes Excellent $$$
Cable (business) 15–40 ms 100M–1G Medium Usually Good $$
DSL 25–60 ms 5–50M Low Yes Poor (slow) $
LTE 30–70 ms 10–100M High Sometimes Acceptable $$
5G FWA 20–50 ms 50–300M High Rarely Good $$
Fixed Wireless 10–40 ms 25–500M Variable Often Good $$

⚠️ TRUNCATED VERSION
This is an abbreviated cross-post. Full article (all config files, architecture diagrams, images): valtersit.com

🛠️ Partner Tools for Developers

ValtersIT curates partner deals for developers and sysadmins — VPS hosting, security tools, monitoring platforms and dev productivity gear. No filler, no affiliate spam.

➜ valtersit.com/deals/