Date: Fri, 18 May 2007 03:05:02 -0700 (PDT) From: Umar <unix.co@gmail.com> To: freebsd-pf@freebsd.org Subject: Re: bandwidth controlling with ALTQ Message-ID: <10679395.post@talk.nabble.com> In-Reply-To: <464D70D0.3000608@vwsoft.com> References: <10678120.post@talk.nabble.com> <464D70D0.3000608@vwsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Volker Thanks for your reply! I have 1mb up and 1mb down DSL and i have total 20 client at this time. >> if you want to limit per IP address, you need to create one queue for >> every IP address in your internal network. Please tell me how i create the queue i will manage 20 queues by hand. But i don't know the exact syntax in PF-ALTQ Regards, Umar Draz Volker wrote: > > On 05/18/07 10:12, Umar wrote: >> Dear Members! >> >> I am running cable internet and I have 1Mb DSL link now I want to >> restrict >> my user's bandwidth. e.g I want to restrict per IP bandwidth 10KB >> (donwload >> and upload) so please help me how i can mange in PF-ALTQ. >> >> my pf.conf >> >> int_inf = emo >> ext_inf = fxp0 >> >> local_net = 192.168.1.0/24 > > Umar, > > if you want to limit per IP address, you need to create one queue for > every IP address in your internal network. The bandwidth sum of all > queues must not exceed the bandwidth of the root queue. If your > upstream has a b/w of 256 kBit/s (if it's asymmetric) you can only > create 25 queues with 10 kBit/s. > > You may consider doing it different, as creating one queue for every > internal IP address is a nightmare for administration. > > I'm using hfsc scheduler for the internal network, so every IP should > be served fair and a limited cbq queue for them on the external > interface and reach good results with that. If b/w is limited as other > traffic passes, these stations get their traffic through limited. > > 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#a10679395 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?10679395.post>