Menterjemahkan beberapa point penyampaian dari tim MikroTik yang ada di video tersebut :
- Load Balance bukan bermaksud untuk memecah koneksi(network connection) menjadi 1/2 1/2 (1/2 kirim ke ISP1 lalu 1/2 kirim ke ISP2), bukan seperti ini.
- *Router tidak mengetahui berapa bandwidth yg diperlukan untuk setiap koneksi, RB Load Balance hanya membagi koneksi ke internet sesuai dengan jumlah ISP yang ada berdasaran penghitungan (algoritma) sederhana
- *Load Balance PCC ini untuk mendistribusikan koneksi, bukan bandwidth
- *akan mendistribusikan koneksi ke 3 WAN
- Contoh urutan alur koneksi yg masuk ke load balance PCC
➡️koneksi pertama via ISP1
➡️koneksi ke-dua via ISP2
➡️koneksi ke-tiga via ISP3
➡️koneksi ke-empat via ISP1 (kembali lagi)
➡️koneksi ke-lima via ISP2 (kembali lagi)
➡️koneksi ke-enam via ISP3 (kembali lagi)
Artikel yang merujuk sepenuhnya ke Youtube Mikrotik di atas (Multiple Uplink Using PCC, Load Balancing)
Topologi
ether1 = ISP1 (ISP IP Static)
172.16.1.0
ether2 = ISP2 (ISP IP Dynamic)
172.17.1.0
ether3 = ISP3 (ISP VPN)
172.18.1.0
ether9 = LAN
172.20.1.0
Setting FIB (Forwarding Information Base) untuk 3 ISP di menu =
Routig ➡️Tables
➕ ISP1
✅FIB (aktif)
➕ ISP2
✅FIB (aktif)
➕ ISP3
✅FIB (aktif)
Buat Gateway untuk masing-masing Routing Table (ISP1, ISP2, ISP3)
Buka Menu IP -> Route
➕
Tab General
Dst Address = 0.0.0.0/0
Gateway = 172.16.1.1
Check Gateway = ping
Distance = 1
Scope = 30
Target Scope = 10
Routing Table = ISP1
➕
Tab General
Dst Address = 0.0.0.0/0
Gateway = 172.17.1.1
Check Gateway = ping
Distance = 1
Scope = 30
Target Scope = 10
Routing Table = ISP2
➕
Tab General
Dst Address = 0.0.0.0/0
Gateway = 172.18.1.1
Check Gateway = ping
Distance = 1
Scope = 30
Target Scope = 10
Routing Table = ISP3
Hasil akhir unt rute ISP berdasarkan routing table yang sudah dibuat
Buat Jalur Routing Utama [Main Routing Table] (Prioritas no.1, backup no.2, backup no.3)
Buka menu IP -> Route
➕
➡️ Dst Address = 0.0.0.0/0
Gateway = 192.16.1.1
Check Gateway = ping
Distance =1
Routig Table = main
➡️ Dst Address = 0.0.0.0/0
Gateway = 192.17.1.1
Check Gateway = ping
Distance = 2
Routig Table = main
➡️ Dst Address = 0.0.0.0/0
Gateway = 192.18.1.1
Check Gateway = ping
Distance = 3
Routig Table = main
Tandai Koneksi yang datang dari ISP 1, 2, 3 (Firewall Mangle Connection)
➕ Tab General
Chain = prerouting
In. Interface = ether1_ISP1
Connection Mark = no-mark
Connection State = ✅new
Tab Action
Action = mark connection
New Connection Mark : ISP1_Conn
✅Passthrough (aktif)
➕ Tab General
Chain = prerouting
In. Interface = ether2_ISP2
Connection Mark = no-mark
Connection State = ✅new
Tab Action
Action = mark connection
New Connection Mark : ISP2_Conn
✅Passthrough (aktif)
➕ Tab General
Chain = prerouting
In. Interface = ether3_ISP3
Connection Mark = no-mark
Connection State = ✅new
Tab Action
Action = mark connection
New Connection Mark : ISP3_Conn
✅Passthrough (aktif)
Memetakan Paket yang keluar Router (Output), Paket dari internet (ISP) | adalah Paket Tembusan [dari Uplink ISP ke downline di bawah Load Balance]
IP -> Firewall -> ➕
Tab General
chain = output
Connection Mark = ISP1_conn (sudah ada tinggal ambil)
Tab Action
Action = mark routing
New Routing Mark = ISP1
✅Passthrough (aktif)
IP -> Firewall -> ➕
Tab General
chain = output
Connection Mark = ISP2_conn (sudah ada tinggal ambil)
Tab Action
Action = mark routing
New Routing Mark = ISP2
✅Passthrough (aktif)
IP -> Firewall -> ➕
Tab General
chain = output
Connection Mark = ISP3_conn (sudah ada tinggal ambil)
Tab Action
Action = mark routing
New Routing Mark = ISP3
✅Passthrough (aktif)
Menandai koneksi dari LAN ke internet & Distribusikan Koneksi dengan Load Balance PCC
➕
Tab General
chain = prerouting
In. Interface = LAN
Connection Mark = no-mark
Connecton State = ✅new
Tab Advanced
Per Connection Classifier =
src address and port : 3/0
Tab Extra
Dst. Address Type : ❗
➡️ local
Tab Action
Action : mark connection
New Connection Mark : ISP1_conn (sudah ada tinggal ambil)
✅Passthrough (aktif)
➕
Tab General
chain = prerouting
In. Interface = LAN
Connection Mark = no-mark
Connecton State = ✅new
Tab Advanced
Per Connection Classifier =
src address and port : 3/1
Tab Extra
Dst. Address Type : ❗
➡️ local
Tab Action
Action : mark connection
New Connection Mark : ISP2_conn (sudah ada tinggal ambil)
✅Passthrough (aktif)
➕
Tab General
chain = prerouting
In. Interface = LAN
Connection Mark = no-mark
Connecton State = ✅new
Tab Advanced
Per Connection Classifier =
src address and port : 3/2
Tab Extra
Dst. Address Type : ❗
➡️ local
Tab Action
Action : mark connection
New Connection Mark : ISP3_conn (sudah ada tinggal ambil)
✅Passthrough (aktif)
Contoh komposisi Rule PCC untuk ISP dengan bandwidth berbeda.
Menandai Routing (Routing Marks) dari LAN menuju internet
➕
Tab General
Chain = prerouting
In. Interface = LAN
Connection Mark = ISP1_conn (sudah ada tinggal ambil)
Tab Action
Action = mark routing
New Routing Mark = ISP1
✅Passthrough (aktif)
➕
Tab General
Chain = prerouting
In. Interface = LAN
Connection Mark = ISP2_conn (sudah ada tinggal ambil)
Tab Action
Action = mark routing
New Routing Mark = ISP2
✅Passthrough (aktif)
➕
Tab General
Chain = prerouting
In. Interface = LAN
Connection Mark = ISP3_conn (sudah ada tinggal ambil)
Tab Action
Action = mark routing
New Routing Mark = ISP3
✅Passthrough (aktif)