找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3132|回复: 6

[其它] 有没有办法让被映射的端口也负载均衡

[复制链接]
发表于 2009-12-13 15:52:27 | 显示全部楼层 |阅读模式

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

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

×
多线ADSL的负载均衡我做好了,端口映射也做好了,但发现被映射端口的数据只走一条线路,有没有办法让被映射的端口的数据同时走多条线路?是不是要在mangle里添加规则啊,但具体我不知道怎么添加,还请大家帮帮忙,谢谢先!
routeros
发表于 2009-12-13 19:24:32 | 显示全部楼层
想法不错,不过得结合域名来实现
routeros
回复

使用道具 举报

 楼主| 发表于 2009-12-14 13:04:22 | 显示全部楼层
有人只告诉我在mangle添加规则,但我不知道怎么添加,我是这样写的
/ip firewall mangle add chain=postrouting out-interface=LAN connection-state=new nth=1,1,0 action=mark-connection new-connection-mark=1 passthrough=yes disabled=no

/ip firewall mangle add chain=postrouting out-interface=LAN connection-mark=1 action=mark-routing new-routing-mark=1 passthrough=no disabled=no


/ip firewall mangle add chain=postrouting out-interface=LAN connection-state=new nth=1,1,1 action=mark-connection new-connection-mark=2 passthrough=yes disabled=no

/ip firewall mangle add chain=postrouting out-interface=LAN connection-mark=2 action=mark-routing new-routing-mark=2 passthrough=no disabled=no
但还是不行啊
routeros
回复

使用道具 举报

发表于 2009-12-15 02:59:56 | 显示全部楼层
这个也要射
routeros
回复

使用道具 举报

发表于 2009-12-15 20:41:43 | 显示全部楼层


没有在你的脚本里看到你的端口数值是多少?
你忘记写了吧?

不过不知道可不可行。
routeros
回复

使用道具 举报

发表于 2009-12-15 23:55:25 | 显示全部楼层
映射时,不填网卡。只试了电驴的HIGH ID映射。其他没试。
routeros
回复

使用道具 举报

 楼主| 发表于 2009-12-16 19:02:39 | 显示全部楼层
映射时,不填网卡。只试了电驴的HIGH ID映射。其他没试。
toskyline 发表于 2009-12-15 23:55



    被映射的端口可以负载均衡吗?
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-1 09:33 , Processed in 0.052396 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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