bandwidth controlling with ALTQ

Umar unix.co at gmail.com
Fri May 18 10:05:04 UTC 2007


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at 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.



More information about the freebsd-pf mailing list