This is an old revision of the document!
etherX-*-local (Interface properties - remove the Master port).192.168.10.0/24 a 192.168.20.0/24): /ip firewall mangle add action=mark-routing chain=prerouting \
new-routing-mark=routing_mark_office src-address=192.168.10.0/24
/ip firewall mangle add action=mark-routing chain=prerouting \
new-routing-mark=routing_mark_guests src-address=192.168.20.0/24
/ip route add gateway=ether1-wan1 routing-mark=routing_mark_office /ip route add gateway=ether2-wan2 routing-mark=routing_mark_guests
Note: Gateway can also be a PPPoE connection (in case of DSL).
ether1-wan1)./ipv6 firewall filter add action=accept comment="Allow ESTABLISHED (FORWARD)" chain=forward connection-state=established disabled=no add action=accept comment="Allow RELATED (FORWARD)" chain=forward connection-state=related disabled=no add action=accept comment="Allow ICMPv6 (FORWARD)" chain=forward disabled=no in-interface=sit1 protocol=icmpv6 add action=drop comment="Drop everything else (FORWARD)" chain=forward disabled=no in-interface=o2-vdsl add action=accept comment="Allow ESTABLISHED (INPUT)" chain=input connection-state=established disabled=no add action=accept comment="Allow RELATED (INPUT)" chain=input connection-state=related disabled=no add action=accept comment="Allow ICMPv6 (INPUT)" chain=input disabled=no in-interface=sit1 protocol=icmpv6 add action=drop comment="Drop everything else (INPUT)" chain=input disabled=no in-interface=sit1