Mailinglist Archive: opensuse (3644 mails)

< Previous Next >
use of tc and cbq for queing discipline
  • From: "andre@do" <andre@xxxxxxxx>
  • Date: Sun, 10 Mar 2002 17:49:09 +0200
  • Message-id: <3C8B8075.1090308@xxxxxxxx>
hi all,

SuSE 7.3 kernel 2.4.16 iproute2 iptables etc.

i have a SuSElinux router natting public IP(eth0) to pvt IP(eth1) range.
i need to limit the bandwidth(rate) on pub(eth0) so that
eth0 uses only 32K and have tried as follows :

tc class add dev eth0 parent 1:1 classid 1:3 cbq bandwidth 10Mbit \
rate 32Kbit weight 3Kbit prio 5 allot 1514 cell 8 maxburst 20 \
avpkt 1000

but get : RTNETLINK answers: No such file or directory
if i remove allot 1514 i get: CBQ: allot is required to set WRR paramaters

what am i missing ?

i know the cbq algo is a bit buggy but need limits at 32K, ideas
suggestions ? (constructive flames ;) )





thx


andre


--

+27 834433455
Atp (Pty) Ltd.




< Previous Next >
Follow Ups