蓝色动力网络

 找回密码
 立即注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 2493|回复: 0

RouterOS Jump 双电信负载脚本

[复制链接]
发表于 2011-8-14 19:12:51 | 显示全部楼层 |阅读模式
  1. # jul/20/2011 14:01:53 by RouterOS 3.30
  2. # software id = HJB7-N112
  3. #
  4. /ip firewall mangle
  5. add action=jump chain=prerouting comment="" disabled=no jump-target=LoadHost
  6. add action=mark-connection chain=LoadHost comment=Route_01 disabled=no \
  7.     dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
  8.     passthrough=yes per-connection-classifier=both-addresses:5/0
  9. add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
  10.     disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
  11. add action=mark-connection chain=LoadHost comment=Route_02 disabled=no \
  12.     dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
  13.     passthrough=yes per-connection-classifier=both-addresses:5/1
  14. add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
  15.     disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
  16. add action=mark-connection chain=LoadHost comment=Route_03 disabled=no \
  17.     dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
  18.     passthrough=yes per-connection-classifier=both-addresses:5/2
  19. add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
  20.     disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
  21. add action=mark-connection chain=LoadHost comment=Route_04 disabled=no \
  22.     dst-address-type=!local in-interface=LAN new-connection-mark=WAN1_main \
  23.     passthrough=yes per-connection-classifier=both-addresses:5/3
  24. add action=mark-routing chain=prerouting comment="" connection-mark=WAN1_main \
  25.     disabled=no in-interface=LAN new-routing-mark=1st_route passthrough=yes
  26. add action=mark-connection chain=LoadHost comment=Route_05 disabled=no \
  27.     dst-address-type=!local in-interface=LAN new-connection-mark=WAN2_main \
  28.     passthrough=yes per-connection-classifier=both-addresses:5/4
  29. add action=mark-routing chain=prerouting comment="" connection-mark=WAN2_main \
  30.     disabled=no in-interface=LAN new-routing-mark=2st_route passthrough=yes
  31. add action=mark-connection chain=input comment="" disabled=no in-interface=\
  32.     WAN1 new-connection-mark=WAN1_main passthrough=yes
  33. add action=mark-connection chain=input comment="" disabled=no in-interface=\
  34.     WAN2 new-connection-mark=WAN2_main passthrough=yes
  35. add action=mark-routing chain=output comment="" connection-mark=WAN1_main \
  36.     disabled=no new-routing-mark=1st_route passthrough=yes
  37. add action=mark-routing chain=output comment="" connection-mark=WAN2_main \
  38.     disabled=no new-routing-mark=2st_route passthrough=yes
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

蓝色动力网络微信平台
网站管理,业务合作联系邮箱: admin#lansedongli.com    QQ:13412492 限网站业务问题.
网站帐号、密码、密保找回请使用注册邮箱,发送邮件至 password#lansedongli.com ,否则不予受理.
免责声明:本论坛所有文字和图片仅代表其个人观点.
本站某些资料或文章来自于互联网,不代表本站观点,如果侵犯了您的权益,请来信告知,我们会在三天内删除.
为了给大家一个更好的交流场所,请勿在本论坛发表与中华人民共和国法律相抵触的言论,请合作,谢谢!
Copyright © 2007-2019 Corporation Powered by网吧系统 版权所有    转载请注明!
浙ICP备11043737号-1 程序:Discuz! x3.4

湘公网安备 43018102000145号

手机版|Archiver|蓝色动力网络   

快速回复 返回顶部 返回列表