|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
本帖最后由 nbmq 于 2013-4-2 21:50 编辑
我用的是3.3版本,使用Simple queues限制每个IP速度为4M,单外线,总带宽是完全够用的.在网上下了小包优先的脚本,用IE单线程下载占完4M带宽的情况下玩游戏还可以,但如果用迅雷下载的话玩游戏就非常卡了,请大家看看我用的小包优先还有什么需要改进的地方没.先谢谢大家了.
/ip firewall mangle
add action=mark-connection chain=forward comment="" disabled=no new-connection-mark=p2p_conn p2p=all-p2p passthrough=yes
add action=mark-packet chain=forward comment="" connection-mark=p2p_conn disabled=no new-packet-mark=p2p passthrough=yes
add action=mark-packet chain=forward comment="" connection-mark=!p2p_conn disabled=no new-packet-mark=general passthrough=yes
add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=small packet-size=0-512 passthrough=yes
add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=big packet-size=513-1200 passthrough=yes
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=100M name=ClassA parent=LAN priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=ClassB parent=ClassA priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=15M max-limit=20M name=p2p1 packet-mark=p2p parent=WAN priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=15M max-limit=20M name=p2p2 packet-mark=p2p parent=LAN priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Leaf1 packet-mark=general parent=ClassA priority=7 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Leaf2 packet-mark=small parent=ClassB priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Leaf3 packet-mark=big parent=ClassB priority=6 queue=default
|
|