[LARTC] cbq and htb working together...

Linux Advanced Routing and Traffic Control

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

 



On Thursday 13 February 2003 22:55, Michal Kustosik wrote:
> Is it possible to use cbq and htb together on one dev?
>
> something like this:
>
> [...]
> $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000
>
> $TC class add dev eth0 parent 1:0 classid 1:10 cbq bandwidth 100Mbit \
>     rate 100Mbit weight 10Mbit prio 8 allot 1514 cell 8 maxburst 5 avpkt
> 1000 bounded $TC qdisc add dev eth0 parent 1:10 htb default 100
>
> $TC class add dev eth0 parent 1:10 classid 1:100 htb rate 128kbit ceil
> 128kbit prio 3 $TC class add dev eth0 parent 1:10 classid 1:200 htb rate
> 128kbit ceil 128kbit prio 2 $TC class add dev eth0 parent 1:10 classid
> 1:300 htb rate 128kbit ceil 128kbit prio 1 [...]
>
> but it does't work :(
What's not working?
And why the hell would you try that ?  :)


Stef
-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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