/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=36 passthrough=no src-address=14.14.14.23
add action=mark-routing chain=prerouting new-routing-mark=35 passthrough=no src-address=14.14.14.24
/ip route
add distance=1 gateway=pppoe-out1 routing-mark=36
add distance=1 gateway=pppoe-out2 routing-mark=35
anyone help me and convert this rules from routeros v6 to v7
mrz
2
I did not understand anything from the post , The explanation does not suffice for the purpose and I recommend to amend it
i have pppoe-out 1 , pppoe-out 2
2 PC
PC 1 (192.168.1.254)
PC 2 (192.168.2.254)
/routing table add name=1 fib
/routing table add name=2 fib
/ip firewall mangle
add chain=prerouting src-address=192.168.1.254 acction=mark-routing new-routing-mark=PC1
add chain=prerouting src-address=192.168.1.254 acction=mark-routing new-routing-mark=PC2
/ip route rule
add action=lookup-only-in-table routing-mark=PC1 table=1
add action=lookup-only-in-table routing-mark=PC2 table=2
/ip route
add gateway=pppoe-out1@main routing-table=1
add gateway=pppoe-out2@main routing-table=2
these right ??