HTB - got mesage "invalid parent ID" is wrong: 1:1

Linux Advanced Routing and Traffic Control

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

 



Hi,
I have more ethernet cards. Egress shaping with HTB over eth0 works fine, ingress shaping with HTB over IMQ works also fine, but in both of cases I use only one class of traffic.


Now I want to divide traffic to 3 classes on other interface (egress to ineternal network). I try this command sequense

tc qdisc add dev eth1 root handle 1: htb default 12
tc class add dev eth1 parent 1: classid 1:1 htb rate 2200kbit ceil 2200kbit
tc class add dev eth1 parent 1:1: classid 1:10 htb rate 1816kbit ceil 2200kbit


but here I got message
Error: argument "invalid parent ID" is wrong: 1:1:

Whats wrong?

Kernel 2.4.23, tc patched (from HTB tarball).

Thanx in advance
regards

Patrick Spousta

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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