Hello,
i am trying to setup a chateau so that i can use LTE as my primary internet provider, and WAN1 port (ether1) as a fallback ISP. on my current setup my LTE connection is way faster than my ISP, but occationaly (once every 15-20days) LTE goes down for a few hours. i want to be able to fallback to landline ISP for that time.
when i connect ISP on a LAN port, and chateau detects internet on it, it automatically adds a route and makes LTE route distance 2 while WAN port route distance as 1, giving priority to WAN port. how can i swap that, so that i can setup WAN port as a fallback?
my current config is this (default mostly):
/interface bridge
add name=LAN port-cost-mode=short
/interface wireless
set [ find default-name=wlan2 ] band=5ghz-a/n/ac mode=ap-bridge ssid=ea
/interface ethernet
set [ find default-name=ether2 ] comment="csr port1"
/interface lte
set [ find default-name=lte1 ] allow-roaming=yes band="" nr-band=""
/interface lte apn
set [ find default=yes ] use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
dynamic-keys supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys name=\
wlan1-profile supplicant-identity=MikroTik
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n disabled=no mode=ap-bridge \
security-profile=wlan1-profile ssid=ea
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.2.20-192.168.2.254
/ip dhcp-server
add address-pool=dhcp_pool0 interface=LAN lease-time=10m name=dhcp1
/interface bridge port
add bridge=LAN interface=ether2 internal-path-cost=10 path-cost=10
add bridge=LAN interface=ether3 internal-path-cost=10 path-cost=10
add bridge=LAN interface=ether4 internal-path-cost=10 path-cost=10
add bridge=LAN interface=ether5 internal-path-cost=10 path-cost=10
add bridge=LAN interface=wlan1 internal-path-cost=10 path-cost=10
add bridge=LAN interface=wlan2 internal-path-cost=10 path-cost=10
/interface detect-internet
set detect-interface-list=all
/ip address
add address=192.168.2.1/24 interface=LAN network=192.168.2.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=10m
/ip dhcp-server lease
add address=192.168.2.2 client-id=1:48:a9:8a:2a:72:47 mac-address=\
48:A9:8A:2A:72:47 server=dhcp1
/ip dhcp-server network
add address=192.168.2.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.2.1
/ip dns
set servers=8.8.8.8,8.8.4.4
/ip firewall filter
add action=accept chain=input comment="default configuration" \
connection-state=established,related
add action=accept chain=input in-interface=ems
add action=accept chain=input protocol=icmp
add action=accept chain=input in-interface=LAN
add action=fasttrack-connection chain=forward comment=FastTrack \
connection-state=established,related hw-offload=yes
add action=accept chain=forward comment="Established, Related" \
connection-state=established,related
add action=drop chain=input
add action=jump chain=forward comment="jump to ICMP filters" jump-target=icmp \
protocol=icmp
add action=drop chain=forward comment=\
"Drop incoming packets that are not NAT`ted" connection-nat-state=!dstnat \
connection-state=new in-interface=ether1 log=yes log-prefix=!NAT
add action=drop chain=forward comment="Drop invalid" connection-state=invalid \
log=yes log-prefix=invalid
add action=accept chain=icmp comment="echo reply" icmp-options=0:0 protocol=\
icmp
add action=accept chain=icmp comment="net unreachable" icmp-options=3:0 \
protocol=icmp
add action=accept chain=icmp comment="host unreachable" icmp-options=3:1 \
protocol=icmp
add action=accept chain=icmp comment=\
"host unreachable fragmentation required" icmp-options=3:4 protocol=icmp
add action=accept chain=icmp comment="allow echo request" icmp-options=8:0 \
protocol=icmp
add action=accept chain=icmp comment="allow time exceed" icmp-options=11:0 \
protocol=icmp
add action=accept chain=icmp comment="allow parameter bad" icmp-options=12:0 \
protocol=icmp
/ip firewall nat
add action=masquerade chain=srcnat
/system clock
set time-zone-name=Europe/Athens
/system identity
set name=chateau
/system logging
set 1 action=disk
set 3 action=disk
/system note
set show-at-login=no
/tool romon
set enabled=yes