I have both a Cisco router and a 3G Netstick.
Cisco is at X.X.0.138/24
Netstick is at X.X.56.1/24
Now what I’d like to do is once the internet has been disconnected on the main line,
switch to the 3G backup.
From what I’ve read so far the setups were just for router failures whiles my devices are usualy ok.
I simply need an infrastructure failover, not hardware.
If I understood you correctly the answer is yes.
If you have 2 upstream routers you can use MikroTik router for failover between them.
Simply set up 2 default routes - route with distance 2 through netstick and route with distance 1 and ateway-check ping to your ISP core router. Then add route to your ISP core via your ISP default gateway (set scope for this route to be less that or equal to target scope (set scope to 10)).
Thanks for the reply.
Just one clarification though.
My main line is connected to my Cisco router. When you say “ISP core router” you do mean this one, right? Not something that sits at my ISP’s, correct?
Also, how would ping help here? Wont it check for the availability of the router (my router) itself? I need INTERNET availability monitored, not the hardware. Or am I missing something here?
You are correct that the check gateway function included when adding a route only checks the gateway itself, so if that is an address located directly on your Cisco and not further upstream, then it won’t detect a problem further down the line.
Monitoring of ISPs core router means internet availability monitoring (it means you ping something that most likely will have internet access and that sits at your ISP or his upstream ISP). Actually you can ask your ISP an IP address you can ping to monitor internet availability and use this IP address as “ISP core router”. Technically you can use any IP address here, but better use address of some ISP router (else you may run in to trouble when configuring some more advanced routing; and also this IP address won’t be accessible via your backup connection).
Sorry, I was not thinking of true dynamic routes like ospf when I was replying. What I was asking about was that this solution does not take into account routes assigned by dhcp. ppp etc.
I found another thread and pieced together a solution, and posted it there.