Re: [LARTC] HTB: 3. Sharing hierarchy

2004-06-23 Thread Mike Mestnik
I finaly found why my filters woulden't work, I was using grouping maches
up with quotation(") chars.  This caused tc to silently IGNORE thoes
matches while letting other non-quotated matches to work normaly, within
the same tc cmd.

I reworked my whole script to use 10:0 as the parent for filters, where's
b4 I was able to group all the port 8080 stuff into flowid 10:35 and then
use that as a parent.  I know that the docs say other-wise, but dose any
one know if it's safe thing todo?

http://www.technofoundry.com/cheako/
Has my tc modified scripts.





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] HTB: 3. Sharing hierarchy

2004-06-23 Thread Mike Mestnik
I finaly found why my filters woulden't work, I was using grouping maches
up with quotation(") chars.  This caused tc to silently IGNORE thoes
matches while letting other non-quotated matches to work normaly, within
the same tc cmd.

I reworked my whole script to use 10:0 as the parent for filters, where's
b4 I was able to group all the port 8080 stuff into flowid 10:35 and then
use that as a parent.  I know that the docs say other-wise, but dose any
one know if it's safe thing todo?

http://www.technofoundry.com/cheako/
Has my tc modified scripts.





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] HTB: 3. Sharing hierarchy

2004-06-23 Thread Stef Coene
On Tuesday 22 June 2004 06:19, Mike Mestnik wrote:
> On http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm...
> There is a nice explanation on how/why to setup a hierarchy with HTB.
> Howerver what is missing is how to setup finters for this case?
For more information and examples: http://docum.org/

> I had this working when I was using a seperat qdisc for each ?layer?,
> making each HTB only one level deep.  Described in the attached
> qdisc.sh.GOOD.
Not such a good idea.

> Described in the attached qdisc.sh is my current script, is my new config
> script.
>
> Described in the attached qdisc-undo.sh is the output of my ifup-mkundo.sh
> script, a reversed(read from the bottom up) list of del cmds for the given
> up script.
The command
tc qdisc del dev eth1 root
is enough to delete everything.

Stef

-- 
[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/


[LARTC] HTB: 3. Sharing hierarchy

2004-06-21 Thread Mike Mestnik
On http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm...
There is a nice explanation on how/why to setup a hierarchy with HTB. 
Howerver what is missing is how to setup finters for this case?

I had this working when I was using a seperat qdisc for each ?layer?,
making each HTB only one level deep.  Described in the attached
qdisc.sh.GOOD.

Described in the attached qdisc.sh is my current script, is my new config
script.

Described in the attached qdisc-undo.sh is the output of my ifup-mkundo.sh
script, a reversed(read from the bottom up) list of del cmds for the given
up script.

Described in the attached tc-class.out and tc-qdisc.out is the output of
these 'popular' tc cmds.

Also attached is my 'popular' ifup-mkundo.sh script, ENJOY.




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

qdisc.sh
Description: qdisc.sh


qdisc.sh.GOOD
Description: qdisc.sh.GOOD


qdisc-undo.sh
Description: qdisc-undo.sh


tc-class.out
Description: tc-class.out


tc-qdisc.out
Description: tc-qdisc.out


ifup-mkundo.sh
Description: ifup-mkundo.sh