Balanceo de Diferente Velocidades

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

/ip firewall mangle

add action=mark-connection chain=input in-interface=ether3 new-connection-


mark=ether3_conn \
passthrough=yes
add action=mark-connection chain=input in-interface=ether4 new-connection-
mark=ether4_conn \
passthrough=yes
add action=mark-routing chain=output connection-mark=ether3_conn new-routing-mark=\
to_ether3 passthrough=yes
add action=mark-routing chain=output connection-mark=ether4_conn new-routing-mark=\
to_ether4 passthrough=yes
add action=mark-connection chain=prerouting in-interface=ether1 new-connection-
mark=\
ether3_conn passthrough=yes per-connection-classifier=both-addresses-and-
ports:3/0
add action=mark-connection chain=prerouting in-interface=ether1 new-connection-
mark=\
ether3_conn passthrough=yes per-connection-classifier=both-addresses-and-
ports:3/1
add action=mark-connection chain=prerouting in-interface=ether1 new-connection-
mark=\
ether4_conn passthrough=yes per-connection-classifier=both-addresses-and-
ports:3/2
add action=mark-routing chain=prerouting connection-mark=ether3_conn in-
interface=ether1 \
new-routing-mark=to_ether3 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=ether4_conn in-
interface=ether1 \
new-routing-mark=to_ether4 passthrough=yes

/ip firewall nat


add action=masquerade chain=srcnat out-interface=ether3
add action=masquerade chain=srcnat out-interface=ether4

/ip route
add check-gateway=ping distance=1 gateway=192.168.88.1 routing-mark=to_ether3
add check-gateway=ping distance=1 gateway=192.168.83.1 routing-mark=to_ether4

You might also like