I've solved the problem. It turns out tc didn't like the sequence the
commands were in. The script was set up to create a qdisc for each
customer and attach a rate limiting class to it. It looked like this:
1: root qdisk
|
1:1 child class
/|\
/ | \
/ | \
/ | \
1:76 1:77 1:78... customer qdiscs
| | |
76: 77: 78: rate limiting classes
/|\ ...
/ | \
/ | \
/ | \
76:1 76:2 76:3 child classes to handle load balancing
My bad. It should have looked like this:
1: root qdisk
|
1:1 child class
/|\
/ | \
/ | \
/ | \
1:76 1:77 1:78... customer rate limiting classes
| | |
76: 77: 78: customer qdiscs
/|\ ...
/ | \
/ | \
/ | \
76:1 76:2 76:3 child classes to handle load balancing
I had rewritten the script to use HTBs, yet the same error occured.
That's when I noticed the problem with the handles. switching the 2
commands fixed it.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc