LOAD BALANCING 2 SPEEDY (WAN) Bagian 3 - Find4Something

LOAD BALANCING 2 SPEEDY (WAN) Bagian 3

LOAD BALANCING 2 SPEEDY (WAN)
Konfigurasi IP dan interface sesuaikan dengan LAN dan Speedy punya agan...

ether1-LOKAL : 192.168.1.254 (interface yg mengarah ke LAN)
speedy1 : 192.168.2.1
speedy2 : 192.158.3.1

Setting NAT
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether2-speedy1
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether3-speedy2

Setting Buat Mangle
/ip firewall mangle add chain=prerouting action=mark-connection new-connection-mark=ADSL-1 passthrough=yes connection-state=new \
in-interface=ether1-lokal nth=2,1 comment="" disabled=no

/ip firewall mangle add chain=prerouting action=mark-routing new-routing-mark=jalur-1 passthrough=no in-interface=ether1-lokal \
connection-mark=ADSL-1 comment="" disabled=no

/ip firewall mangle add chain=prerouting action=mark-connection new-connection-mark=ADSL-2 passthrough=yes connection-state=new \
in-interface=ether1-lokal nth=1,1 comment="" disabled=no

/ip firewall mangle add chain=prerouting action=mark-routing new-routing-mark=jalur-2 passthrough=no in-interface=ether1-lokal \
connection-mark=ADSL-2 comment="" disabled=no

Setting Route nya
/ip route add dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=255 target-scope=10 routing-mark=jalur-1 comment="" disabled=no
/ip route add dst-address=0.0.0.0/0 gateway=192.168.3.1 scope=255 target-scope=10 routing-mark=jalur-2 comment="" disabled=no
/ip route add dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=255 target-scope=10 comment="primary connection" disabled=no

silahkan dicoba gan... mudah2an berhasil! ...

Subscribe to receive free email updates:

0 Response to "LOAD BALANCING 2 SPEEDY (WAN) Bagian 3"

Post a Comment