You are here:Home » mikrotik » load balancing 3 line speedy

load balancing 3 line speedy

Ini cuman untuk refrensi saya aja sapa tau perlu nanti perhatian, konvigurasi ini untuk mikrotik 3.24 keatas

Konfigurasi Mangle


/ip firewall mangle
add action=mark-connection chain=input comment="NEW Load Balance" connection-state=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-type=!local in-interface=lokal \
new-connection-mark=speedy1 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/0
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=lokal \
new-connection-mark=speedy3 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/2
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=lokal \
new-connection-mark=speedy2 passthrough=yes per-connection-classifier=both-addresses-and-ports:3/1
add action=mark-routing chain=prerouting comment="" connection-mark=speedy1 disabled=no in-interface=lokal \
new-routing-mark=speedy1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=speedy2 disabled=no in-interface=lokal \
new-routing-mark=speedy2 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=speedy3 disabled=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=no src-address="ip lokal anda"


Konfigurasi Route

Karena ip gateway speedy saya sama, jadi saya pakai gateway interface

/ip route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy2 routing-mark=speedy2
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy3 routing-mark=speedy3
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy1 routing-mark=speedy1
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy1
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy2
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy3


Screen Shot





dari forummikrotik.com

12 komentar:

Kang Geri said...

apapun bisa di blog kan ...

ardiansyah said...

sep sep sep Bener banget Gan

clé usb said...

Hi...
Thank you for sharing such a nice information which i really required. I like this site very much. I will surely bookmark it for future use. Good Work! Keep it up!

Anonymous said...

wow...., nice...
btw mw nanya,
banyak banget yah "prerouting" nya
trus stelah saya liat²
prerouting nya ada yg g' jalan,
bisa di jelasin dikit g' mas...???

ardiansyah said...

maaf sebelumnya saya blom coba di sini baru 2 line soalnya

ardiansyah said...
This comment has been removed by the author.
feto said...

keren banget nih artikelnya gan...^_^

terima kasih infonya, silakan mampir yaa ke sini dan jika mau artikel menarik lainnya silakan berkunjung ke sini yaaa...

Anonymous said...

Saya coba di MT versi 4 beta 2 untuk memasukan script per-connection-classifier ndak bisa yang, salah commnad terus

ardiansyah said...

berapa line mas

Anonymous said...

gimana sistem bandwidth nya apa bisa pake pcq

burhan said...

gmn sistem pembagian bandwidth untuk pcc di atas? apa bisa menggunakan pcq?

ardiansyah said...

kalau di bilang bisa seharunya bisa cuman sampe sekarang saya blom tau caranya.... maklum newbie