Hello,
I am begginer and i'm trying to setup failover from this link:
https://wiki.mikrotik.com/wiki/Advanced ... _Scripting
But it just doesn't work. I input exactly what guide asked - but for some reason gateways created in step 2 and 3 are not reachable by router.
My setup:
ether1 - cable to internet router
lte1 - lte connection (tested, wokring)
So i use these commands:
/ip route
add dst-address=Host1 gateway=GW1 scope=10
add dst-address=Host2 gateway=GW2 scope=10
add distance=1 gateway=Host1 routing-mark=ISP1 check-gateway=ping
add distance=2 gateway=Host2 routing-mark=ISP1 check-gateway=ping
add distance=1 gateway=Host2 routing-mark=ISP2 check-gateway=ping
add distance=2 gateway=Host1 routing-mark=ISP2 check-gateway=ping
/ip route
add dst-address=8.8.8.8 gateway=ether1 scope=10
add dst-address=1.1.1.1 gateway=lte1 scope=10
add distance=1 gateway=8.8.8.8 routing-mark=ISP1 check-gateway=ping
add distance=2 gateway=1.1.1.1 routing-mark=ISP1 check-gateway=ping
add distance=1 gateway=1.1.1.1 routing-mark=ISP2 check-gateway=ping
add distance=2 gateway=8.8.8.8 routing-mark=ISP2 check-gateway=ping
But it just doesnt work. I attached picture with routes any suggestions ?
Also, here is export from my terminal:
[admin@MikroTik] > export
# sep/04/2019 18:15:53 by RouterOS 6.45.5
# software id = BV64-SKIK
#
# model = RouterBOARD M33G
# serial number = A2FD0960F69B
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
set [ find default-name=ether2 ] speed=100Mbps
set [ find default-name=ether3 ] speed=100Mbps
/interface lte
set [ find ] band=7,20 mac-address=AC:FF:FF:00:00:00 mtu=1428 name=lte1 \
network-mode=lte pin=0000
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.88.2-192.168.88.100
/ip dhcp-server
add add-arp=yes address-pool=dhcp_pool0 disabled=no interface=ether3 \
lease-time=10h name=dhcp1
/ip address
add address=192.168.88.1 interface=ether3 network=192.168.88.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=192.168.88.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat
/ip route
add check-gateway=ping distance=1 gateway=8.8.8.8 routing-mark=ISP1
add check-gateway=ping distance=2 gateway=1.1.1.1 routing-mark=ISP1
add check-gateway=ping distance=1 gateway=1.1.1.1 routing-mark=ISP2
add check-gateway=ping distance=2 gateway=8.8.8.8 routing-mark=ISP2
add distance=1 dst-address=1.1.1.1/32 gateway=lte1 scope=10
add distance=1 dst-address=8.8.8.8/32 gateway=ether1 scope=10
add comment="ETHER3 to NOTE" distance=1 dst-address=192.168.88.0/24 gateway=\
ether3 pref-src=192.168.88.1
/system clock
set time-zone-name=Europe/Bratislava
You do not have the required permissions to view the files attached to this post.