[LARTC] simple (maybe idiot) question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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







[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux