找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5439|回复: 9

[策略设置] 双线长宽负载均衡出现速度极慢情况!

[复制链接]
发表于 2011-5-28 22:21:22 | 显示全部楼层 |阅读模式

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

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

×
最近把自己的两条长宽做了负载均衡,但是出现网页打不开或极慢!

下载根本没什么速度,用的是PCC负载均衡

不知道为什么,难道是长宽的问题?
routeros
发表于 2011-5-28 22:46:59 | 显示全部楼层
你是按什么标记的 是地址 还是源地址和端口  。。。。
routeros
回复

使用道具 举报

发表于 2011-5-28 22:47:13 | 显示全部楼层
把你的规则发出来看下
routeros
回复

使用道具 举报

发表于 2011-5-28 23:06:11 | 显示全部楼层
规测发出来看看。
routeros
回复

使用道具 举报

 楼主| 发表于 2011-5-28 23:20:00 | 显示全部楼层
本帖最后由 星空之云 于 2011-5-28 23:20 编辑

add action=mark-routing chain=prerouting comment="" disabled=no new-routing-mark=1rou passthrough=no protocol=tcp src-address=\
    192.168.0.0/16 src-port=443

add action=mark-connection chain=prerouting comment=NTH-1 connection-state=new disabled=no new-connection-mark=1con nth=2,1 \
    passthrough=yes src-address=192.168.0.0/16
add action=mark-routing chain=prerouting comment="" connection-mark=1con disabled=no new-routing-mark=1rou passthrough=no \
    src-address=192.168.0.0/16
add action=mark-connection chain=prerouting comment=NTH-2 connection-state=new disabled=no new-connection-mark=2con nth=2,2 \
    passthrough=yes src-address=192.168.0.0/16
add action=mark-routing chain=prerouting comment="" connection-mark=2con disabled=no new-routing-mark=2rou passthrough=no \
    src-address=192.168.0.0/16


routeros
回复

使用道具 举报

 楼主| 发表于 2011-5-28 23:37:28 | 显示全部楼层
做法是正确的!PCC和NTH我都尝试过!
routeros
回复

使用道具 举报

发表于 2011-5-29 02:49:52 | 显示全部楼层
哪里的长宽??
routeros
回复

使用道具 举报

发表于 2011-5-29 03:12:09 | 显示全部楼层
你这只是NTH 那里看出来是PCC了?
routeros
回复

使用道具 举报

发表于 2011-5-29 09:42:39 | 显示全部楼层
额这里也是用的2条长宽,pcc负载均衡正常,记得nth标记应该是nth=2,0,nth=2,1吧
routeros
回复

使用道具 举报

发表于 2011-5-29 20:33:39 | 显示全部楼层
你的 nth 数值取的不对吧 2:1 剩下的 不用取   你取值2:2 这个不对
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-16 00:54 , Processed in 0.059100 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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