Hi guys, i have some problems with failover. This is my source code :
/ip address
#router to switch
add address=10.0.6.2/29 interface=ether6-master
#Two WAN - Router to mikrotic
add address=192.168.1.2/24 interface=ether1
add address=192.168.0.2/24 interface=ether3
/ip firewall mangle
add chain=input in-interface=ether1 action=mark-connection new-connection-mark=ether1_conn
add chain=input in-interface=ether3 action=mark-connection new-connection-mark=ether3_conn
add chain=output connection-mark=ether1_conn action=mark-routing new-routing-mark=to_ether1
add chain=output connection-mark=ether3_conn action=mark-routing new-routing-mark=to_ether3
add chain=prerouting dst-address=192.168.0.0/24 action=accept in-interface=ether6-master
add chain=prerouting dst-address=192.168.1.0/24 action=accept in-interface=ether6-master
add chain=prerouting dst-address-type=!local in-interface=ether6-master per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=ether1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=ether6-master per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=ether3_conn passthrough=yes
add chain=prerouting connection-mark=ether1_conn in-interface=ether6-master action=mark-routing new-routing-mark=to_ether1
add chain=prerouting connection-mark=ether3_conn in-interface=ether6-master action=mark-routing
/ip route
add dst-address=8.8.8.8 gateway=192.168.1.1 scope=10
add dst-address=8.8.4.4 gateway=192.168.0.1 scope=10
add dst-address=10.1.1.1 gateway=8.8.8.8 scope=10 target-scope=10 check-gateway=ping
add dst-address=10.2.2.2 gateway=8.8.4.4 scope=10 target-scope=10 check-gateway=ping
add distance=1 gateway=10.1.1.1 routing-mark=to_ether1
add distance=1 gateway=10.2.2.2 routing-mark=to_ether3
And failover not working. Please help me!