I have a Turris Omnia with the 3G/LTE kit. We use the Omnia when we travel, to make an easy connection to whatever network we can use and use 3G/LTE as fallback when there is no cabled or wifi network available.
It works quite good, but the only thing I miss at this time, is for the Omnia to use the “cheapest” connection available for all traffic and use LTE/3G only when cabled and wifi are not connected/available.
Currently I manually enable/disable the LTE/3G interface, to prevent it being used. That works fine, but only if the used cabled/wifi connection doesn’t drop. If that happens, everything grinds to a halt and I have to manually enable LTE/3G.
So my question:
Is there a way (maybe with static routes?) to make Omnia use connections for all traffic in a specific order (1. Cable, 2. Wifi, 3. LTE/3G)?
This seems to happen to some degree already and most traffic is routed through cable/wifi in stead of LTE/3G, when cable/wifi is back up, but there is still traffic going out over LTE/3G, according to the package and MB count.
Citation: Now if everything went well all your traffic between the router and the Internet should go through the LTE interface. That means that the connection through the WAN interface will not work . If you want to use the LTE card as a backup Internet connection you need to go through [the mwan3 tutorial] (Failover to LTE using mwan3 [Turris wiki]).
mwan3 works like a charm! It is a lot more versatile in comparison to adding metrics to your interfaces. It also adds (when using the LuCi package) online and troubleshooting information.
I would say, combination of metrics and mwan3 is the best solution. “Metrics” reacts immediately when interface is down (cable disconnected), mwan3 tests defined ip adresses and if not accessible, then switches to LTE.