找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4213|回复: 6

[负载平衡] 3 ADSL负载均衡做好了,测试结果~~~~

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

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

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

×
本帖最后由 crc8 于 2011-3-15 10:19 编辑

3条6M的ADSL,18M吧,两个问题:
1.刚用优蛋下载时显示1.3MB/s,大概持续十几秒后,便降为几百KB/s。不再有1.3MB/s这种速度,目前仅是用一台客户端测试;

2.三条ADSL,断掉其中任意一条或两条,剩下的ADSL好像不能在几秒内接续工作,要等较长一段时间(5.6分钟至10分钟)。


请问如何解决呢?

adsl5.JPG
adsl3.JPG
routeros
发表于 2011-3-15 12:31:34 | 显示全部楼层
脚本没设置好吧。
routeros
回复

使用道具 举报

发表于 2011-3-15 13:02:39 | 显示全部楼层
学习了
routeros
回复

使用道具 举报

发表于 2011-3-15 13:48:02 | 显示全部楼层
负载设置得不够好
routeros
回复

使用道具 举报

 楼主| 发表于 2011-3-15 14:57:05 | 显示全部楼层
本帖最后由 crc8 于 2011-3-15 15:32 编辑

谢谢,我用的是脚本生成器。可否具体指出哪里不够好呢?我贴个脚本:
  1. /ip address add address=192.168.100.1/255.255.255.0 interface=LAN comment=lan
  2. /ip dns set primary-dns=202.96.134.133 secondary-dns=202.96.128.68 allow-remote-requests=yes
  3. /ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
  4. /interface pppoe-client add name="pppoe-out1" interface=ADSL1 user="31561@163.gd" password="23456" add-default-route=no disabled=no
  5. /interface pppoe-client enable pppoe-out1
  6. /ip address add address=58.58.58.1/32 interface=pppoe-out1 comment="1"
  7. /ip route add gateway=58.58.58.1 routing-mark=1 comment="1"
  8. /ip firewall mangle add chain=prerouting in-interface=LAN connection-state=new nth=2,1,0 action=mark-connection new-connection-mark=1 passthrough=yes disabled=no
  9. /ip firewall mangle add chain=prerouting in-interface=LAN connection-mark=1 action=mark-routing new-routing-mark=1 passthrough=no disabled=no
  10. /ip firewall nat add chain=srcnat connection-mark=1 action=src-nat to-addresses=58.58.58.1 to-ports=0-65535 comment="1" disabled=no
  11. /interface pppoe-client add name="pppoe-out2" interface=ADSL2 user="30629@163.gd" password="23456" add-default-route=no disabled=no
  12. /interface pppoe-client enable pppoe-out2
  13. /ip address add address=58.58.58.2/32 interface=pppoe-out2 comment="2"
  14. /ip route add gateway=58.58.58.2 routing-mark=2 comment="2"
  15. /ip firewall mangle add chain=prerouting in-interface=LAN connection-state=new nth=2,1,1 action=mark-connection new-connection-mark=2 passthrough=yes disabled=no
  16. /ip firewall mangle add chain=prerouting in-interface=LAN connection-mark=2 action=mark-routing new-routing-mark=2 passthrough=no disabled=no
  17. /ip firewall nat add chain=srcnat connection-mark=2 action=src-nat to-addresses=58.58.58.2 to-ports=0-65535 comment="2" disabled=no
  18. /interface pppoe-client add name="pppoe-out3" interface=ADSL3 user="36023@163.gd" password="23456" add-default-route=no disabled=no
  19. /interface pppoe-client enable pppoe-out3
  20. /ip address add address=58.58.58.3/32 interface=pppoe-out3 comment="3"
  21. /ip route add gateway=58.58.58.3 routing-mark=3 comment="3"
  22. /ip firewall mangle add chain=prerouting in-interface=LAN connection-state=new nth=2,1,2 action=mark-connection new-connection-mark=3 passthrough=yes disabled=no
  23. /ip firewall mangle add chain=prerouting in-interface=LAN connection-mark=3 action=mark-routing new-routing-mark=3 passthrough=no disabled=no
  24. /ip firewall nat add chain=srcnat connection-mark=3 action=src-nat to-addresses=58.58.58.3 to-ports=0-65535 comment="3" disabled=no
复制代码
routeros
回复

使用道具 举报

发表于 2011-4-1 16:10:02 | 显示全部楼层
脚本生成器生成的不是很好的!
routeros
回复

使用道具 举报

发表于 2011-4-5 10:39:45 | 显示全部楼层
我觉得还是自已做好,亲身体验
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-18 20:16 , Processed in 0.170979 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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