tc class add dev eth0 parent 1:2 classid 20:1 htb rate 2mbit
change to 
tc class add dev eth0 parent 1:2 classid 1:20 htb rate 2mbit
--------------
for root 1: all descendants should be 1:number
for root qdisc 2: all descendants should be 2:number etc


-----------------------------------------------------------------------------
21.05.2002 17:49:38, Ciprian Niculescu <[EMAIL PROTECTED]> wrote:

>tc qdisc del dev eth0 root
>tc qdisc add dev eth0 root handle 1: htb default 5
>tc class add dev eth0 parent 1: classid 1:1 htb rate 5mbit prio 1
>
>tc class add dev eth0 parent 1:1 classid 1:2 htb rate 3mbit prio 2
>
>tc class add dev eth0 parent 1:2 classid 20:1 htb rate 2mbit
>RTNETLINK answers: Invalid argument
>
>
>i don't understand, why???
>
>C
>
>
>_______________________________________________
>LARTC mailing list / [EMAIL PROTECTED]
>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>



_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to