负载均衡参数请教
以下两种都是负载均衡的策略,为啥有点不一样呢。 有的路由走向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
bobwalker 发表于 2011-12-6 19:26 static/image/common/back.gif
如果mangle规则列表里只有这4条规则的话,效果应该是相同的。
我一般使用mikrotik推荐的第二种方法,因为 ...
第二种有加yes的,yes代表继续匹配执行数据!
你说的是可以在里面加数据标记吗,例如所谓的QOS的!
页:
[1]