Subject: kern/29967: ALTQ_PRIQ: the bandwidth parameter doesn't work correctly
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@mail.xtrarom.org>
List: netbsd-bugs
Date: 04/14/2005 08:41:00
>Number: 29967
>Category: kern
>Synopsis: ALTQ_PRIQ: the bandwidth parameter doesn't work correctly
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 14 08:41:00 +0000 2005
>Originator: Juan RP
>Release: NetBSD 3.99.3
>Organization:
>Environment:
>Description:
I'm using these parameters on my gw:
interface ex0 bandwidth 640K tbrsize 4K priq
class priq ex0 high_class NULL priority 15
class priq ex0 medium_class NULL priority 10
class priq ex0 low_class NULL priority 0 default
filter ex0 high_class 0 80 0 0 6
filter ex0 high_class 0 0 0 80 6
filter ex0 high_class 0 0 0 53 6
filter ex0 high_class 0 0 0 53 17
filter ex0 high_class 0 0 0 22 6
filter ex0 high_class 0 22 0 0 6
filter ex0 high_class 0 21 0 0 6
filter ex0 high_class 0 0 0 21 6
filter ex0 medium_class 80.32.6.91 0 192.168.1.1 0 6
filter ex0 medium_class 80.32.6.91 0 192.168.1.1 0 17 # UDP
filter ex0 medium_class 80.32.6.91 0 192.168.1.7 0 6
filter ex0 medium_class 80.32.6.91 0 192.168.1.7 0 17 # UDP
filter ex0 medium_class 80.32.6.91 0 192.168.1.9 0 6
filter ex0 medium_class 80.32.6.91 0 192.168.1.9 0 17 # UDP
filter ex0 low_class 80.32.6.91 0 192.168.1.4 0 6
filter ex0 low_class 80.32.6.91 0 192.168.1.4 0 17
filter ex0 low_class 0 0 0 0 1
It works fine when the system boots, but changing the
bandwidth parameter and doing /etc/rc.d/altqd doesn't seem
to work, because the previous value will be used again,
ignoring the new value.
>How-To-Repeat:
>Fix: