LW IT Solutions logo LW IT Solutions logo LW IT Solutions
« Blog Overview /IT & Networks / Multi-WAN Failover with the Ubiquiti UniFi UCG-Fiber:...
Read this article in other languages:

Multi-WAN Failover with the Ubiquiti UniFi UCG-Fiber: Setup, Grounding and Configuration

Multi-WAN Failover with the Ubiquiti UniFi UCG-Fiber: Setup, Grounding and Configuration
Contents
  1. Example: fibre, satellite and mobile backup
  2. Hardware and provider requirements
  3. Outdoor installation and electrical protection
  4. Configuration and acceptance test
  5. Routing selected traffic
  6. Questions and answers
  7. Sources

Multi-WAN uses more than one internet connection. Failover switches to a backup after a detected fault; load balancing distributes new connections across available links. Neither arrangement guarantees 100% uptime or uninterrupted calls. A common gateway, power supply or cable route can still fail.

Example: fibre, satellite and mobile backup

The example prioritizes Toya fibre, then Starlink, then a ZTE 5G connection. Actual latency, throughput and independence need measurement at the installation site. Starlink reduces dependence on the local access line but still relies on power, a clear view of the sky and the provider network.

Fibre, Starlink and 5G in priority order feed one UCG-Fiber gateway and the local network
Conceptual WAN layout. Electrical protection depends on the building and equipment; the drawing is not an installation plan.

Hardware and provider requirements

The UCG-Fiber supports multiple WAN ports; the current specification lists a maximum of six. Three connections therefore require appropriate port assignments and enough remaining LAN connectivity. A fibre subscription does not imply that an arbitrary SFP module can replace the provider ONT: optics, authentication and provider settings must match.

Bridge mode or IP passthrough can remove an extra local NAT layer, but is not essential for every outbound application. Neither mode creates a public IPv4 address or removes provider-side CGNAT. Incoming services require a separate addressing and firewall design.

  • Starlink: Router 3 has Ethernet LAN ports and supports bypass mode. The exact kit determines wiring and adapter needs; Performance kits may connect a third-party router at the power supply instead. Bypass does not change the service plan’s IP policy.
  • ZTE MC889: an outdoor unit with PoE Ethernet. Bridge or passthrough availability needs checking against the actual firmware and operator documentation. The approved injector and cable arrangement matter; a PoE label alone does not prove compatibility with a particular switch.

Outdoor installation and electrical protection

Roof mounting requires a protection design appropriate to the building and local rules. A qualified electrical or lightning-protection specialist determines earthing, bonding, separation distances, conductor routing and surge-protection placement. A generic instruction to connect every mast directly with 16 mm² copper is insufficient.

Outdoor cable suitability includes UV exposure, moisture, shielding and the equipment manufacturer’s installation requirements. A surge protector at the basement rack alone is not a complete building-entry protection design. PoE compatibility and bonding of protective devices also need verification. Surge protection does not guarantee survival of a direct lightning strike.

Configuration and acceptance test

  1. Under Settings > Internet, each provider connection receives a WAN port and the required DHCP, static-address, VLAN or PPPoE settings.
  2. Failover uses an explicit priority: fibre, Starlink, mobile. Load balancing is a separate choice and can consume metered backup data during normal operation.
  3. Health checks assess the usable route beyond the modem. The documented Auto policy combines ping and DNS probes; custom SLA thresholds can evaluate packet loss, latency and jitter. Menu labels depend on the installed Network version.
  4. A maintenance-window test covers loss and restoration of each link, real application traffic, DNS, VPN reconnection and data usage. Monitoring the backup alone does not prove the full switchover works.

Load-balancing weights distribute new connections rather than combining all links into one faster download. A connection normally stays on its chosen WAN. Failover can change the public address and interrupt existing sessions; application recovery needs testing.

Routing selected traffic

Policy-Based Routing can assign a device or VLAN to a WAN. For example, guest traffic can use Starlink while backups use fibre. An enabled Kill Switch stops matching traffic when that route is unavailable; disabled, fallback follows the remaining routing rules. A stopped backup may fail or need restarting rather than pause cleanly.

The documented menu in Network 9.4 is Settings > Policy Table > Create New Policy > Route. Domain-based rules require clients to use the gateway for DNS. A dedicated WAN should follow Ubiquiti’s documented Failover or Backup role rather than remain an active load-balancing member.

Questions and answers

Can health checks detect a slow link?

Latency, jitter and loss thresholds can detect degradation before a complete outage. Small probe responses do not measure available download capacity; healthy probes can coexist with poor application throughput.

Why can a usable WAN be marked down?

A probe target or route can fail while other destinations remain reachable. Diverse targets, suitable thresholds and a useful evaluation window reduce false alarms without eliminating the need for diagnosis.

Does failover preserve every VPN or call?

No. The application, protocol and change of external address determine recovery. Acceptance testing needs to include the actual services and both failover and return to the preferred link.

Lukas Wojcik

Lukas Wojcik

Systems architect and technology enthusiast specializing in scalable tracking solutions, GMP Stack (GA4 & GTM), and robust backend architectures. Advocate for clean code and privacy-first design.

Get in touch

A question or an idea for a web project? Tell me a little about it. This form uses reCAPTCHA to protect against spam.

Write a comment

Experience with other hardware or firmware and questions about the configuration are welcome here.

The email address is not published. Required fields are marked with an asterisk.