Topologi dan konfigurasi PC router MikroTik untuk load balancing


Topologi

Menggunakan 3 etrernet card

ether1 ==> wireless
ether2 ==> speedy
ethet3 ==> Lan

mikrotik command:
/ip address add address 202.152.74.1/32 interface ether1
/ip address add address 192.168.1.2/32 interface ether2
/ip address add address 192.168.10.1/24 interface ether3

Membagi Ip menjadi 2 Group

add chain=prerouting action=mark-connection src-address 192.168.10.0/25 new-routing-mark= Group-A
add chain=prerouting action=mark-connection src-address 192.168.10.128/25 new-routing-mark=Group-B

Default gw masing-masing Group

Group-A=192.168.10.0/25 default gw 192.168.1.1

Group-B=192.168.10.128/25 default gw 202.152.74.128

mikrotik command:

/ip route add gateway=192.168.1.1 routing-mark=Group-A
/ip route add gateway=202.152.74.128 routing-mark=Group-B

Nat ip local

192.168.10.0/24 ==>masquerade

mikrotik command:
/ip firewall nat add chain=srcnat src-address 192.168.10.0/24 action=masquerade

Selamat mencoba dan Semoga sukses….

1 comment:

Julianda Rosyadi said...

Waduch..
aku ga ngerti tuch... mungkin karena aku masih sma..
tapi keren...
kaka kuliahnya di mana???
Jurusan apa??
Waduch..sorry nanya2,coz aku lagi cari kuliahan buat tahun depan (2009/2010)...
bantu aku ya...
jawabannya kirimn ke july.smansa@gmail.com...please ya....

Bikin Acount PAYPALL disini

Sign up for PayPal and start accepting credit card payments instantly.