Date: Fri, 18 May 2007 15:01:41 +0200 From: Volker <volker@vwsoft.com> To: Umar <unix.co@gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: bandwidth controlling with ALTQ Message-ID: <464DA3B5.9050606@vwsoft.com> In-Reply-To: <10681289.post@talk.nabble.com> References: <10678120.post@talk.nabble.com> <464D70D0.3000608@vwsoft.com> <10679395.post@talk.nabble.com> <464D8AE8.30103@vwsoft.com> <10680560.post@talk.nabble.com> <464D9357.6090505@vwsoft.com> <10680832.post@talk.nabble.com> <464D9B78.1010700@vwsoft.com> <10681289.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464DA3B5.9050606>