Bob Puff wrote:

> 
>>If you know how to do the 300k limit then using that same method add 
>>a queue depth to handle the difference on that class.
> 
> 
> How do I do that?  (sorry, newbie to tc)
> 
> Bob

I've been trying to read up, and still not coming up with concrete info on 
queue sizes.
Right now, my code for limiting to 300k is:

tc qdisc add dev eth0 root handle 1: htb default 21
tc class add dev eth0 parent 1: classid 1:1 htb rate 300kbit
tc class add dev eth0 parent 1:1 classid 1:20 htb prio 0 rate 100kbit
tc class add dev eth0 parent 1:1 classid 1:21 htb prio 1 rate 100kbit ceil 300k

..with some matches for prioritizing other traffic into class 1:20.

I assume there is something I need to add to the first line, but everything 
I've read about never
mentions htb.

Bob

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to