找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3732|回复: 1

[限速] 有关限速问题

[复制链接]
发表于 2007-6-13 11:45:19 | 显示全部楼层 |阅读模式

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

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

×
大家好,我是ros新手,老纯了,关于ROS限速我想请教一下,如果网吧是10M的带宽,有100台机器,那么在ROS里面

应该把限速设成多少呢?怎么算出来这个限速多少的值?(这个例子是瞎编的,只求算法)

谢谢大哥们~~~~~~~~~~~~~~~~`
routeros
发表于 2007-6-14 03:36:28 | 显示全部楼层
# may/07/2007 02:39:03 by RouterOS 2.9.27
# software id = IB6V-21N
#
/ system script
add name="1300kbps" source=":for aaa from 0 to 200 do={/queue simple add \
    name=\(pc . \$aaa\) dst-address=\(192.168.0. . \$aaa\) burst-time=5/5 \
    burst-threshold=800000/800000 max-limit=1300000/1300000 \
    burst-limit=1500000/1500000}
\n" \
    policy=ftp,reboot,read,write,policy,test,winbox,password
add name="290k" source=":for aaa from 0 to 200 do={/queue simple add name=\(pc \
    . \$aaa\) dst-address=\(192.168.0. . \$aaa\) burst-time=15/15 \
    burst-threshold=200000/180000 max-limit=290000/240000 \
    burst-limit=310000/260000}
\n" \
    policy=ftp,reboot,read,write,policy,test,winbox,password
add name="350k" source=":for aaa from 0 to 200 do={/queue simple add name=\(pc \
    . \$aaa\) dst-address=\(192.168.0. . \$aaa\) burst-time=15/15 \
    burst-threshold=240000/200000 max-limit=350000/250000 \
    burst-limit=380000/280000}" \
    policy=ftp,reboot,read,write,policy,test,winbox,password
add name="400k" source=":for aaa from 0 to 200 do={/queue simple add name=\(pc \
    . \$aaa\) dst-address=\(192.168.0. . \$aaa\) burst-time=15/15 \
    burst-threshold=300000/210000 max-limit=400000/256000 \
    burst-limit=520000/260000}" \
    policy=ftp,reboot,read,write,policy,test,winbox,password
add name="800k" source=":for aaa from 0 to 200 do={/queue simple add name=\(pc \
    . \$aaa\) dst-address=\(192.168.0. . \$aaa\) burst-time=15/15 \
    burst-threshold=400000/300000 max-limit=800000/330000 \
    burst-limit=810000/440000}" \
    policy=ftp,reboot,read,write,policy,test,winbox,password
add name="260k" source=":for aaa from 0 to 200 do={/queue simple add name=\(pc \
    . \$aaa\) dst-address=\(192.168.0. . \$aaa\) burst-time=15/15 \
    burst-threshold=200000/180000 max-limit=260000/230000 \
    burst-limit=310000/240000}
\n" \
    policy=ftp,reboot,read,write,policy,test,winbox,password
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-17 00:21 , Processed in 0.093056 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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