* [LARTC] Leaky bucket in TC
@ 2005-05-26 11:40 Fatih Düzova
2005-05-27 6:08 ` Krystian Antoni
2005-05-27 10:23 ` Fatih Düzova
0 siblings, 2 replies; 3+ messages in thread
From: Fatih Düzova @ 2005-05-26 11:40 UTC (permalink / raw)
To: lartc
Hi,
I am trying to control bandwidths of the connections by using TC with
HTB. But I want to implement Leaky Bucket on this structure so as to
have a straight flow.
Due to being new in this area, could anyone help me how I could do this?
Does TC support leaky bucket?
Best regards,
Fatih Duzova
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Leaky bucket in TC
2005-05-26 11:40 [LARTC] Leaky bucket in TC Fatih Düzova
@ 2005-05-27 6:08 ` Krystian Antoni
2005-05-27 10:23 ` Fatih Düzova
1 sibling, 0 replies; 3+ messages in thread
From: Krystian Antoni @ 2005-05-27 6:08 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 684 bytes --]
if by "leaky bucket" u mean "drop everything above a certain rate" then htb
can do this as a part of normal operation.
On 5/26/05, Fatih Düzova <fduzova@gmail.com> wrote:
>
> Hi,
> I am trying to control bandwidths of the connections by using TC with
> HTB. But I want to implement Leaky Bucket on this structure so as to
> have a straight flow.
> Due to being new in this area, could anyone help me how I could do this?
> Does TC support leaky bucket?
>
> Best regards,
>
> Fatih Duzova
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
--
Miłego Dnia
Krystian Antoni
[-- Attachment #1.2: Type: text/html, Size: 1111 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Leaky bucket in TC
2005-05-26 11:40 [LARTC] Leaky bucket in TC Fatih Düzova
2005-05-27 6:08 ` Krystian Antoni
@ 2005-05-27 10:23 ` Fatih Düzova
1 sibling, 0 replies; 3+ messages in thread
From: Fatih Düzova @ 2005-05-27 10:23 UTC (permalink / raw)
To: lartc
Thank you for your response,
My aim is to define a bandwidth (i guess it can be done by defining
equal rate and ceil values), and not to allow to pass this value "at
any moment" during the connection. Is htb able to do this job, for
instance in the simple example below?
tc qdisc add dev ath0 root handle 1:0 htb default 15
tc class add dev ath0 parent 1:0 classid 1:1 htb rate 240kbit
tc class add dev ath0 parent 1:1 classid 1:5 htb rate 72kbit ceil 72kbit
tc class add dev ath0 parent 1:1 classid 1:10 htb rate 120kbit ceil 120kbit
tc class add dev ath0 parent 1:1 classid 1:15 htb rate 48kbit ceil 48kbit
tc qdisc add dev ath0 parent 1:5 handle 5:0 sfq perturb 10
tc qdisc add dev ath0 parent 1:10 handle 10:0 sfq perturb 10
tc qdisc add dev ath0 parent 1:15 handle 15:0 sfq perturb 10
tc filter add dev ath0 protocol ip parent 1:0 prio 1 u32 match ip
dport 22 0xffff flowid 1:5
tc filter add dev ath0 protocol ip parent 1:0 prio 1 u32 match ip
sport 22 0xffff flowid 1:5
tc filter add dev ath0 protocol ip parent 1:0 prio 1 u32 match ip
dport 80 0xffff flowid 1:10
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-27 10:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 11:40 [LARTC] Leaky bucket in TC Fatih Düzova
2005-05-27 6:08 ` Krystian Antoni
2005-05-27 10:23 ` Fatih Düzova
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.