Usahakan jikalau menggunakan metode PCC , antara 2 Modem / WAN ISP sama ( seimbang ) misal : 10Mb dengan 10 Mb, 50 Mb dengan 50 Mb begitu seterusnya. supaya hasil dijamin maksimal.
Topologi Jaringan :
Modem / WAN 1
IP Address : 192.168.100.1
Netmask 255.255.255.0
Netmask 255.255.255.0
Modem / WAN 2
IP Address 192.168.15.1
Netmask 255.255.255.0
Netmask 255.255.255.0
- Buat IP Addressnya terlebih dahulu
- Buat 2 Nat Mengarah ke WAN 1 dan WAN 2 , Script sample ada di Mode CLI
- Buat Mangle untuk manage input - out put trafict loud balance nya, menyerupai gambar dibawah :
- Setelah semua rule mangle komplet , arahkankan routing ke WAN 1 dan WAN 2 di IP => Route
Mode CLI
/ip address
add address=192.168.100.18/24 interface=ether1-WAN1 network=192.168.100.0
add address=192.168.15.2/24 interface=ether5-WAN2 network=192.168.15.0
add address=192.168.19.1/24 interface=ether4-ASP_LAN network=192.168.19.0
/ip firewall nat
add chain=srcnat action=masquerade out-interface=ether1-WAN1 comment="" disabled=no
add chain=srcnat action=masquerade out-interface=ether5-WAN22 comment="" disabled=no
/ip firewall mangle
add action=mark-connection chain=input comment=\
"Rule Trafict masuk dari WAN 1 dan WAN 2" disabled=yes in-interface=\
ether1-WAN1 new-connection-mark=speedy1
add action=mark-connection chain=input disabled=yes in-interface=ether5-WAN2 \
new-connection-mark=speedy2
add action=mark-routing chain=output comment=\
"Rule Trafict Keluar ke masing2 Gateway" connection-mark=speedy1 \
disabled=yes new-routing-mark=speedy1 passthrough=no
add action=mark-routing chain=output connection-mark=speedy2 disabled=yes \
new-routing-mark=speedy2 passthrough=no
add action=mark-connection chain=prerouting comment=\
"Rule Ijin Akses dari LAN ke WAN" disabled=yes dst-address-list=!rfc1918 \
in-interface=ether4-LAN_ASP new-connection-mark=speedy1 \
per-connection-classifier=both-addresses:2/0
add action=mark-connection chain=prerouting disabled=yes dst-address-list=\
!rfc1918 in-interface=ether4-LAN_ASP new-connection-mark=speedy2 \
per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting comment=\
"Rule Routing Paket data GW1 dan GW2" connection-mark=speedy1 disabled=\
yes in-interface=ether4-LAN_ASP new-routing-mark=to_speedy1
add action=mark-routing chain=prerouting connection-mark=speedy2 disabled=yes \
in-interface=ether4-LAN_ASP new-routing-mark=to_speedy2
/ip route
## Distribusi koneksi internet ke Modem WAN1
add distance=1 gateway=192.168.100.1 routing-mark=to_speedy1
## Distribusi koneksi internet ke Modem WAN2
add distance=1 gateway=192.168.15.1 routing-mark=to_speedy2
## Default Gateway
add check-gateway=ping distance=1 gateway=192.168.15.1
Source/Reference :
- http://mikrotik.co.id
BACA JUGA : ARTIKEL TENTANG SETTING MIKROTIK DIBAWAH INI :
6. Tutorial Cara Meremote Winbox Mikrotik Dari Luar Jaringan
7. Cara Mengalihkan Pelanggan Hotspot Mikrotik Yang Expired Ke Halaman Isolir
7. Cara Mengalihkan Pelanggan Hotspot Mikrotik Yang Expired Ke Halaman Isolir
ARTIKEL MIKROTIK : KUMPULAN TUTORIAL SETTING MIKROTIK LANJUT
Comments
Post a Comment