ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: jxdiscuz

[交流] RouteROS软路由终极提速,彻底解决ROS软路由小包(网络游戏数据包)转发性能差的问题 ...

[复制链接]
发表于 2013-1-29 03:43:07 | 显示全部楼层
试用当中 !!!
发表于 2013-1-29 09:10:05 | 显示全部楼层
学习一下。。这方面的资料并不多。楼是转发的?、
 楼主| 发表于 2013-1-20 19:57:33 | 显示全部楼层 |阅读模式

马上注册成为ROSABC会员,随时发帖回复。

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

x
RouteROS软路由终极提速,彻底解决ROS软路由小包(网络游戏数据包)转发性能差的问题
以下只给有ROS软路由基础的人看,2.9.7以上版本支持,2.9.26上调试通过
ROS软路由终端界面直接输入即可
HTB QOS 流量质量控制
/ 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 子类




发表于 2020-4-4 17:09:39 来自手机 | 显示全部楼层
文章在哪里啊
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-5-19 04:30 , Processed in 0.102168 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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