Backup ISP service in case of outage

Hello all:

I have a client for whom I am installing a MT wireless solution. My client has two hi-speed internet modems with different carriers. He wants to plug them both into the Mikrotik and wants to have WAN access switch from the primary to the secondary should the service of the primary go offline, and for the WAN access to go back to the primary when it comes back online. My client says they’re both set up to draw DHCP from the modems, but I believe they might be PPPoE. How would I set up the MT to switch back and forth (assume primary plugged into Eth1 and secondary plugged into eth2) between the lines as the services go up and down?

As always, thanks in advance.

Hi

There are several options on the wiki http://wiki.mikrotik.com/wiki/Routing

you should be able to use one of these directly or adapt to you needs.

The one option seems very simple, assuming static IPs. The two modems in question are not. The primary is PPPoE and the failsafe is dynamic. How would I adjust the gateway failover rule of:

/ip route add gateway=192.168.1.1 check-gateway=ping
/ip route add gateway=192.168.2.1 distance=2

When I won’t know the gateway?

Thanks in advance.

3.0beta version provides with interface routing support, that could help you to achieve required scenario, when gateway for point-to-point interface is unknown.

no one solved such a case yet!

what if the international link on the ISP is down??

Greetings from Lebanon

<< 3.0beta version provides with interface routing support, that could help you to achieve required scenario, when gateway for point-to-point interface is unknown. >>

Any examples anywhere on how to implement this?

SMA

ok, the question was " Backup ISP service in case of outage" so it has nothing to do with international links, that is something else, what was said here is a backup to directly connected gateway.

Regards.

Faton

P.S. use interface routing ip route add gateway=WAN2 distance=10 check-gateway=ping

<< P.S. use interface routing ip route add gateway=WAN2 distance=10 check-gateway=ping >>

using two providers with dynamic gateways (dhcp & pppoe)…on ether1 and ether2.
they already have gateways set dynamically, and therefore cannot set check-gateway=ping…
please advise on exactly how to do this therefore with interface routing, as I ried a few things, and it did not work (took me down completely).

Thanx!

SMA