Labels

Sabtu, 04 Agustus 2012

Load Balancing Speedy 3 Line NTH

Setting NAT

/ip firewall nat add chain=srcnat action=masquerade out-interface=speedy1
/ip firewall nat add chain=srcnat action=masquerade out-interface=speedy2
/ip firewall nat add chain=srcnat action=masquerade out-interface=speedy3


Setting Buat Mangle

/ip firewall mangle add chain=prerouting action=mark-connection new-connection-mark=ADSL-1 passthrough=yes connection-state=new in-interface=lokal nth=3,1 comment="" disabled=no
/ip firewall mangle add chain=prerouting action=mark-routing new-routing-mark=jalur-1 passthrough=no in-interface=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=lokal nth=3,2 comment="" disabled=no
/ip firewall mangle add chain=prerouting action=mark-routing new-routing-mark=jalur-2 passthrough=no in-interface=lokal connection-mark=ADSL-2 comment="" disabled=no

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

Setting Routenya

/ ip route add dst-address=0.0.0.0/0 gateway=192.168.1.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.2.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.3.1 scope=255 target-scope=10 routing-mark=jalur-3 comment="" disabled=no
/ ip route add dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=255 target-scope=10 comment="primary connection" disabled=no


1 komentar:

  1. untuk nth bisa jelaskan knp 3/1 3/2 3/1 mohon bantuan nya pak kole sadewa.....god bless u

    BalasHapus