Chateau 5G failover guidance

Hi,

I am proud owner of the 5G and I am using it for my main connection through lte right now and achieve amazing speeds.
I have also a landline ADSL which is not very fast (up to 10Mb).

The addresses and the routes are attached
.
The LTE interface gets an address automatically from the provider.
I have tried to use the Recursive Routing(https://www.youtube.com/watch?v=c9ybewdi3qk)method but since the address of the LTE connection is automatic I cannot set this up correctly.
The idea is if for any reason the LTE connection fails the ADSL one takes over immediately.
I am not an expert but I still wanted to start using some very cool device.
Any advise, guidance, walkthrough?

Re recursive routing. If ADSL has a static public address, it should work like help.mikrotik.com describes, with the exception is you can use “lte1” as the dst-address, instead of an IP. But you can’t use an interface for other interface types. So if the ADSL get’s it’s address from DHCP, this make recursive routing more tricky since you need a dhcp-client script under V7. While recursive routing can use an interface for lte… the same isn’t true for an ADSL/dhcp-client interface so recursive routing needs a IPv4 address, not an interface. The solution is to use a script in the dhcp-client to upgrade the recursive route’s dst-address. The should be some examples of this elsewhere in the forums.

But the easier approach is just change the default route distance in the DHCP Client for ADSL interface to something > 2 (which is the default route distance for LTE). If the LTE interface isn’t up, the ADSL will take over since the LTE route will be remove if it’s not running. Since the LTE interface is rarely still up/running if there is no internet on it, this generally works pretty well & simple.

Hey,

you are right. it works as is when I disable the interface of the LTE. It continues seamlessly. And re-enabling it works also great.
So when the physical connection has a problem I should be fine.
I wonder though what happens if the internet provider LTE connection is there but access to internet is not working.
Will it failover?

No, that’s what “recursive routing” would add: a check that something (e.g. google dns typically) is “pingable” before enabling a route. But as you found out, it’s make the config awfully complex for what I think is a rare corner case (e.g. LTE is running and there NO internet). More typical is you have a connection and internet is SLOW, and “recursive routing” still keep using LTE since ping still works.

My advice is see if you run into a case of the LTE being running before going down recursive routing. It totally works, but it’s a steep learning curve to setup.

Other approaches include

Netwatch
If you need a “ping test” for LTE, the other approach is to use “netwatch” with a script. Since netwatch also does a continuous ping, you can use this approach to do whatever you’d like upon success or failed ping. For example, the old docs show how to send email using netwatch for an outage: https://wiki.mikrotik.com/wiki/Manual:Tools/Netwatch. You make this more complex too so if ping fails, a more complex script can try to disable/re-enable LTE interface as an attempt to “fix it”, and/or a bunch of other home-grown approaches that use “netwatch” if you search this forum.

Detect Internet
The flip side of “netwatch” and “recursive routing” is “detect internet”. However, this doesn’t help that much since it doesn’t adjust routes, nor disable LTE if there is no internet on it. Maybe eventually this will be expanded by Mikrotik, but not much help here. Now it can be combine with netwatch since it know which interfaces have internet and which don’t. But like I said it doesn’t do much on it’s own, other than report if the internet is up somewhere.

Traffic Monitor
There is another family of load balancing / failover that uses scripts with traffic monitor. This is pretty complex. And this approach isn’t per se monitoring “up” or “down”, rather “high” or “low” amount of traffic. So typically it’s use in combination with the other approaches above. But that’s what helps cover case that you need “fail over” because of HIGH load on the LTE. See this older MUM presentation: https://mum.mikrotik.com/presentations/US12/tomas.pdf – not sure how well it work in V7 but more to give you the full picture of options.

Default Route Distance
As previously described, change the default route distance for either an LTE interface, DHCP Client, or directly in a static IP Route. This doesn’t validate the internet is “up”, but if the interface is “down”, RouterOS won’t use the route on a inactive/disabled/“un-plugged” interface.

Mikrotik’s Recursive Routing
See https://help.mikrotik.com/docs/pages/viewpage.action?pageId=26476608

Nice info man. I will look at the options. Very appreciated.