Date: Fri, 18 May 2007 13:17:12 -0700 (PDT) From: Umar <unix.co@gmail.com> To: freebsd-pf@freebsd.org Subject: Re: bandwidth controlling with ALTQ Message-ID: <10689606.post@talk.nabble.com> In-Reply-To: <464DA3B5.9050606@vwsoft.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> <464DA3B5.9050606@vwsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Volker! Thanks its working fine. (pass in quick log on $int_if proto tcp from 192.168.3.30 to any flags S/SA keep state queue client1) what will be the syntax if 192.168.3.30 comes through ppp means I have configured PPPoE server so i dont know the interface of 192.168.3.30 because the tun interface randomly changed e.g (tun1, tun2, tun3, tun4) etc. Regards, Umar Draz Volker wrote: > > 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 > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/bandwidth-controlling-with-ALTQ-tf3776301.html#a10689606 Sent from the freebsd-pf mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10689606.post>