Working on failover with check gateway.
To the building comes 2 ISP- fiber optic and radio (backup).
LAN - 192.168.88.0/24
First question - Wi-Fi clients receiving network addresses of 192.168.1.0, the network is not 192.168.88.0. Net 192.168.1.0 have dhcp server too.
How to scatter Wi-Fi clients and the backup ISP into different network? Vlan?
Second question:
Used failover:
/ip route add gateway=fiberispppp check-gateway=ping
/ip route add gateway=192.168.1.1 distance=2
If fiber is down, switching occurs in about 5 minutes, but back with no switches.
Where is my mistake?
Fragments of config:
/interface ethernet
set [ find default-name=ether1 ] name=ether1-fiberisp
set [ find default-name=ether2 ] name=ether2-radioisp
set [ find default-name=ether3 ] name=ether3-master-local name=ether2-radioisp
UPD: ^^^^^^^ this fragment of config was buggy
set [ find default-name=ether4 ] master-port=ether3-master-local name=ether2-radioisp
set [ find default-name=ether5 ] master-port=ether3-master-local name=ether2-radioisp
/interface pppoe-client
add add-default-route=yes default-route-distance=1 disabled=no interface=ether1-gateway max-mru=1480 max-mtu=1480 mrru=512 name=fiberispppp service-name=fiberispppp user=... password=...
DHCP config:
/ip pool add name=dhcp ranges=192.168.88.100-192.168.88.254
/ip dhcp-server add address-pool=dhcp disabled=no interface=bridge-local lease-time=3d name=default
Bridge config:
/interface bridge port
add bridge=bridge-local interface=ether2-radioisp
add bridge=bridge-local interface=wlan1
IP addr:
/ip address
add address=192.168.1.2/24 interface=ether2-radioisp network=192.168.1.0
add address=192.168.88.1/24 interface=bridge-local network=192.168.88.0
Version - MikroTik RouterOS 6.30.1