Re: HTB as a child of another HTB - doesn't work

Linux Advanced Routing and Traffic Control

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

 



On Friday 22 July 2005 14:59, ddaasd wrote:
> What do I do wrong?

Most likely, you do not want to use more than one HTB qdisc per device.

> tc qdisc add dev eth0 root handle 100: htb
> tc class add dev eth0 parent 100: classid 100:1 htb rate 100kbps
>
> tc qdisc add dev eth0 parent 100:1 handle 1: htb

What do you need this qdisc for?

> tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps
> tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50kbps ceil
> 100kbps prio 1 tc class add dev eth0 parent 1:1 classid 1:20 htb rate
> 50kbps ceil 100kbps prio 2

Why not make these children of the first qdisc?

> <br>
> <br>
> <font face="verdana, arial, helvetica" size="2">OR<br>
> <br>
> </font>

Please don't send HTML mails (or at least include a text-only version).
Otherwise it is really awful to read. Thanks.

HTH
Andreas
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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