为什么ros3.13加限速规则后经常打不开网页,请前辈给看看。
同样的限速规则在2.9.27下用了1年多没问题,怎么用到3.X上就有时候打不开网页,QQ等都上不去了,把限速规则关闭后再重新打开又一切正常了。望前辈给指点下。/ queue type
set default name="default" kind=pfifo pfifo-limit=500
set ethernet-default name="ethernet-default" kind=pfifo pfifo-limit=50
set wireless-default name="wireless-default" kind=sfq sfq-perturb=5 \
sfq-allot=1514
set synchronous-default name="synchronous-default" kind=red red-limit=60 \
red-min-threshold=10 red-max-threshold=50 red-burst=20 red-avg-packet=1000
set hotspot-default name="hotspot-default" kind=sfq sfq-perturb=5 \
sfq-allot=1514
add name="512Kup" kind=pcq pcq-rate=712000 pcq-limit=500 \
pcq-classifier=src-address pcq-total-limit=20000
add name="1Mdown" kind=pcq pcq-rate=1400000 pcq-limit=50 \
pcq-classifier=dst-address pcq-total-limit=20000
add name="2Mdown" kind=pcq pcq-rate=1700000 pcq-limit=50 \
pcq-classifier=dst-address pcq-total-limit=2000
add name="512Kdown" kind=pcq pcq-rate=480000 pcq-limit=50 \
pcq-classifier=dst-address pcq-total-limit=2000
add name="256Kup" kind=pcq pcq-rate=300000 pcq-limit=50 \
pcq-classifier=src-address pcq-total-limit=2000
add name="default-small" kind=pfifo pfifo-limit=10
/ queue simple
add name="2M1" dst-address=10.8.1.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M2" dst-address=10.8.2.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M3" dst-address=10.8.3.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M4" dst-address=10.8.4.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M5" dst-address=10.8.5.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M6" dst-address=10.8.6.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M7" dst-address=10.8.7.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M8" dst-address=10.8.8.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no
add name="2M9" dst-address=10.8.9.0/24 interface=all parent=none \
direction=both priority=8 queue=2Mdown/512Kup limit-at=0/0 max-limit=0/0 \
total-queue=default disabled=no 我用的是3.20版 不过是启用L7协议以后就很慢很慢的 L7协议停止后就没问题期待高手解答 本帖最后由 47771885 于 2009-8-23 12:11 编辑
晕 传说中的 加速 代码啊
看的眼花 。。的确你做错了
你想做的是什么呢 PCQ? 就是限速啊,在2.9.27下用的什么问题也没有啊,怎么换到3.X就动不动打不开网页了,把规则禁用然后再启用后又能正常用一天左右。
页:
[1]