How to config a FailOver on Mikrotik RB750GL

Hi Guys,

I have a mikrotik RB750GL and I need to configure to create a failover in two links, from differents Internet Service Providers. I try to get a failover system with two routes when I have two differents distances:

[admin@TELEDYNE - Av. das Am\E9ricas - BARRA] /ip route> print

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 A S ;;; Gateway Link Primario - Embratel
0.0.0.0/0 201.38.37.225 1
2 S ;;; Gateway Link Secundario - Net
0.0.0.0/0 201.53.144.1 2
3 A S ;;; Sensitive Gateway Embratel
8.8.8.8/32 201.38.37.225 1
4 S ;;; Sensitive Gateway Net
8.8.8.8/32 201.53.144.1 2

How can I get a efficient script for FailOver, when the second link assuming with the primary get down ?

Sorry, I’m brazilian and my english is not very well

There is a nifty little function in RouterOS called ‘Netwatch’. This allows you to script on instances.