[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-pf
Subject:    Re: question about tbrsize
From:       Jarek Poplawski <jarkao2 () gmail ! com>
Date:       2011-03-01 21:13:43
Message-ID: 4D6D6187.9080504 () gmail ! com
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic