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
=====================================================
ip route add dst-address=0.0.0.0/0 gateway=192.168.1.1 check-gateway=ping
ip route add dst-address=0.0.0.0/0 gateway=10.0.148.254 check-gateway=ping
Dimana 192.168.1.1 router ADSL & 10.0.148.254 gateway RT/RW-net pake 2.4ghz dah cuma gitu aja sih ..
cek gateway pake ping jadi kalau gateway down
langsung switch. Kalau gak down ya langsung on 2 sekaligus, kayanya sih load balancing
LOAD BALANCING MENGGUNKAN MIKROTIK
Diposting oleh Jaka KusnandarLOAD BALANCING MENGGUNKAN MIKROTIK
2008-11-09T04:47:00+07:00
Jaka Kusnandar
Langganan:
Posting Komentar (Atom)