找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4959|回复: 9

[其它] 转帖(RouterOS终极提速,彻底解决ROS小包)

[复制链接]
发表于 2006-9-19 21:48:02 | 显示全部楼层 |阅读模式

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

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

×
/ ip firewall mangle
add chain=forward p2p=all-p2p action=mark-connection \
    new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no
add chain=forward connection-mark=p2p_conn action=mark-packet \
    new-packet-mark=p2p passthrough=yes comment="" disabled=no
add chain=forward connection-mark=!p2p_conn action=mark-packet \
    new-packet-mark=general passthrough=yes comment="" disabled=no
add chain=forward packet-size=32-512 action=mark-packet new-packet-mark=small \
    passthrough=yes comment="" disabled=no
add chain=forward packet-size=512-1200 action=mark-packet new-packet-mark=big \
    passthrough=yes comment="" disabled=no

/ queue tree
add name="p2p1" parent=TEL packet-mark=p2p limit-at=2000000 queue=default \
    priority=8 max-limit=6000000 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="p2p2" parent=LAN packet-mark=p2p limit-at=2000000 queue=default \
    priority=8 max-limit=6000000 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="ClassA" parent=LAN packet-mark="" limit-at=0 queue=default priority=8 \
    max-limit=100000000 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="ClassB" parent=ClassA packet-mark="" limit-at=0 queue=default \
    priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="Leaf1" parent=ClassA packet-mark=general limit-at=0 queue=default \
    priority=7 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="Leaf2" parent=ClassB packet-mark=small limit-at=0 queue=default \
    priority=5 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="Leaf3" parent=ClassB packet-mark=big limit-at=0 queue=default \
    priority=6 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no

1-8级优先级控制,数字越小优先级越高

LAN内网接口
TEL 外网接口
SMALL 小包 32-512字节  5级优先级
BIG 大包  512-1200字节   6级优先级
general 其它包 1200-1500字节  7级优先级
P2P类   8级优先,全局限速 600KB/S下载
Leaf 子类

这个帖子是在百度搜索出来的,不知道有不有问题,大家帮看看
routeros
发表于 2006-9-20 00:37:03 | 显示全部楼层
原帖由 linux-110 于 2006-9-19 21:48 发表
/ ip firewall mangle
add chain=forward p2p=all-p2p action=mark-connection \
    new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no
add chain=forward connection-mark= ...


晕,这不就是我写的么,转来转去转回来了
routeros
回复

使用道具 举报

发表于 2006-9-20 10:30:58 | 显示全部楼层
.......................................
routeros
回复

使用道具 举报

发表于 2006-9-22 04:10:45 | 显示全部楼层
%¥#%¥*—……%*—……)(*—)——
routeros
回复

使用道具 举报

发表于 2007-1-27 00:19:41 | 显示全部楼层
做个记号可能有用
routeros
回复

使用道具 举报

发表于 2007-2-2 19:35:47 | 显示全部楼层

记号

routeros
回复

使用道具 举报

lawman 该用户已被删除
发表于 2007-2-2 19:40:21 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
routeros
回复

使用道具 举报

发表于 2008-6-18 15:17:54 | 显示全部楼层
:lol :lol
routeros
回复

使用道具 举报

发表于 2010-1-31 17:11:50 | 显示全部楼层
只用这个会产生作用吗???????

好像没作用吧?!!!

有没有真正的高手出来解释解释?!
routeros
回复

使用道具 举报

发表于 2010-1-31 20:32:54 | 显示全部楼层
不是没作用

是作用不明显
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-29 11:27 , Processed in 0.138372 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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