bandwidth controlling with ALTQ
Volker
volker at vwsoft.com
Fri May 18 13:02:15 UTC 2007
Umar,
On 05/18/07 14:35, Umar wrote:
> Dear Volker!
>
> Sorry for disturbing you again!!
>
> pfctl: should have one default queue on fxp0
> pfctl: errors in altq config
>
> please help me to create default queue what will be the syntax thanks
that's why I was writing 'Note: You also have to define one default
queue "hfsc ( default )".'
queue qdefault bandwidth (any Kb not used by any other queue) [Kb|%]
hfsc ( default rio )
Say, your b/w is 1 Mb (upstream), you've assigned 10 Kb queues to 20
clients (=200 Kb), you may specify the default queue as:
altq... { qclient1, qclient2, ..., qdefault }
queue qdefault bandwidth 740 Kb hfsc ( default rio )
You may also want to use the keyword "borrow" (for every queue). If
it's low traffic on your upstream, queues allowed to borrow will get
more b/w when needed.
You may also want to take a look at pf.conf(5). There's a good example
on queuing.
HTH
Volker
More information about the freebsd-pf
mailing list