Catatan Mikrotik

Coretan mikrotik sebagai catatanku dalam membantu mengingatkan apa yang telah aku kerjakan dan juga sekaligus berita yang disampaikan

  • Home
  • Berita
  • Mikrotik
  • Game
  • Bisnis Online
Beranda » mikrotik » LoadBalance - 5 Line

LoadBalance - 5 Line

Setting PPPoE Client

/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="PPPoE-1" user="******@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="PPPoE-2" user="******@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="PPPoE-3" user="******@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="PPPoE-4" user="******@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="PPPoE-5" user="******@telkom.net" password="***" profile=default \
service-name="" use-peer-dns=no user="***"



New Mangle LoadBalance!!

/ip firewall mangle
add action=mark-connection chain=input comment=\
    "NEW Load Balance" connection-state=new \
    disabled=no in-interface=Speedy-1 new-connection-mark=ADSL-1 \
    passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
    disabled=no in-interface=Speedy-2 new-connection-mark=ADSL-2 \
    passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
    disabled=no in-interface=Speedy-3 new-connection-mark=ADSL-3 \
    passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
    disabled=no in-interface=Speedy-4 new-connection-mark=ADSL-4 \
    passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
    disabled=no in-interface=Speedy-5 new-connection-mark=ADSL-5 \
    passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=ADSL-1 \
    disabled=no new-routing-mark=jalur-1 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=ADSL-2 \
    disabled=no new-routing-mark=jalur-2 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=ADSL-3 \
    disabled=no new-routing-mark=jalur-3 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=ADSL-4 \
    disabled=no new-routing-mark=jalur-4 passthrough=no
add action=mark-routing chain=output comment="" connection-mark=ADSL-5 \
    disabled=no new-routing-mark=jalur-5 passthrough=no
add action=mark-connection chain=prerouting comment="" disabled=no \
    dst-address-type=!local in-interface=Lokal new-connection-mark=\
    ADSL-1 passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:5/0
add action=mark-connection chain=prerouting comment="" disabled=no \
    dst-address-type=!local in-interface=Lokal new-connection-mark=\
    ADSL-2 passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:5/1
add action=mark-connection chain=prerouting comment="" disabled=no \
    dst-address-type=!local in-interface=Lokal new-connection-mark=\
    ADSL-3 passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:5/2
add action=mark-connection chain=prerouting comment="" disabled=no \
    dst-address-type=!local in-interface=Lokal new-connection-mark=\
    ADSL-4 passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:5/3
add action=mark-connection chain=prerouting comment="" disabled=no \
    dst-address-type=!local in-interface=Lokal new-connection-mark=\
    ADSL-5 passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:5/4
add action=mark-routing chain=prerouting comment="" connection-mark=ADSL-1 \
    disabled=no in-interface=HotSpot new-routing-mark=jalur-1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=ADSL-2 \
    disabled=no in-interface=HotSpot new-routing-mark=jalur-2 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=ADSL-3 \
    disabled=no in-interface=HotSpot new-routing-mark=jalur-3 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=ADSL-4 \
    disabled=no in-interface=HotSpot new-routing-mark=jalur-4 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=ADSL-5 \
    disabled=no in-interface=HotSpot new-routing-mark=jalur-5 passthrough=yes
Konfigurasi NAT
-- Ada 2 versi, silahkan pilih, suka-suka --


Versi ke-1 








/ip firewall nat 
add chain=srcnat action=masquerade out-interface=PPPoE-1 comment="" disabled=no 
add chain=srcnat action=masquerade out-interface=PPPoE-2 comment="" disabled=no
add chain=srcnat action=masquerade out-interface=PPPoE-3 comment="" disabled=no 
add chain=srcnat action=masquerade out-interface=PPPoE-4 comment="" disabled=no
add chain=srcnat action=masquerade out-interface=PPPoE-5 comment="" disabled=no
Versi ke-2
/ip firewall nat 
add chain=srcnat action=masquerade src-address="IP Lokal anda"
Konfigurasi Route

/ip route 
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-1 \
routing-mark=Jalur-1 
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-2 \
routing-mark=Jalur-2
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-3 \
routing-mark=Jalur-3
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-4 \
routing-mark=Jalur-4
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-5 \
routing-mark=Jalur-5
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-2
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-4
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-3
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-1
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE-5
add comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=PPPoE-4
add comment="" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=PPPoE-2
::: Screen Crrotttt :::



Penyebaran bytes dan paket merata, diangka yang tidak selisih jauh, hanya saja di Akang ada 4 line, jadi default rote di 4, sehingga di mark=output jadi besar sendiri

Sumber : Akangage@forummikrotik




Tweet

Jangan sampai ketinggalan postingan-postingan terbaik dari Catatan Mikrotik. Berlangganan melalui email sekarang juga:

Atau sobat juga bisa follow Catatan Mikrotik dengan mengklik tombol di bawah ini:

follow mas sugeng

Artikel keren lainnya:

Blogger Templates
Ditulis oleh IWAN DRACA pada tanggal
Newer Post
Older Post
Home

Popular Posts

  • Mengubah tampilan MikroTik Webbox

    1. MikroTik target yang udah terinstall (di HDD or DOM), ataupun kalau cuma buat ngetes2 bisa di Vmware (Disini me pake vmware utk mesinny...
  • Mengganti AM dan PM dgn Pagi dan Sore

    Format waktu yang biasa digunakan di Inggris Raya dan Amerika adalah 12 jam. Untuk membedakannya maka separo waktu pertama (mulai ...
  • Simple Load Balancing + DNS Resolver + Secret Fiture

    Konsep LOAD BALANCING Sebelum BEraksi Jangan Lupa Setup Ethernet / Interface Card ( NIC ) atau Bahasa Gaulnya ( Lan Card ) dengan konfigur...
  • LB + Limited Download + PCQ + DNS Resolver

    Interface ada 3 : Code: Interface 1 => name Lan => 192.168.10.21/24 Interface 2 => name Modem 1 => 192.168.20.2/24 (Gateway : ...
  • Membuat Proxy Server sederhana di Windows XP menggunakan Privoxy

    Bagi pengguna Linux tingkat intermediate dan expert mungkin sudah biasa dengan software squid untuk men-sharing koneksi internet, walau buk...
  • Load Balancing Mikrotik dengan PCC

    I nterface : 1. Lokal 2. Speedy-1 3. Speedy-2 ip modem: Speedy-1 = 10.112.0.1 Speedy-2 = 10.111.0.1
  • Mikrotik Load Balancing - Winbox version

    Preparation 1. Configure modem-modem yg ada dengan IP management seperti yang ada di topologi • Modem hijau : 192.168.10.2 / 24 • Modem...
Copyright © 2014 Catatan Mikrotik - Recsell
Template by Mas Sugeng - Versi Seluler