RouterOS Jump 双电信负载脚本
# jul/20/2011 14:01:53 by RouterOS 3.30# software id = HJB7-N112
#
/ip firewall mangle
add action=jump chain=prerouting comment="" disabled=no jump-target=LoadHost
add action=mark-connection chain=LoadHost comment=Route_01 disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
passthrough=yes per-connection-classifier=both-addresses:5/0
add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
add action=mark-connection chain=LoadHost comment=Route_02 disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
passthrough=yes per-connection-classifier=both-addresses:5/1
add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
add action=mark-connection chain=LoadHost comment=Route_03 disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
passthrough=yes per-connection-classifier=both-addresses:5/2
add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
add action=mark-connection chain=LoadHost comment=Route_04 disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
passthrough=yes per-connection-classifier=both-addresses:5/3
add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
add action=mark-connection chain=LoadHost comment=Route_05 disabled=no \
dst-address-type=!local in-interface=LAN new-connection-mark=WAN2_main \
passthrough=yes per-connection-classifier=both-addresses:5/4
add action=mark-routing chain=prerouting comment="" connection-mark=WAN2_main \
disabled=no in-interface=LAN new-routing-mark=2st_route passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=\
WAN1 new-connection-mark=WAN1_main passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=\
WAN2 new-connection-mark=WAN2_main passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=WAN1_main \
disabled=no new-routing-mark=1st_route passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=WAN2_main \
disabled=no new-routing-mark=2st_route passthrough=yes
页:
[1]