bandwidth controlling with ALTQ

Umar unix.co at gmail.com
Fri May 18 13:17:13 PDT 2007


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 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#a10689606
Sent from the freebsd-pf mailing list archive at Nabble.com.



More information about the freebsd-pf mailing list