Business telecoms, done properly · broadband, phone systems, mobile & Wi-Fi

Insights

How to set up automatic failover to mobile broadband

Published 5 October 2026 · 8 min read

A 4G and 5G router providing backup broadband when the main line fails

Most business routers can hold two connections and swap between them on their own. The hard part is not plugging in the SIM, it is configuring the bit that decides the main line has actually failed. Get that wrong and the backup either never kicks in, or kicks in every time somebody sneezes. Here is how to do it on DrayTek, TP-Link Omada and UniFi.

The 30-second version

  • You need a router that holds two connections and decides between them. A spare dongle in a drawer is not failover.
  • All three platforms can do it. They just call it different things: Active Mode on DrayTek, link backup on Omada, WAN2 failover on UniFi.
  • The health check is the whole job. If the router pings your own provider's gateway, it will miss most real outages.
  • Put the mobile router where the signal is, not in the comms cupboard with everything else.
  • Live calls drop on the switch. Everything else reconnects within seconds to a couple of minutes.
  • Size the SIM for a full outage, not for an hour. A two day fault on a 5GB SIM is its own emergency.

What you need first

Before touching any settings, three things need to be true, and the third one catches people out more than the other two together.

  • A router that takes two connections. Either two WAN ports, or one WAN port and a SIM slot, or a USB port that accepts a mobile dongle.
  • A data SIM with a sensible allowance. Failover is not a few megabytes. A whole office on 4G for two days will move serious data.
  • Decent mobile signal where the router actually lives. Comms cupboards are usually the worst spot in the building for signal. If the backup is a separate 4G or 5G router, it goes where the signal is and runs back on a cable.

Check the signal before you buy the SIM

Stand in the comms room with a phone and look at the actual signal, then do the same at a window or external wall. If there is a difference, that difference is your plan. An external antenna or a router mounted somewhere sensible will do more for your backup than paying for a bigger data bundle.

Three ways to wire the backup in

How the mobile connection reaches the router changes what you can expect from it.

MethodHow it worksWorth knowing
USB dongleA mobile dongle plugged into the router's USB port and treated as another WANCheapest and tidiest, but throughput is modest and dongle compatibility is fussy. Check the router's supported list rather than assuming.
Separate 4G or 5G router into WAN2A standalone mobile router placed where the signal is good, feeding the main router over EthernetThe most reliable of the three, because you can site the mobile unit for signal. Also the easiest to swap or upgrade later.
Built in SIM slotA router with mobile built in, so one box does bothNeatest and nothing extra to power. The catch is that the router has to live where the signal is, which is rarely where you want the router.

DrayTek

DrayTek Vigor routers handle this through Active Mode. Each WAN is either always on or acts as a failover for another.

  1. Set up the backup connection under WAN, Internet Access, whether that is WAN2 on Ethernet, the USB WAN or the built in LTE on models that have it.
  2. In WAN, General Setup, open the backup WAN and set Active Mode to Failover rather than Always On, then choose which WAN it is backing up.
  3. On the primary WAN, set WAN Connection Detection to Ping Detect and give it a ping target. This is the important one, covered below.
  4. Check Online Status to confirm the backup shows as connected or standing by rather than as an error.

TP-Link Omada

On Omada gateways such as the ER605 or ER7206, one of the LAN ports is converted to a second WAN, and the behaviour is set as link backup rather than load balancing.

  1. Convert a port to WAN. In the Omada controller this is under the wired network and internet settings; on a standalone gateway it is in the WAN configuration.
  2. Configure the second WAN for the mobile connection, usually DHCP if it is fed from a separate 4G or 5G router.
  3. Find the link backup setting and enable it, choosing the primary WAN and the backup. If you leave it on load balancing instead, traffic will use both lines all the time, which is a different thing entirely and will burn your data allowance.
  4. Set online detection for the primary WAN, with your own detection targets rather than the defaults.

UniFi

UniFi gateways with a second WAN, such as the Dream Machine Pro or the Dream Machine SE, treat failover as a role you give WAN2.

  1. In the internet settings, enable the second WAN on the port that supports it, then connect the mobile router to it.
  2. Set WAN2's role to failover rather than load balancing, and confirm WAN1 is the primary.
  3. Set the internet health check targets for each WAN. UniFi will use its own defaults otherwise, which are fine until the day they are not.
  4. Watch the WAN status page while you test, so you can see the switch happen rather than guessing from whether a web page loads.

Menu names move, the settings do not

Firmware updates rearrange menus on all three platforms regularly, so treat the above as the settings to look for rather than a click by click path. The concepts are stable: a second WAN, a role that says failover rather than load balance, and a detection method that decides when to switch.

The setting that decides whether it works

This is the part that separates failover that works from failover that only looks configured. The router needs a way to decide the main line is down, and the default is often to watch whether the physical link is up.

