You are on page 1of 2

/ip firewall mangle

add action=mark-connection chain=input comment="NEW Load Balance" connection-sta


te=new disabled=no in-interface=\
pppoe-speedy1 new-connection-mark=speedy1 passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new disabled=
no in-interface=pppoe-speedy2 \
new-connection-mark=speedy2 passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new disabled=
no in-interface=pppoe-speedy3 \
new-connection-mark=speedy3 passthrough=yes
================================================================================
======================================================
add action=mark-routing chain=output comment="" connection-mark=speedy1 disabled
=no new-routing-mark=speedy1 passthrough=\
no
add action=mark-routing chain=output comment="" connection-mark=speedy2 disabled
=no new-routing-mark=speedy2 passthrough=\
no
add action=mark-routing chain=output comment="" connection-mark=speedy3 disabled
=no new-routing-mark=speedy3 passthrough=\
no
================================================================================
======================================================
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-t
ype=!local in-interface=lokal \
new-connection-mark=speedy1 passthrough=yes per-connection-classifier=both-addre
sses-and-ports:3/0
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-t
ype=!local in-interface=lokal \
new-connection-mark=speedy3 passthrough=yes per-connection-classifier=both-addre
sses-and-ports:3/2
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-t
ype=!local in-interface=lokal \
new-connection-mark=speedy2 passthrough=yes per-connection-classifier=both-addre
sses-and-ports:3/1
================================================================================
======================================================
add action=mark-routing chain=prerouting comment="" connection-mark=speedy1 disa
bled=no in-interface=lokal \
new-routing-mark=speedy1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=speedy2 disa
bled=no in-interface=lokal \
new-routing-mark=speedy2 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=speedy3 disa
bled=no in-interface=lokal \
new-routing-mark=speedy3 passthrough=yes

================================================================================
======================================================
Konfigurasi NAT
/ip firewall nat
add action=masquerade chain=srcnat comment="masquerade lokal network" disabled=n
o src-address="ip lokal anda"
Konfigurasi Route
Karena ip gateway speedy saya sama, jadi saya pakai gateway interface
/ip route
add comment="" disabled=no
2 routing-mark=speedy2
add comment="" disabled=no
3 routing-mark=speedy3
add comment="" disabled=no
1 routing-mark=speedy1
add comment="" disabled=no
1
add comment="" disabled=no
2
add comment="" disabled=no
3

distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy


distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy
distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy
distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy
distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy
distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy

You might also like