HTB - got mesage "invalid parent ID" is wrong: 1:1
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · Patrick Spousta
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.
Quoted 7 lines
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
You have a 1:1: as parent, it should be 1:1.
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/