That is not good enough. If your fibre box stays powered and the fault is further upstream, the cable between the router and the box is still live, the link light is still on, and as far as the router is concerned everything is fine. Meanwhile nothing is reaching the internet.

  • Use a ping or health check, not just link state. Every platform above supports this. It is the difference between testing the cable and testing the internet.
  • Do not point it at your own provider's gateway. It is the nearest thing that answers, so it keeps answering during exactly the faults you care about.
  • Pick two targets well beyond your provider, such as two different public DNS resolvers run by different companies. One target means one outage at that target triggers a pointless failover.
  • Tune how many failures count. Too sensitive and the line flaps on a brief blip. Too relaxed and you are offline for several minutes before the backup moves.

What breaks during the switch

Failover is not seamless and nobody should sell it as such. Your public address changes, because you are now on somebody else's network.

WhatWhat happens
Calls in progressUsually drop. New calls connect on the backup within seconds. If calls matter, see the note on phones below.
VPN tunnelsDrop and re-establish, generally without anyone doing anything, though some site to site tunnels pinned to a fixed address will not come back on their own.
Inbound accessStops. Anything reached from outside on your fixed address, including remote access to CCTV and some card systems, will not be reachable on the mobile connection.
Anything expecting a fixed IPBreaks for the duration. Mobile connections are usually behind carrier grade NAT, so you do not get a public address at all unless you have specifically bought a fixed IP SIM.
Browsing, email, cloud apps, card paymentsCarry on. This is the majority of what most businesses actually need, which is why failover is worth having.

Failing back without flapping

When the main line returns, you want the router to move back, but not the instant the line twitches. A line that is recovering often comes up, drops again and comes back, and a router that follows it exactly will drag everyone through several outages instead of one.

Where the platform allows it, set a hold timer so the primary has to stay healthy for a period before traffic moves back. A couple of minutes is usually plenty. Where there is no timer, make the detection slightly less sensitive on failback than on failover.

Keeping the data bill sane

  • Size for a full outage. Think in days, not hours. A serious fibre fault can take several working days.
  • Make sure it is actually standing by. If the backup is configured as load balancing rather than failover, it is carrying traffic all day, every day, and the first you will know is the bill.
  • Watch for backups and updates. Cloud backup and large updates do not know they are on a metered connection and will happily consume the allowance during an outage.
  • Set an alert. Knowing on day one that the backup has been running for sixteen hours is worth more than finding out at the end of the month.

Testing it properly

  1. Unplug the WAN cable, do not power off the router. Powering the router off tests nothing, because the thing that performs the failover is the thing you just turned off.
  2. Time it. Note how long until traffic flows again. That number is what you should be planning around.
  3. Test what matters, not just a web page. Make a call, take a card payment, open the system people actually use.
  4. Plug it back in and time the failback. Confirm it moves back, and that it does not sit on the mobile connection quietly costing money.
  5. Do it again in six months. SIMs expire, allowances change and firmware updates reset settings. An untested backup is a guess.

Not sure your backup would actually take over?

We can check how yours is configured, test it properly and tell you what would really happen on the day. If it turns out the backup was never going to work, better to find out now.

Ask us

Tell us what you need.

Send this and a real person will reply. No call centre, no obligation, and we will tell you honestly if we are not the right fit.

Or call 0151 230 3949. We handle your details per our privacy policy.

Related

Frequently asked questions

New calls will connect on the backup. Calls that are in progress at the moment of the switch normally drop, because the connection they were running over has gone. If calls are the thing that absolutely cannot stop, the stronger answer is to have the phone system divert to mobiles automatically when it loses the site, so the two protections cover different failures.

Almost always because the router was watching the wrong thing. If it only checks whether the WAN port has a link, or it pings your own provider's gateway, it will not notice a fault that sits further upstream. The port stays up, the gateway keeps answering, and the router concludes the line is healthy while nothing actually reaches the internet. Point the health check at two targets well beyond your provider and most of this problem disappears.

You can, and it is called load balancing rather than failover, but think carefully before you do. It spreads traffic across both lines, which means your mobile allowance is being consumed every day, and it makes faults harder to diagnose because traffic takes different routes at different moments. For most businesses a backup that sits quietly in standby is the more useful arrangement.

Only if something has to be reachable from outside while you are on the backup, such as remote access to cameras, a VPN that other sites connect into, or a system a supplier dials into. Ordinary use, which is browsing, email, cloud applications and card payments, works fine without one.

Work from how long a real fault lasts rather than how long you hope it will. A fibre fault can run to several working days, so a small bundle intended to cover an afternoon will run out partway through. Err upwards, and consider a pooled or unlimited business SIM if an outage would otherwise stop you trading.

No, and this catches people out. If the building loses power, the router performing the failover loses power with it. Protecting against that is a separate job involving a UPS on the router and the mobile unit, sized for how long you need to keep going.

Want your failover tested rather than assumed?

We will look at how it is set up, pull the cable and tell you honestly what happens, including how long the switch takes and what stops working while it lasts.