Hosting Gratis

Pages

Thursday, December 20, 2012

Load Balancing Mikrotik V 2.9.27


Saya mencoba load balance Pc mikrotik dengan v 2.9.27.
Install dulu Mikrotiknya.
Setelah itu buatlah Konfigurasi seperti dibawah ini
/ip address
add address=192.168.10.1/28 network=192.168.10.0 broadcast=192.168.10.255
interface=lan comment="" disabled=no
add address=192.168.1.11/24 network=192.168.1.0 broadcast=192.168.255
interface=inet1comment="" disabled=no
add address=192.168.2.22/24 network=192.168.2.0 broadcast=192.168.2.255
interface=inet2 comment="" disabled=no
/ip firewall mangle
add chain=prerouting in-interface=lan connection-state=new nth=1,1,0
action=mark-connection new-connection-mark=satu passthrough=yes
disabled=no
add chain=prerouting in-interface=lan connection-mark=satu
action=mark-routing new-routing-mark=satu passthrough=no disabled=no
add chain=prerouting in-interface=lan connection-state=new nth=1,1,1
action=mark-connection new-connection-mark=dua passthrough=yes disabled=no
add chain=prerouting in-interface=lan connection-mark=dua
action=mark-routing new-routing-mark=dua passthrough=no disabled=no
/ip firewall nat
add chain=srcnat connection-mark=satu action=src-nat
to-addresses=192.168.1.11 to-ports=0-65535 comment="" disabled=no
add chain=srcnat connection-mark=dua action=src-nat
to-addresses=192.168.2.22 to-ports=0-65535 comment="" disabled=no
/ ip route
add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10
routing-mark=satu comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=255 target-scope=10
routing-mark=dua comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=255 target-scope=10
comment="" disabled=no

Selain konfigurasi di atas, ada konfigurasi lain yaitu mikrotik sebagai router.
meliputi DNS, Pembagi bandwidth(simple Queue/Queue tree). Dan sebagainya sesuai keinginan kita.

0 komentar:

Post a Comment