分页: 1 / 1

openbsd 数据包的列队和优先

发表于 : 2014-06-28 9:17
openbsdsir008
internet >>openbsd<<< internal


针对内网的ip进行限速,使用openbsd pf 的数据包列队和优先可以实现吗?


http://gobsd.org/ob/pf/queueing.html
在一个Queue中只能使用一种 调度器,在一个网络接口上面可以使用多个 queue 吗?


http://www.openbsd.org/faq/pf/index.html
openbsd官方faq上为什么找不到列队和优先的相关内容 ?


http://www.jp.openbsd.org/faq/upgrade55.html
pf queue changes PF has a new implementation of packet queueing - the configuration syntax is different to that used by altq. During a transition period, the old mechanism is still available by replacing "queue" keywords in /etc/pf.conf with "oldqueue". If instead you wish to switch to the new implementation, review the documentation in pf.conf(5).



http://www.openbsd.org/cgi-bin/man.cgi? ... &sektion=5

举个例子:
queue name on vlan2 bandwidth 4M
queue testname parent name bandwidth 1M, min 500K, max 2M
queue othername parent name bandwidth 3M default
pass in on vlan2 from 10.0.2.0/24 set queue testname
成功设置这个网段的ip用户 带宽的限制


设置queue的思路 ,应该怎么理解?