2M 光纤 10人用 pcq+connection-rate限速,用了一年多,没人抱怨,免铜板了!!!
本帖最后由 vrai 于 2011-6-29 16:54 编辑可能是大家的要求不高,所以没什么抱怨,至少两三个人疯狂下载,其他人还是可以比较顺畅的qq 开网页
线路极限:下载2.2Mb 上传在800k左右,情况不同 个别数值,自己微调吧,此外,防火墙上限制每ip tcp 80个连接数
最近这段时间,看到铜板没什么增长,唉,大家都不容易啊!!!
x.x.x.x/16 改成自己的实际情况 具体的数值,请根据个人网络速度,自己微调
/ip firewall mangle
add action=mark-connection chain=forward comment="" connection-mark=\
!heavy_traffic_conn disabled=no new-connection-mark=all_conn \
passthrough=yes
add action=mark-connection chain=forward comment="" connection-bytes=\
500000-0 connection-mark=all_conn connection-rate=150k-100M disabled=\
no new-connection-mark=heavy_traffic_conn passthrough=yes protocol=\
tcp
add action=mark-connection chain=forward comment="" connection-bytes=\
500000-0 connection-mark=all_conn connection-rate=150k-100M disabled=\
no new-connection-mark=heavy_traffic_conn passthrough=yes protocol=\
udp
add action=mark-packet chain=forward comment="" connection-mark=\
heavy_traffic_conn disabled=no new-packet-mark=up_heavy_traffic \
passthrough=no src-address=x.x.x.x/16
add action=mark-packet chain=forward comment="" connection-mark=\
heavy_traffic_conn disabled=no dst-address=x.x.x.x/16 \
new-packet-mark=down_heavy_traffic passthrough=no
add action=mark-packet chain=forward comment="" connection-mark=all_conn \
disabled=no new-packet-mark=up_other_traffic passthrough=no \
src-address=x.x.x.x/16
add action=mark-packet chain=forward comment="" connection-mark=all_conn \
disabled=no dst-address=x.x.x.x/16 new-packet-mark=\
down_other_traffic passthrough=no
/queue type
add kind=pcq name=pcq-up pcq-classifier=src-address pcq-limit=50 \
pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq-down pcq-classifier=dst-address pcq-limit=50 \
pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq-up-heavy pcq-classifier=src-address pcq-limit=50 \
pcq-rate=224000 pcq-total-limit=2000
add kind=pcq name=pcq-down-heavy pcq-classifier=dst-address pcq-limit=50 \
pcq-rate=768000 pcq-total-limit=2000
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
640k max-limit=768k name=upload parent=wan priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
1800k max-limit=2100k name=download parent=global-out priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
420k max-limit=420k name=other_upload packet-mark=up_other_traffic \
parent=upload priority=1 queue=pcq-up
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
220k max-limit=640k name=heavy_upload packet-mark=up_heavy_traffic \
parent=upload priority=8 queue=pcq-up-heavy
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
1200k max-limit=1200k name=other_download packet-mark=\
down_other_traffic parent=download priority=1 queue=pcq-down
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
600k max-limit=1800k name=heavy_download packet-mark=\
down_heavy_traffic parent=download priority=8 queue=pcq-down-heavy
是么,三个人开qvod试试;P :D:D不错 。。。。。。 路过,看看…… 测试一下效果,谢谢楼主. mxso 发表于 2011-6-29 15:16 static/image/common/back.gif
是么,三个人开qvod试试
我这边是4M一条的ADSL。。。不用三个人。。。一个人就可以把一条ADSL充满了。。 baobao87 发表于 2011-6-30 01:35 static/image/common/back.gif
我这边是4M一条的ADSL。。。不用三个人。。。一个人就可以把一条ADSL充满了。。
那是你限速没做好```````````` 经典之作啊!!! :D感谢楼主分享 我还是买了,支持一下你,呵呵 貌似是官方的 回复 macxie 的帖子
很多地方有细微的调整,官方的不能用在nat环境下,我这个是可以的,而且这个脚本对一些细节进行了优化。 这也要钱啊。。明抢啊。 公开了。我就顶一顶 2M10人, 确实不简单