failover doesn't work

Hi guys,
hope alla of you are doing well.

I have configured a failover link between two RouterBoard using script, and netwatch, but when the primary link fail, the backup link doesn't come up automatically. below you have configurations of my two appliances:

ROUTERBOARD1:

[Admin@AFB-BIYEM] /system script> print
Flags: I - invalid
0 name="FO" owner="Admin" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive last-started=jan/02/1970 21:55:50 run-count=6
source=/ip route set [/ip route find dst 0.0.0.0] gateway= 172.21.101.30

1 name="RADIO" owner="Admin" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive last-started=jan/02/1970 22:54:49 run-count=7
source=/ip route set [/ip route find dst 0.0.0.0] gateway= 172.21.101.62

[Admin@AFB-BIYEM] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 A S 0.0.0.0/0 172.21.101.30 2
1 S 0.0.0.0/0 172.21.101.62 253
2 ADC 172.21.101.0/27 172.21.101.1 ether9 0
3 ADC 172.21.101.32/27 172.21.101.33 ether8 0
4 ADC 172.21.120.0/24 172.21.120.254 ether3 0

[Admin@AFB-BIYEM] /tool netwatch> print detail
Flags: X - disabled
0 host=172.21.101.30 timeout=200ms interval=5s since=jan/02/1970 21:55:50 status=up up-script=FO down-script=RADIO


ROUTERBOARD 2

[Admin@AFR_HYPPO_SRVR] /system script> print
Flags: I - invalid
0 name="FO_BIYEM" owner="Admin" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive last-started=jan/02/1970 20:40:00 run-count=5
source=/ip route set [/ip route find dst 172.21.120.0] gateway= 172.21.101.1

1 name="RADIO_BIYEM" owner="Admin" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive last-started=jan/02/1970 20:36:20 run-count=5
source=/ip route set [/ip route find dst 172.21.120.0] gateway= 172.21.101.33

5 ADC 172.21.100.240/29 172.21.100.241 ether3 0
6 ADC 172.21.101.0/27 172.21.101.30 ether9 0
7 ADC 172.21.101.32/27 172.21.101.62 ether8 0
10 A S 172.21.120.0/24 172.21.101.1 2
11 S 172.21.120.0/24 172.21.101.33 253

[Admin@AFR_HYPPO_SRVR] /tool netwatch> print detail
Flags: X - disabled
0 host=172.21.101.1 timeout=200ms interval=5s since=jan/02/1970 20:40:00 status=up up-script=FO_BIYEM down-script=RADIO_BIYEM


hope all this details are ok;

please help me

Hello,

it’s very easy if you use RSTP.

Configure a bridge in both sites with RSTP enabled. Select diferent priority in each bridge and later add ports to the bridge with diferent cost.

use the same ip range in all APs.

best regards,

thnak you very much for your time,

please can you send me a quick configuration of RSTP?

thank in advance

Try to:

if it doesn’t work, we will see why. First, try it, and later claim for more help if you need, but it’s very easy.