* [LARTC] HTB filters - pls help me
@ 2004-01-04 6:27 jayesh rathod
2004-01-04 18:41 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jayesh rathod @ 2004-01-04 6:27 UTC (permalink / raw)
To: lartc
Hi,
we r using HTB algorithm,for traffic shaping, we are facing a problem.
we are able to create multiple classes,filters. But when we delete 1 filter all filter gets deleted. how do we avoid that.
waiting for you reply
Regards
Jayesh
-------------------------------------------------
Shop & Save at Sifymall.com!
Special Festive Offers - up to 60% off on DVD players, MP3 Players.
Mobile phones and more.
Click here: http://sify.com/deals
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [LARTC] HTB filters - pls help me
2004-01-04 6:27 [LARTC] HTB filters - pls help me jayesh rathod
@ 2004-01-04 18:41 ` Stef Coene
2004-01-05 8:30 ` hare ram
2004-01-05 19:57 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2004-01-04 18:41 UTC (permalink / raw)
To: lartc
On Sunday 04 January 2004 07:27, jayesh rathod wrote:
> Hi,
>
> we r using HTB algorithm,for traffic shaping, we are facing a problem.
>
> we are able to create multiple classes,filters. But when we delete 1 filter
> all filter gets deleted. how do we avoid that.
>
> waiting for you reply
What I do, is creating a script that delets the root qdisc and re-add
everything. Deleting the root qdisc delets all classes and filters. So I
never delete a filter.
Anyway, can you post your commands ?
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [LARTC] HTB filters - pls help me
2004-01-04 6:27 [LARTC] HTB filters - pls help me jayesh rathod
2004-01-04 18:41 ` Stef Coene
@ 2004-01-05 8:30 ` hare ram
2004-01-05 19:57 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: hare ram @ 2004-01-05 8:30 UTC (permalink / raw)
To: lartc
Hi Stef
what happend if already existing people on the class
so in the short gap time when we delete and add the rule,
is the session will be disconects ?
they will get maximum available throughput, when we remove and add, since
the IP no more belong to any class
but when i re-run the script, they going to same marked and kept in the same
class, is this right
what happend if so many class like 1000 rules...
thanks
hare
----- Original Message -----
From: "Stef Coene" <stef.coene@docum.org>
To: "jayesh rathod" <jayesh_rathod@sify.com>; <lartc@mailman.ds9a.nl>
Sent: Monday, January 05, 2004 12:11 AM
Subject: Re: [LARTC] HTB filters - pls help me
> On Sunday 04 January 2004 07:27, jayesh rathod wrote:
> > Hi,
> >
> > we r using HTB algorithm,for traffic shaping, we are facing a problem.
> >
> > we are able to create multiple classes,filters. But when we delete 1
filter
> > all filter gets deleted. how do we avoid that.
> >
> > waiting for you reply
> What I do, is creating a script that delets the root qdisc and re-add
> everything. Deleting the root qdisc delets all classes and filters. So I
> never delete a filter.
> Anyway, can you post your commands ?
>
> Stef
>
> --
> stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.openprojects.net
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] HTB filters - pls help me
2004-01-04 6:27 [LARTC] HTB filters - pls help me jayesh rathod
2004-01-04 18:41 ` Stef Coene
2004-01-05 8:30 ` hare ram
@ 2004-01-05 19:57 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2004-01-05 19:57 UTC (permalink / raw)
To: lartc
On Monday 05 January 2004 09:18, hare ram wrote:
> Hi Stef
>
> what happend if already existing people on the class
> so in the short gap time when we delete and add the rule,
>
> is the session will be disconects ?
I don't know, but I don't think so. The state of the connections exists in
kernel space and not in "tc" space. Tc only sees packets.
> they will get maximum available throughput, when we remove and add, since
> the IP no more belong to any class
That only takes a few micro seconds, so I don't bother.
> but when i re-run the script, they going to same marked and kept in the
> same class, is this right
If you use the fw filter + iptables, yes.
> what happend if so many class like 1000 rules...
I only execute the tc scripts when my router boots or if I changed something.
So not evey second.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-01-05 19:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-04 6:27 [LARTC] HTB filters - pls help me jayesh rathod
2004-01-04 18:41 ` Stef Coene
2004-01-05 8:30 ` hare ram
2004-01-05 19:57 ` Stef Coene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox