Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 02:11:55 +0300
From:      KES <kes-kes@yandex.ru>
To:        Olivier Warin <daffy@xview.net>
Cc:        freebsd-net@freebsd.org
Subject:   BUG ipfw
Message-ID:  <1808976198.20071022021155@yandex.ru>
In-Reply-To: <9D1C5636-E513-4D88-9B1E-5646C0C0897D@xview.net>
References:  <C8F521A6-F00F-42C5-A160-944CBAE0EAEF@netasq.com> <9D1C5636-E513-4D88-9B1E-5646C0C0897D@xview.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Reconfiguring ipfw queue does not change queue weight.
Only deletion queue from firewall and adding it with new weight again helps

kes# ipfw queue show 31

***   configure queue with weight   >>>90<<<
kes# ipfw queue 31 config pipe 9 weight 90 mask dst-ip 0xffffffff gred 0.002/10/30/0.1

***   queue configured successfully
kes# ipfw queue show 31
q00031: weight 90 pipe 9   50 sl. 0 queues (64 buckets)
          GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.099991

***   configure queue with weight   >>>10<<<
kes# ipfw queue 31 config pipe 9 weight 10 mask dst-ip 0xffffffff gred 0.002/10/30/0.1

***   reconfiguration FAILED
kes# ipfw queue show 31
q00031: weight 90 pipe 9   50 sl. 0 queues (64 buckets)
          GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.099991

***   delete queue, and add it again
kes# ipfw queue 31 delete
kes# ipfw queue show 31
kes# ipfw queue 31 config pipe 9 weight 10 mask dst-ip 0xffffffff gred 0.002/10/30/0.1

***   it seems help but...
kes# ipfw queue 31 show
q00031: weight 10 pipe 9   50 sl. 1 queues (64 buckets)
          GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.099991

... but this is cause next problem:
if I delete queue all packets for this queue are dropped

EXPECTED BEHAVIOUR:
reconfigure queue without deleting it like pipe

-- 
С уважением,
 KES                          mailto:kes-kes@yandex.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1808976198.20071022021155>