MikroTik Config: WiFi VLAN for Guests or IOT Devices
Just copy the script to winbox scripts, enable safe mode, then run the script and wait for a few seconds. For SMIPS architecture running version 7.22 MikroTik RouterOS :log info “VLAN SCRIPT: Starting…”:delay 1s/interface vlan add name=vlan20-iot interface=bridge vlan-id=20:log info “VLAN SCRIPT: vlan interface added”:delay 1s/ip address add address=192.168.20.1/24 interface=vlan20-iot:log info “VLAN SCRIPT: vlan ip […]
How to Configure Dual WAN Failover in MikroTik
Dual WAN Automatic Failover Steps SCRIPTS: DHCP Clients ether 1 :if ($bound=1) do={ /ip route set [find comment=”wan1-rec-target”] gateway=$”gateway-address” check-gateway=ping;} ether 2 :if ($bound=1) do={ /ip route set [find comment=”wan2-rec-target”] gateway=$”gateway-address” check-gateway=ping;} add routes script /ip route add dst-address=1.1.1.1 distance=1 scope=10 target-scope=10 comment=wan1-rec-targetadd dst-address=0.0.0.0/0 gateway=1.1.1.1 distance=1 scope=10 target-scope=11 check-gateway=ping comment=wan1-default add dst-address=8.8.8.8 distance=1 scope=10 target-scope=10 […]