On Sunday 08 February 2004 10:44, Patrick Spousta wrote:> 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
You have a 1:1: as parent, it should be 1:1.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/