Re: altq on freebsd 5.2-current

From: Max Laier <max_at_love2party.net>
Date: Tue, 24 Aug 2004 19:07:56 +0200
On Tuesday 24 August 2004 14:30, splinter cell wrote:
>    hello , i have compiled my kernel with this options :
>
>    options ALTQ
>    options ALTQ_CBQ                 # Class Bases Queueing
>    options ALTQ_RED                 # Random Early Drop
>    options ALTQ_RIO                 # RED In/Out
>    options ALTQ_HFSC # Hierarchical Packet Scheduler
>    options ALTQ_CDNR # Traffic conditioner
>    options ALTQ_PRIQ # Prioirity Queueing
>    options ALTQ_NOPCC # Required for SMP build
>
>    but when i run pf with this rules :
>
>    int = "xl0"
>
>    altq on $int cbq bandwidth 1024Kb queue { std }

You are missing a line that gives more information about the queue, e.g.:
 queue std bandwidth 10% cbq(default)
note, that having only one queue is not very useful for the most of 
applications.

>    i have this message : altq not defined on xl0
>    pfctl: Syntax error in config file: pf rules not loaded
>
>    And i have patched the driver if_xl.c and if_vr.c with
>    [1]http://people.freebsd.org/~mlaier/ALTQ_driver/ but i have always

This is no longer necessary for xl(4) and vr(4), if you use RELENG_5 or HEAD.

>    this message and i don't have /dev/altq in my freebsd.

There is no /dev/altq at the moment.

>    Anyone have an idea for that ?

See above.

-- 
/"\  Best regards,                      | mlaier_at_freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_at_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Received on Tue Aug 24 2004 - 15:09:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC