Try defining q_pri with a bandwidth, you might even be able to set it as:

queue q_pri bandwidth 0% priority 7 cbq(borrow)

This way it wouldnt reserve any bandwidth but it shouldnt cause issues
with the bandwidth math either. If you get that working, please let me
know.



On 1/17/07, sonjaya <[EMAIL PROTECTED]> wrote:
Dear All
here my altq+pf
##-----------queue+alq---------------------------------------###
altq on $ext_if cbq bandwidth 100Kb queue{q_std}
 queue q_std bandwidth 100% cbq \
  {q_def,q_pri,q_web,q_msc,q_dat,q_gms}
 queue q_def bandwidth 25% priority 1 cbq(borrow default red ecn)
 queue q_dat bandwidth 10% priority 0 cbq(red)
 queue q_web bandwidth 25% priority 5 cbq(borrow)
 queue q_msc bandwidth 15% priority 4 cbq(borrow)
 queue q_gms bandwidth 25% priority 6 cbq(borrow)
 queue q_pri priority 7

when i try to use it always get error :
demorate# pfctl -f /etc/pf.conf
pfctl: the sum of the child bandwidth higher than parent "q_std"
demorate#

when i try use this :
 #queue q_pri priority 7
is working .
-sonjaya-
http://sicute.blogspot.com




--
-Lawrence
-Student ID 1028219
-CCNA

Reply via email to