BUG ipfw
KES
kes-kes at yandex.ru
Sun Oct 21 16:27:54 PDT 2007
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 at yandex.ru
More information about the freebsd-net
mailing list