Remote Tools, Boot Xp, Mikrotik
header5.jpg
Home > Mikrotik > Tutorial Load Balancing 2 Line Speedy

Tutorial Load Balancing 2 Line Speedy

December 14th, 2009 boled Leave a comment Go to comments

besar2Seeting Load balancing 2 Line Speedy dengan PPoe Built In Mikrotik, dan Modem di posisikan sebagain bridging.

- Setting modem Speedy1

  • Ip Address : 192.168.1.2, Subnet : 255.255.255.0 Fitru DHCP pada interface LAN di Non aktifkan, Mode sebagai Bridge

- Setting Modem Speedy2

  • Ip address : 192.168.2.2, Subnet : 255.255.255.0 Fitru DHCP pada interface LAN di non aktifkan, Modem sebagai Bridge

Login ke Mikrotik dan atur sebagai berikut :

contohnya buat mikrotik versi 3.xx (saya pakai di mikrotik OS bawaan RB450G) :

Ip Ke modem1  : 192.168.1.1 interface=speedy1
IP Ke Modem2 : 192.168.2.1 interface=speedy2
IP Local : 192.168.3.1  interface=Local

Setting Buat Mangle

/ip firewall mangle
add chain=prerouting action=mark-connection new-connection-mark=master1 \
passthrough=yes connection-state=new in-interface=Local nth=2,1 \
comment=”" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=master1 passthrough=no \
in-interface=local connection-mark=1 comment=”" disabled=no
add chain=prerouting action=mark-connection new-connection-mark=master2 \
passthrough=yes connection-state=new in-interface=Local nth=1,1 \
comment=”" disabled=no
add chain=prerouting action=mark-routing new-routing-mark=master2 passthrough=no \
in-interface=local connection-mark=master2 comment=”" disabled=no

Setting NAT

/ip firewall nat
add chain=srcnat action=masquerade out-interface=speedy1
add chain=srcnat action=masquerade out-interface=speedy2
add chain=srcnat action=masquerade src-address=”192.168.3.0/24″

Setting Routenya

/ ip route
add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10 \
routing-mark=master1 comment=”" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=255 target-scope=10 \
routing-mark=master2 comment=”" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10 \
comment=”primary connection” disabled=no

Di test pada RB45G dan Ok.. lumayan

Berikutnya setting ke dua:

besarBerikut scripting Load Balancing dengan konfigurasi 2 Line untuk Mikrotik versi 2.9.27
Sesuaikan IP masing-masing interface menurut network kita.

Note : 192.168.3.1 = IP Local
192.168.1.1 = IP Modem Speedy 1
192.168.2.1 = IP Modem Speedy 2

/ ip address
add address=192.168.3.1/24 network=192.168.3.0 broadcast=192.168.3.255 \
interface=local comment=”" disabled=no
add address=192.168.1.254/24 network=192.168.1.0 broadcast=192.168.1.255 \
interface=”Internet” comment=”" disabled=no
add address=192.168.2.254/24 network=192.168.2.0 broadcast=192.168.2.255 \
interface=”Speedy” comment=”" disabled=no

/ ip firewall mangle
add chain=prerouting in-interface=local connection-state=new nth=1,1,0 \
action=mark-connection new-connection-mark=master1 passthrough=yes \
comment=”Load Balancing Client” disabled=no
add chain=prerouting in-interface=local connection-mark=master1 \
action=mark-routing new-routing-mark=master1 passthrough=no comment=”" \
disabled=no
add chain=prerouting in-interface=local connection-state=new nth=1,1,1 \
action=mark-connection new-connection-mark=master2 passthrough=yes \
comment=”" disabled=no
add chain=prerouting in-interface=local connection-mark=master2 \
action=mark-routing new-routing-mark=master2 passthrough=no comment=”" \
disabled=no

/ ip firewall nat
add chain=srcnat out-interface=”Internet” action=masquerade comment=”" \
disabled=no
add chain=srcnat out-interface=”Speedy” action=masquerade comment=”" \
disabled=no

/ ip route
add dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=255 target-scope=10 \
routing-mark=master1 comment=”" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10 \
routing-mark=master2 comment=”" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10 \
comment=”primary connection” disabled=no

Semoga membantu…..

dites pada Mikrotik Versi OS dan bajakan.

http://ab-intermedia.com
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • PDF
Categories: Mikrotik Tags:
  1. February 10th, 2010 at 09:50 | #1

    klo pake RB 750 sama gak kira2 settingnya?

  1. No trackbacks yet.
Uses wordpress plugins developed by www.wpdevelop.com wp_footer();