|
发表于 2008-10-16 19:13:57
|
显示全部楼层
原帖由 arica1985e 于 2008-10-16 17:23 发表
一般pppoe用户情况多或者用地址池分配pppoe ip的情况下 我们比较喜欢用pppoe profile里面的limit rate来限速
但是这样限速在simple queue里面只有 limit at 更人性化的最大速度 爆发速度,爆发时间等却没有使用到。 ...
pppoe profile里面的limit rate来限速 同样可以设置 人性化的最大速度 爆发速度,爆发时间等。
看看ros的radius 的type 部分 你就明白了。
Mikrotik-Rate-Limit - Datarate limitation for clients. Format is: rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time] [priority] [rx-rate-min[/tx-rate-min]]]] from the point of view of the router (so "rx" is client upload, and "tx" is client download). All rates should be numbers with optional 'k' (1,000s) or 'M' (1,000,000s). If tx-rate is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and tx-burst-threshold are not specified (but burst-rate is specified), rx-rate and tx-rate is used as burst thresholds. If both rx-burst-time and tx-burst-time are not specified, 1s is used as default. Priority takes values 1..8, where 1 implies the highest priority, but 8 - the lowest. If rx-rate-min and tx-rate-min are not specified rx-rate and tx-rate values are used. The rx-rate-min and tx-rate-min values can not exceed rx-rate and tx-rate values.
[ 本帖最后由 ksw520 于 2008-10-16 19:17 编辑 ] |
|