Article View: bit.listserv.openbsd-pf
Article #66Re: question about tbrsize
From: Jarek Poplawski
Date: Tue, 01 Mar 2011 22:44
Date: Tue, 01 Mar 2011 22:44
22 lines
1542 bytes
1542 bytes
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.
Technical Details
Message-ID:
<4D6D6187.9080504@gmail.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrnReferences:
<4D53C7BE.7070008@o2.pl> <20110210162747.GT16870@symphytum.spacehopper.org> <4D558218.7060306@o2.pl>Show Full Headers
Complete Article Headers
X-Google-Thread: ff4ef,dcfee21d64d2f845 X-Google-NewGroupId: yes X-Google-Attributes: gidbffa70e3,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn From: jarkao2@gmail.com (Jarek Poplawski) Newsgroups: bit.listserv.openbsd-pf Subject: Re: question about tbrsize Date: 1 Mar 2011 14:44:22 -0800 Organization: None Lines: 22 Message-ID: <4D6D6187.9080504@gmail.com> References: <4D53C7BE.7070008@o2.pl> <20110210162747.GT16870@symphytum.spacehopper.org> <4D558218.7060306@o2.pl> NNTP-Posting-Host: ami.dom.local Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 1 Mar 2011 22:44:23 GMT