Re: [LARTC] Can anyone fix this?

2004-05-24 Thread Chris Jensen
On Sunday 23 May 2004 22:08, Dmitry Golubev wrote: Hello, Is it possible to attach filter rules to HTB classes? All my filters belong to some qdisc, so I don't know. Quote from LATRC: Also, with HTB, you should attach all filters to the root! Sorry, my bad, I'm still coming to terms with

Re: [LARTC] Can anyone fix this?

2004-05-24 Thread Andreas Klauer
Am Monday 24 May 2004 18:23 schrieb Chris Jensen: Andreas Klauer: My Fair NAT script [1] uses a very similar structure - however, I did high/default/low prio stuff you desire not with HTB classes, but with a PRIO qdisc attached to the flatmate HTB class. Maybe it's worth a look?

Re: [LARTC] Can anyone fix this?

2004-05-24 Thread Stef Coene
On Sunday 23 May 2004 18:37, Patrick McHardy wrote: Dmitry Golubev wrote: Quote from LATRC: Also, with HTB, you should attach all filters to the root! Then LARTC is wrong. LARC is not up-to-date. It was so in pre-htb3 versions. Stef -- [EMAIL PROTECTED]  Using Linux as bandwidth

Re: [LARTC] Can anyone fix this?

2004-05-23 Thread Dmitry Golubev
Hello, Is it possible to attach filter rules to HTB classes? All my filters belong to some qdisc, so I don't know. Quote from LATRC: Also, with HTB, you should attach all filters to the root! Dmitry On Wednesday 19 May 2004 17:17, Andreas Klauer [EMAIL PROTECTED] wrote: Am Wednesday 19

Re: [LARTC] Can anyone fix this?

2004-05-23 Thread Patrick McHardy
Dmitry Golubev wrote: Quote from LATRC: Also, with HTB, you should attach all filters to the root! Then LARTC is wrong. HTB first tries to classify by priority, if that fails it follows the filter chain from the root until it hits a leaf-class, if that fails it tries if the default class is a

Re: [LARTC] Can anyone fix this?

2004-05-19 Thread Andy Furniss
Chris Jensen wrote: Hi, I appologise for the bad ettiquite of this, but I have tried looking for some HTB examples that would help me, and am having trouble understanding how the tc filters should work, but I can't figure out why this isn't working. I've written this script, based upon the

Re: [LARTC] Can anyone fix this?

2004-05-19 Thread Chris Jensen
You can't use u32 to filter egress on src if you are NATing - you need to mark in POSTROUTING mangle and filter on fw. Have a look at the kptd on www.docum.org . Whoops, I was aware of this. I must've sent an old version of the script to the list, cause I had fixed that, and that's not the

Re: [LARTC] Can anyone fix this?

2004-05-19 Thread Andreas Klauer
Am Wednesday 19 May 2004 14:26 schrieb Chris Jensen: Whoops, I was aware of this. I must've sent an old version of the script to the list, cause I had fixed that, and that's not the issue anymore. If you make an up-to-date version available somewhere, I'll have a look at it. Don't want to

[LARTC] Can anyone fix this?

2004-05-18 Thread Chris Jensen
Hi, I appologise for the bad ettiquite of this, but I have tried looking for some HTB examples that would help me, and am having trouble understanding how the tc filters should work, but I can't figure out why this isn't working. I've written this script, based upon the ultimate traffic shaper