This is my configuration in my router mikrotik 2.9.27 using load balancing. This configuration was run successfully in my internet cafe / cybercafe.
[admin@MikroTik] interface> pr
Flags: X – disabled, D – dynamic, R – running
# NAME TYPE RX-RATE TX-RATE MTU
0 R wan1 ether 0 0 1500
1 R wan2 ether 0 0 1500
2 R Local ether 0 0 1500
3 R pppoe-out1 pppoe-out 0 0 1480
4 R pppoe-out2 pppoe-out 0 0 1480
[admin@MikroTik] interface>
pppoe-out1
and pppoe-out2 automatic created if your connection running
successfull. You only create three interface. Wan1 (speedy1 ) wan2
(speedy) local (local network.
Step 2
Set IP address in all of interface, if your pppoe was ran success full you can saw below new interface with the name of PPoE-Out
Flags: X – disabled, I – invalid, D – dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.2.2/25 192.168.2.0 192.168.2.127 wan1
1 192.168.1.200/24 192.168.1.0 192.168.1.255 Local
2 192.168.0.2/25 192.168.0.0 192.168.0.127 wan2
Step 3
Set your nat configuration in ip – firewall -nat
[admin@MikroTik] ip firewall nat> pr
Flags: X – disabled, I – invalid, D – dynamic
0 chain=srcnat out-interface=pppoe-out1 action=masquerade
1 chain=srcnat out-interface=pppoe-out2 action=masquerade
Step 4
Set mark connection in your mangle table to make load balancing in your router
[admin@MikroTik] ip firewall mangle> pr
Flags: X – disabled, I – invalid, D – dynamic
0 chain=prerouting in-interface=Local connection-state=new nth=1,1,0 action=mark-connection new-connection-mark=satu
passthrough=yes
1 chain=prerouting in-interface=Local connection-mark=satu action=mark-routing new-routing-mark=con_satu passthrough=no
2 chain=prerouting in-interface=Local connection-state=new nth=1,1,1 action=mark-connection new-connection-mark=dua
passthrough=yes
3 chain=prerouting in-interface=Local connection-mark=dua action=mark-routing new-routing-mark=con_dua passthrough=no
Step 5 the last step
Set route.
[admin@MikroTik] ip route> pr
Flags: X – disabled, A – active, D – dynamic, C – connect, S – static, r – rip, b – bgp, o – ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 125.162.34.1/32 125.162.35.220 pppoe-out2
1 ADC 125.162.46.1/32 125.162.47.144 pppoe-out1
2 ADC 192.168.0.0/25 192.168.0.2 wan2
3 ADC 192.168.1.0/24 192.168.1.200 Local
4 ADC 192.168.2.0/25 192.168.2.2 wan1
5 A S 0.0.0.0/0 r 125.162.46.1 1 pppoe-out1
6 A S 0.0.0.0/0 r 125.162.34.1 1 pppoe-out2
7 A S 0.0.0.0/0 r 125.162.34.1 1 pppoe-out2
r 125.162.46.1 pppoe-out1
8 A S 0.0.0.0/0 r 125.162.34.1 1 pppoe-out2
That 5 step in my router configuration using load balancing method
sumber : http://nst.web.id/
Blog Tempatnya Ilmu dan Pengetahuan
Popular Posts
-
A. BULAN SYA'BAN Bulan Sya’ban adalah nama bulan dari dua belas bulan yang ada dalam kalender Islam. Dinamakan Sya’ban, karena orang-...
-
Rohatil athyaru tasydu, fi layaa lil maulidi ... wa bariqunnu riyabdu, min ma’aani Ahmadi .. Wa bariqunnu riyabdu, min ma’aani Ahmadi ....
-
Turi putih (2x) di tandur ing kebon agung Onok cleret tibo nyemplung Mbok iro kembange opo (2x) Etan kali, kulon kali Etan...
-
Sebenarnya selama menggunakan komputer, ada riwayat tersendiri bagi windows dengan menyimpan "temporary files" yang telah digunaka...
-
Assalamualaikum wr.wb Ayyuhal-Ikhwaan Wal-Akhwaat Fil-Masyrob, Sebagaimana yang telah kita ketahui bersama, pada 25 Desember 2005, te...
-
Saat ini internet telah menjadi salah satu kebutuhan dasar yang diperlukan berbagai kalangan. Salah satu hal yang sangat penting untuk men...
-
"Ya Rasulullah salamun alaik Ya rofii asyaa ni wadda roji Afata yaji rodzal alami ya uhai lal juu di walka romi" Kekasih ...
-
Visual Effect sangatlah berperan penting dalam kinerja Windows 7, semakin banyak kamu mengaktifkan efek, maka komputer kamu akan berjalan se...
-
KHOIROL BARIYYAH خَيْرَ البَرِيَّةْ نَظْرَةْ اِلَي * مَا أنْتَ إلا كَنْزُ العَطِيَّةْ Khoirul bariyah nama Nabimu Nabi penolo...
-
Salah satu kerusakan komputer yang sering saya temukan adalah permasalahan komputer yang tidak bisa booting. Disini ada beberapa kasu...
About
Followers
Copyright © 2014 The-paculz - All Rights Reserved
Template By. Catatan Info
0 Komentar untuk "PPPoE Load blancing Mikrotik "
Silahkan berkomentar dengan sopan dan bijak sesuai dengan tema artikel dan pastinya
NO SPAM NO SARA AND NO LIVE LINK ALLOWED... okk ;-)