Failover newbie question

Hi,

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.

Is it possible to pull this off using MikroTik?

Thanks

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)).

Yep

http://wiki.mikrotik.com/wiki/Two_gateways_failover

Very Simple! Does this example do load balancing?

what failover has to do with load balancing?

Here is load balancing with failover if interesed.

http://wiki.mikrotik.com/wiki/Manual:PCC

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?

Sorry if this sounds silly, I’m rather new :slight_smile:

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.

You can use netwatch, write your own script, or use a script-less method used in the wiki.
http://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting
http://wiki.mikrotik.com/wiki/Manual:Tools/Netwatch

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).

Anybody have any clues how to do this with dynamic routes?

Do what exactly? There were a few methods talked about here.

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.

http://forum.mikrotik.com/t/dsl-pppoe-cl-and-usb-3g-ppp-cl/31059/1

can this PCC be achieved with 2 USB 3G dongles where the IP is going to be dynamic…?