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
-
Perkara install ulang merupakan hal yang cukup membosankan. Mulai dari proses install ulang itu sendiri, pemasangan driver-driver ...
-
Qulul qulub Qulul qulubi Ilal habibi tammilu … x2 Wama’i biza lika shaahidun Shaahidun wa dalilu Ammad dalilu iza zakhartum ul M...
-
Setelah tahu tentang cara screenshot pada hp android, lalu bagaimana cara screenshot pada layar komputer? Bisa tidak memotret layar komp...
-
Suatu saat mungkin sobat harus menghpus artikel di blog. Ada beberapa kemungkinan artikel tersebut dihapus, diantaranya : Artikel yang...
-
Seorang ilmuwan yang terkenal dengan pengukuran "derajat celciusnya". Lahir di Upssala tahun 1701. Ayahnya seorang p...
-
DOWNLOAD SOFTWARE CONVERT WORD TO PDF Pada dasarnya di Microsoft Office dengan versi 2007 tidak memiliki fasilitas untuk menyimpan...
-
Bob Sadino (Lampung, 9 Maret 1933), atau akrab dipanggil om Bob , adalah seorang pengusaha asal Indonesia yang berbisnis di...
-
Kelahiran dan masa kecil KH. Iskandar Umar Abdul Latif dilahirkan pada hari kamis 1 Romadhon atau 10 November 1956. Beliau ada...
-
Bagaimana cara memperbaiki feature-feature Corel Draw yang tidak bisa berfungsi maupun tidak bisa dijalankan di versi trial?? ...
-
Dalam menyimak suatu informasi, kita harus teliti sehingga tidak terjebak pada isi informasi yang kita simak. Dari segi sifat dan uraia...
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 ;-)