From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wingtung.Leung s965817@uia.ua.ac.be Date: Fri, 13 Oct 2000 17:38:42 +0000 Subject: [LARTC] simple (maybe idiot) question Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
Hello,

I'm trying to get started with "tc", using some online examples, but the
first line already returns an error.

=
$ tc qdisc add dev eth0 root handle 10:0 cbq bandwidth 10 Mbit avpkt 1000

RTNETLINK answers: Invalid argument
=

What could be wrong? There is a eth0 interface up and running. 

=
$ ip link 

2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:e0:29:64:bf:87 brd ff:ff:ff:ff:ff:ff
=

I use RedHat 6.2 out of the box (kernel 2.2.14), have installed
iproute2-ss990630.

I don't mind a RTFM, it would be fine if someone could point me to the
right docs (except for the source code :-).


Thanks,

Tung