pf + altq + cbq(borrow) not borrowing from parent...

Pojken Purken pp at pp.dyndns.biz
Wed Mar 18 13:49:27 PDT 2009


Peter wrote:
> iH,
>    Can't figure this out - seems as if others are having the same issue
> searching online:
> The queues will not borrow from parent.
> 
> pf.conf [cut and snipped]
> 
> altq on fxp0 cbq bandwidth 100Mb qlimit 500 queue {intranet, extranet}
>         queue extranet bandwidth 876Kb { poshta,abakan,usrx11,imvas }
>                 queue poshta bandwidth 34% priority 7 cbq(borrow)
>                 queue abakan bandwidth 22% priority 2 cbq(borrow)
>                 queue usrx11 bandwidth 22% priority 1 cbq(borrow)
>                 queue imvas  bandwidth 22% priority 1 cbq(borrow)
>         queue intranet bandwidth 90Mb cbq(default)
> 

You need to add "borrow" to your default queue. That's where the spare
bandwidth is, not the root queue. As it is defined now, your child
queues below extranet can only borrow bandwidth from each other. If you
add borrow to your default queue, extranet can borrow from intranet and
share that to its child queues.
/Morgan


More information about the freebsd-pf mailing list