Code: Select all
/ip fi ma
add chain=prerouting action=jump jump-target=PCC in-interface=ether5-local
add chain=PCC action=mark-connection new-connection-mark=to_speedy1 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0 comment="Mark-Connection Get PCC from Connetion 1"
add chain=PCC action=mark-connection new-connection-mark=to_speedy2 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1 comment="Mark-Connection Get PCC from Connetion 2"
/ip fi ma
add chain=PCC action=mark-routing new-routing-mark=to_speedy1 passthrough=no connection-mark=to_speedy1 comment="Route to___Speedy1"
add chain=PCC action=mark-routing new-routing-mark=to_speedy2 passthrough=no connection-mark=to_speedy2 comment="Route to___Speedy2"
Code: Select all
/ip fi nat
add chain=srcnat action=masquerade out-interface=eth-ppoe-modem2
add chain=srcnat action=masquerade out-interface=eth-ppoe-modem1
Code: Select all
/ip route
add gateway=eth-ppoe-modem1 comment="Default Gateway"
add gateway=eth-ppoe-modem1 routing-mark=to_speedy1
add gateway=eth-ppoe-modem1 routing-mark=to_speedy2
thanks dionipe