load balance contoh 7line

Upload: arif-stya-wira-laksana

Post on 13-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 Load Balance Contoh 7LIne

    1/2

    ip firewall mangle add action=mark-connection chain=input comment="NEW Load Balance Test 7" connection-state=new disabled=yes in-interface=pppoe-out1 new-connection-mark=con-satu passthrough=yesip firewall mangle add action=mark-connection chain=input comment="" connection-state=new disabled=yes in-interface=pppoe-out2 new-connection-mark=con-dua passthrough=yesip firewall mangle add action=mark-connection chain=input comment="" connection-state=new disabled=yes in-interface=pppoe-out3 new-connection-mark=con-tiga passthrough=yesip firewall mangle add action=mark-connection chain=input comment="" connection-state=new disabled=yes in-interface=pppoe-out4 new-connection-mark=con-empat passthrough=yesip firewall mangle add action=mark-connection chain=input comment="" connection-state=new disabled=yes in-interface=pppoe-out5 new-connection-mark=con-lima passthrough=yesip firewall mangle add action=mark-connection chain=input comment="" connection-state=new disabled=yes in-interface=pppoe-out6 new-connection-mark=con-enam passthrough=yesip firewall mangle add action=mark-connection chain=input comment="" connection-state=new disabled=yes in-interface=Link-07 new-connection-mark=con-tujuh passthrough=yes

    ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=con-satu disabled=yes new-routing-mark=route-satu passthrough=no

    ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=con-dua disabled=yes new-routing-mark=route-dua passthrough=noip firewall mangle add action=mark-routing chain=output comment="" connection-mark=con-tiga disabled=yes new-routing-mark=route-tiga passthrough=noip firewall mangle add action=mark-routing chain=output comment="" connection-mark=con-empat disabled=yes new-routing-mark=route-empat passthrough=noip firewall mangle add action=mark-routing chain=output comment="" connection-mark=con-lima disabled=yes new-routing-mark=route-lima passthrough=noip firewall mangle add action=mark-routing chain=output comment="" connection-mark=con-enam disabled=yes new-routing-mark=route-enam passthrough=noip firewall mangle add action=mark-routing chain=output comment="" connection-mark=con-tujuh disabled=yes new-routing-mark=route-tujuh passthrough=no

    ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local new-connection-mark=con-satu passthrough=yes per-connection-classifier=both-addresses-and-ports:7/0ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local new-connection-mark=con-dua passthrough=yes per-connection-classifier=both-addresses-and-ports:7/1ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local new-connection-mark=con-tiga passthrough=yes per-connection-classifier=both-addresses-and-ports:7/2ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local new-connection-mark=con-empatpassthrough=yes per-connection-classifier=both-addresses-and-ports:7/3

    ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local new-connection-mark=con-lima passthrough=yes per-connection-classifier=both-addresses-and-ports:7/4ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local new-connection-mark=con-enam passthrough=yes per-connection-classifier=both-addresses-and-ports:7/5ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local new-connection-mark=con-tujuhpassthrough=yes per-connection-classifier=both-addresses-and-ports:7/6

  • 7/24/2019 Load Balance Contoh 7LIne

    2/2

    ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=con-satu disabled=yes in-interface=Local new-routing-mark=route-satu passthrough=yesip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=con-dua disabled=yes in-interface=Local new-routing-mark=route-dua passthrough=yesip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=con-tiga disabled=yes in-interface=Local new-routing-mark=route-tiga passthrough=yesip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=con-empat disabled=yes in-interface=Local new-routing-mark=route-empat passthrough=yesip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=con-lima disabled=yes in-interface=Local new-routing-mark=route-lima passthrough=yesip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=con-enam disabled=yes in-interface=Local new-routing-mark=route-enam passthrough=yesip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=con-tujuh disabled=yes in-interface=Local new-routing-mark=route-tujuh passthrough=yes

    ip route add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=route-satuip route add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=route-duaip route add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=route-tigaip route add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=route-empatip route add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out5 routing-mark=route-limaip route add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out6 routing-mark=route-enamip route add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=Link-07 routi

    ng-mark=route-tujuhip route add comment="" disabled=yes distance=7 dst-address=0.0.0.0/0 gateway=pppoe-out1ip route add comment="" disabled=yes distance=5 dst-address=0.0.0.0/0 gateway=pppoe-out2ip route add comment="" disabled=yes distance=3 dst-address=0.0.0.0/0 gateway=pppoe-out3ip route add comment="" disabled=yes distance=2 dst-address=0.0.0.0/0 gateway=pppoe-out4ip route add comment="" disabled=yes distance=4 dst-address=0.0.0.0/0 gateway=pppoe-out5ip route add comment="" disabled=yes distance=6 dst-address=0.0.0.0/0 gateway=pppoe-out6

    ip route add comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=Link-07