Skip to contentSkip to conversation

htb filter

LARTC [email protected] 2 participants 2 messages Jun 24, 2004 – Jun 28, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Jason Boxman
Quoted 5 lines · Svetozar Mihailov
Quoted 5 lines

Shouldn't this:

Quoted 1 line

tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10

be "parent 2:"?

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Ed W

That change nothing. I have running system with 800 PC , 4 classes for each. There is no difference for me in using "parent 2:" vs "parent 2:0". Both give same result.

Exactly. 2: is simply a short hand for 2:0, for example.

And is someone have idea how to list current configuration? I want to wrote similar to 'iptables-save' but for tc. In my running config there are about 3200 classes and 4000 filters. The script I generate is 1.2Mbytes and need 45 seconds to apply. I want to speedup this process with some kind of tc-save and tc-restore.

Regards,
Svetozar.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 14 lines · On Thursday 24 June 2004 06:37, [email protected] wrote:
Quoted 13 lines · Jason Boxman
Quoted 11 lines · Svetozar Mihailov
Quoted 7 lines

Shouldn't this:

Quoted 2 lines

tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10

be "parent 2:"?

Ed W

That change nothing. I have running system with 800 PC , 4 classes for each. There is no difference for me in using "parent 2:" vs "parent 2:0". Both give same result.

Quoted 7 lines
Quoted 1 line

Exactly. 2: is simply a short hand for 2:0, for example.

And is someone have idea how to list current configuration? I want to wrote similar to 'iptables-save' but for tc. In my running config there are about 3200 classes and 4000 filters. The script I generate is 1.2Mbytes and need 45 seconds to apply. I want to speedup this process with some kind of tc-save and tc-restore.

I wrote some scripts to save the running configuration, but it is integrated in other, buggy, bloated script. The major problem is recognizing the different options and qdiscs/classes.

Stef

Signature · 6 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/