找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4833|回复: 1

[策略设置] 负载均衡参数请教

[复制链接]
发表于 2011-12-6 11:19:45 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
以下两种都是负载均衡的策略,为啥有点不一样呢。 有的路由走向passthrough=yes 有的是 =no,不知道两种有什么不同呢,各有什么作用呢?

add action=mark-connection chain=prerouting comment=PCC-1 disabled=no in-interface=LAN new-connection-mark=1 passthrough=yes \
    per-connection-classifier=both-addresses:2/0
add action=mark-routing chain=prerouting comment="" connection-mark=1 disabled=no dst-address-type=!local in-interface=LAN \
    new-routing-mark=1-route passthrough=no
add action=mark-connection chain=prerouting comment=PCC-2 disabled=no in-interface=LAN new-connection-mark=2 passthrough=yes \
    per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting comment="" connection-mark=2 disabled=no dst-address-type=!local in-interface=LAN \
    new-routing-mark=2-route passthrough=no



add action=mark-connection chain=prerouting comment=PCC-1 disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=1 \
    passthrough=yes per-connection-classifier=both-addresses:2/0
add action=mark-routing chain=prerouting comment="" connection-mark=1 disabled=no in-interface=LAN new-routing-mark=1-route passthrough=\
    yes
add action=mark-connection chain=prerouting comment=PCC-2 disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=2 \
    passthrough=yes per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting comment="" connection-mark=2 disabled=no in-interface=LAN new-routing-mark=2-route passthrough=\
    yes
routeros
 楼主| 发表于 2011-12-6 19:51:39 | 显示全部楼层

第二种有加yes的,yes代表继续匹配执行数据!

你说的是可以在里面加数据标记吗,例如所谓的QOS的!
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-15 14:49 , Processed in 0.047896 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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