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
-
Kebanyakan pengguna Windows saat menginstall atau menguji games, software, dan lainnya secara berkala ke komputer Windows-nya. Apalag...
-
Pernah tidakkah, anda mengalami kegagalan dalam Proses Instalasi OS Windows pada laptop SONY VAIO anda. Jika pernah maka kemungk...
-
Beberapa user komputer berpendapat kalau komputer mereka tidak memerlukan Antivirus. Hal ini mungkin saja untuk user yang jeli dan te...
-
Assalamualaikum wr.wb Ayyuhal-Ikhwaan Wal-Akhwaat Fil-Masyrob, Sebagaimana yang telah kita ketahui bersama, pada 25 Desember 2005, te...
-
"Advanced Boot Options" adalah pilihan mode startup windows 7, yang biasa digunakan untuk melakukan troubleshooting ketika terdap...
-
Salah satu kerusakan komputer yang sering saya temukan adalah permasalahan komputer yang tidak bisa booting. Disini ada beberapa kasu...
-
Bagi anda yang penasaran ingin mencoba Windows 10 Technical Review, bisa memasangnya secara dual boot dengan Windows 7. Namun karena Wind...
-
Tarian serimpi ini diciptakan pada zaman Sultan HamengkuBuwono V (1822-1855) dikenla dengan nama " srimpi hadi wulangun bro...
-
Pada awalnya, Samsung sama sekali tidak memproduksi barang elektronik. Perusahaan ini didirikan oleh Lee Byung Chull pada tahun 1938...
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 ;-)