FBB Load Balancing

/ip firewall mangle
add action=mark-connection chain=prerouting comment=NTH connection-state=new \
disabled=no in-interface=ether4-lokal new-connection-mark=NTH1 nth=3,1 \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=NTH1 disabled=no \
in-interface=ether4-lokal new-routing-mark=route1 passthrough=no
add action=mark-packet chain=postrouting connection-mark=NTH1 disabled=no \
new-packet-mark=LB passthrough=no
add action=mark-connection chain=prerouting comment=NTH2 connection-state=new \
disabled=no in-interface=ether4-lokal new-connection-mark=NTH2 nth=3,1 \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=NTH2 disabled=no \
in-interface=ether4-lokal new-routing-mark=route2 passthrough=no
add action=mark-packet chain=postrouting connection-mark=NTH2 disabled=no \
new-packet-mark=LB passthrough=no
add action=mark-connection chain=prerouting comment=NTH3 connection-state=new \
disabled=no in-interface=ether4-lokal new-connection-mark=NTH3 nth=3,1 \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=NTH3 disabled=no \
in-interface=ether4-lokal new-routing-mark=route3 passthrough=no
add action=mark-packet chain=postrouting connection-mark=NTH3 disabled=no \
new-packet-mark=LB passthrough=no
add action=mark-connection chain=forward comment=”basik salak conn” disabled=\
yes new-connection-mark=basik_salak_conn passthrough=yes \
src-address-list=basic_salak
add action=mark-packet chain=forward connection-mark=basik_salak_conn \
disabled=yes new-packet-mark=”basik salak” passthrough=no
add action=mark-connection chain=prerouting comment=”PING KEREN” disabled=yes \
new-connection-mark=icmp-con passthrough=yes protocol=icmp
add action=mark-packet chain=prerouting connection-mark=icmp-con disabled=yes \
new-packet-mark=icmp-pkt passthrough=no protocol=icmp
/ip route
add disabled=no distance=3 dst-address=0.0.0.0/0 gateway=pppoe-out3 \
routing-mark=route1 scope=30 target-scope=10
add disabled=no distance=3 dst-address=0.0.0.0/0 gateway=pppoe-out5 \
routing-mark=route2 scope=30 target-scope=10
add disabled=no distance=3 dst-address=0.0.0.0/0 gateway=pppoe-out6 \
routing-mark=route3 scope=30 target-scope=10
add disabled=no distance=3 dst-address=0.0.0.0/0 gateway=pppoe-out6 \
routing-mark=game.route scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out6,pppoe-out3,pppoe-out5 scope=30 target-scope=10

Tidak ada komentar:

Posting Komentar