sory gambarnya beda ma tutorialnya he,he,he maklum gambar cuma copas doang,,,
Seeting Load balancing 2 Line Speedy dengan Mikrotik, dan Modem di posisikan sebagain bridging.
langsung aja ke step2 nya setting dulu modem sebagai berikut:
- 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=master1 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
catatan :
untuk getway pada routing : bisa di isi ip getway dari interface ppoe yang di dapat dari telkom.lebih optimal
sumber: ab-intermedia
1 komentar:
k3, putus g ne k3 , klw buat game online...
bnyak load balancing putus2.. sering x time out
Posting Komentar