Re: question about tbrsize
Jarek Poplawski <[email protected]> Tue, 01 Mar 2011 22:13:43 +0100
| Newsgroups | gmane.os.openbsd.pf |
|---|---|
| Message-ID | <[email protected]> |
RLW wrote:
...
> ok and what about first part of my post, about setting tbrsize in pf.conf?
>
> altq on em0 cbq bandwidth 1Gb tbrsize 4K queue { q_lan }
> queue q_lan bandwidth 950Mb cbq (default)
>
> i got error:
> root@router-test (/root)# pfctl -f /etc/pf.conf
> /etc/pf.conf:9: syntax error
> /etc/pf.conf:10: queue q_lan has no parent
> /etc/pf.conf:10: errors in queue definition
> pfctl: Syntax error in config file: pf rules not loaded
>
> without tbrsize altq definition is ok.
A bit late but just for the record - should work like this:
altq on em0 cbq bandwidth 1Gb tbrsize 4000 queue { q_lan }
queue q_lan bandwidth 950Mb cbq (default)
Jarek P.