找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 7039|回复: 0

[负载平衡] ros2927 nth求助

[复制链接]
发表于 2010-5-28 18:27:40 | 显示全部楼层 |阅读模式

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

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

×
在做nth的时候,怎么做都只有一条线有流量.麻烦高人看下:


mangle脚本如下:
0   chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,0
     src-address-list=Client dst-address-list=!Server1 action=mark-connection
     new-connection-mark=nth_1 passthrough=yes

1   chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,1
     src-address-list=Client dst-address-list=!Server1 action=mark-connection
     new-connection-mark=nth_2 passthrough=yes

2   chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,2
     src-address-list=Client dst-address-list=!Server1 action=mark-connection
     new-connection-mark=nth_3 passthrough=yes

3   chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,3
     src-address-list=Client dst-address-list=!Server1 action=mark-connection
     new-connection-mark=nth_4 passthrough=yes

4   chain=prerouting protocol=tcp dst-port=80 connection-state=new nth=4,5,4
     src-address-list=Client dst-address-list=!Server1 action=mark-connection
     new-connection-mark=nth_5 passthrough=yes

5   chain=prerouting connection-mark=nth_1 action=mark-routing
     new-routing-mark=pppoe1 passthrough=no

6   chain=prerouting connection-mark=nth_2 action=mark-routing
     new-routing-mark=pppoe2 passthrough=no

7   chain=prerouting connection-mark=nth_3 action=mark-routing
     new-routing-mark=pppoe3 passthrough=no

8   chain=prerouting connection-mark=nth_4 action=mark-routing
     new-routing-mark=pppoe4 passthrough=no

9   chain=prerouting connection-mark=nth_5 action=mark-routing
     new-routing-mark=pppoe5 passthrough=no
1.jpg
routeros
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 06:35 , Processed in 0.064347 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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