Thu Oct 26, 2017 3:30 pm
You need create access list of dhcp static leases(f.e. Static)
Mark default route with routing mark:
/ip route
add distance=1 gateway="IP of your ISP for dhcp leases" routing-mark=ISP1-route(for example)
Mark traffic from LAN with mangle:
/ip firewall mangle
add src-address-list=Static action=mark-routing chain=prerouting connection-mark=dhcp-static \
in-interface=bridge(for example) new-routing-mark=ISP1-route
Mark traffic from Internet to your LAN:
/ip firewall mangle
add action=mark-connection chain=forward in-interface="your ISP interface for dhcp leases" \
new-connection-mark=dhcp-static passthrough=no
If you need connectivity from the Tik itself to the world behind this ISP:
/ip firewall mangle
add action=mark-connection chain=input in-interface="your ISP interface for dhcp leases" \
new-connection-mark=dhcp-static passthrough=yes
add action=mark-routing chain=output connection-mark=dhcp-static \
new-routing-mark=ISP1-route passthrough=no
If I wrong, please correct rules here.