Re: Multiple classes

Linux Advanced Routing and Traffic Control

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

 



On Tuesday 03 December 2002 06:49, Homer Parker wrote:
> 	I'm trying to implement something similar the the diagram in section
> 9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :(
> I'm trying to hack up wondershaper, as it looked like a good place to
> start.. Here's where I currently at, but I've tried alot of different
> things, all failing, some worse than others. The end result is to throttle
> back 126 IP's individually. I've read so much over the last few days, I've
> almost confused myself, and probably have ;) Thanks for any and all help!
>
> tc qdisc add dev $DEV0 root handle 1: htb default 20
>
> tc class add dev $DEV0 parent 1: classid 1:1 htb rate 128kbit \
>   burst 6k
>
> tc class add dev $DEV0 parent 1:1 classid 2: htb rate 128kbit \
>   burst 6k
All class attached to the same qdisc have the same major number.  Numbering of 
classes and qdiscs : <major nuber>:<minor numer>.  
2: is a valid name for a qdisc, but not for a class.

Stef

-- 

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

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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