0% found this document useful (0 votes)
217 views3 pages

Setting Pppoe Dan Load Balance Speedy - New Update

The document provides instructions for configuring PPPoE clients on multiple interfaces (Speedy-1 through Speedy-5) and setting up load balancing across those interfaces on a MikroTik router. It also includes two options for configuring NAT and routing rules to distribute traffic evenly across the PPPoE connections. Additional notes provide workarounds for issues with internet banking when using load balancing.

Uploaded by

rasyidinab
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
217 views3 pages

Setting Pppoe Dan Load Balance Speedy - New Update

The document provides instructions for configuring PPPoE clients on multiple interfaces (Speedy-1 through Speedy-5) and setting up load balancing across those interfaces on a MikroTik router. It also includes two options for configuring NAT and routing rules to distribute traffic evenly across the PPPoE connections. Additional notes provide workarounds for issues with internet banking when using load balancing.

Uploaded by

rasyidinab
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

 

Setting PPPoE dan Load Balance Speedy --NEW


UPDATE-
Setting PPPoE Client
Code:

/interface pppoe-client

add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" \


dial-on-demand=no disabled=no interface=Speedy-1 max-mru=1480 max-mtu=1480 \
mrru=disabled name="******@telkom.net" password="***" profile=default \
service-name="" use-peer-dns=no user="***"

add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" \


dial-on-demand=no disabled=no interface=Speedy-2 max-mru=1480 max-mtu=1480 \
mrru=disabled name="******@telkom.net" password="***" profile=default \
service-name="" use-peer-dns=no user="***"

add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" \


dial-on-demand=no disabled=no interface=Speedy-3 max-mru=1480 max-mtu=1480 \
mrru=disabled name="******@telkom.net" password="***" profile=default \
service-name="" use-peer-dns=no user="***"

add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" \


dial-on-demand=no disabled=no interface=Speedy-4 max-mru=1480 max-mtu=1480 \
mrru=disabled name="******@telkom.net" password="***" profile=default \
service-name="" use-peer-dns=no user="***"

add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" \


dial-on-demand=no disabled=no interface=Speedy-5 max-mru=1480 max-mtu=1480 \
mrru=disabled name="******@telkom.net" password="***" profile=default \
service-name="" use-peer-dns=no user="***"

Setting Mangle u/ LB
/ip firewall mangle
add chain=prerouting action=mark-connection new-connection-mark=ADSL-1 \
passthrough=yes connection-state=new in-interface=HotSpot nth=*** \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=ADSL-1 passthrough=no \
in-interface=HotSpot connection-mark=ADSL-1 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL-2 \
passthrough=yes connection-state=new in-interface=HotSpot nth=*** \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=ADSL-2 passthrough=no \
in-interface=HotSpot connection-mark=ADSL-2 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL-3 \
passthrough=yes connection-state=new in-interface=HotSpot nth=*** \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=ADSL-3 passthrough=no \
in-interface=HotSpot connection-mark=ADSL-3 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL-4 \
passthrough=yes connection-state=new in-interface=HotSpot nth=*** \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=ADSL-4 passthrough=no \
in-interface=HotSpot connection-mark=ADSL-4 comment="" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=ADSL-5 \
passthrough=yes connection-state=new in-interface=HotSpot nth=*** \
comment="" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=ADSL-5 passthrough=no \
in-interface=HotSpot connection-mark=ADSL-5 comment="" disabled=no

Tanda Bintang
NTH untuk MT Versi 3.XX ada 2 versi, silahkan dipilih, mana aja pasti jadi

Versi 1
Code:
NTH : 5.1; 5.2; 5.3; 5.4; 5.5
Untuk settingan yang "mark-routing" gunakan "passthrough" yes
Versi 2
Code:
NTH : 5.1; 4.1; 3.1; 2.1; 0.0 atau 1.1
Untuk settingan yang "mark-routing" gunakan "passthrough" no

Konfigurasi NAT
-- Ada 2 Versi, silahkan di pilih mana saja bisa --

Versi 1
Code:
/ip firewall nat
add chain=srcnat action=src-nat to-addresses=[IP-Speedy-1] to-ports=0-65535 \
connection-mark=ADSL-1 comment="" disabled=no
add chain=srcnat action=src-nat to-addresses=[IP-Speedy-2] to-ports=0-65535 \
connection-mark=ADSL-2 comment="" disabled=no
add chain=srcnat action=src-nat to-addresses=[IP-Speedy-3] to-ports=0-65535 \
connection-mark=ADSL-3 comment="" disabled=no
add chain=srcnat action=src-nat to-addresses=[IP-Speedy-4] to-ports=0-65535 \
connection-mark=ADSL-4 comment="" disabled=no
add chain=srcnat action=src-nat to-addresses=[IP-Speedy-5] to-ports=0-65535 \
connection-mark=ADSL-5 comment="" disabled=no
Versi 2
Code:
/ip firewall nat
add chain=srcnat action=masquerade src-address="Lokal"

Konfigurasi Route
Code:
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-1 \
routing-mark=ADSL-1
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-2 \
routing-mark=ADSL-2
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-3 \
routing-mark=ADSL-3
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-4 \
routing-mark=ADSL-4
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-5 \
routing-mark=ADSL-5
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-1, \
PPPoE-2,PPPoE-3,PPPoE-4,PPPoE-5

Keterangan Warna biru --UPDATE--


Quote:
Setelah Akang amati belakangan ini terdapat perubahan pola counter speedy pada MikroTik, jika
menggunakan 1 Gateway untuk default gateway, maka akan ada salah 1 line yang drop entah di
menit ke-5 atau menit ke-10 padahal dulu tidak begini... nah biar lebih stabil lagi, Akang udah
trial eror dan pantau belakangan ini, untuk default gateway masukan semua gateway PPPoE
Speedy/ISP agar semua paket dapat tersebar secara merata.
Akhirnya final juga Untuk Settingan PPPoE di MikroTik + LoadBalance, Selamat Mencoba

::: Tambahan :::


Bagi yang merasa kesulitan atau eror saat akses Internet Banking menggunakan Load
Balance bisa menambahkan rule berikut ini, dan kalau posisi-nya Akang rule ini ditaruh di
bawah rule Load Balance.
Code:
/ip firewall mangle add action=mark-connection chain=prerouting comment="https mark" \
connection-state=new disabled=no dst-port=443 in-interface=lokal \
new-connection-mark=https-bank passthrough=yes protocol=tcp src-address=\
12.33.24.0/26
add action=mark-routing chain=prerouting comment="" connection-mark=\
https-bank disabled=no in-interface=lokal new-routing-mark=https-route \
passthrough=no
/ip route add gateway=** routing-mark=https-route

Note : tanda * = pilih gateway yang anda inginkan dan JANGAN LUPA!! ganti alamat src-
address dengan alamat IP lokal anda. Rule ini juga BERLAKU untuk Load Balance PCC

You might also like