All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Excess bandwidth sharing
@ 2003-10-08 13:08 Tom Olexa
  2003-10-08 17:15 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Olexa @ 2003-10-08 13:08 UTC (permalink / raw)
  To: lartc

Hello there,

I do
tc qdisc add dev eth0 root handle 1: htb r2q 1 default 12
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 64kbit
ceil 512kbit tc class add dev eth0 parent 1:1 classid 1:11 htb
rate 256kbit ceil 512kbit

tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
        match ip dst 195.28.103.7 flowid 1:10
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
        match ip dst 195.28.103.5 flowid 1:11

and I expect both streams to share the total 512kbit in
proportion of their rates (1/4). Unfortunately the rates are some
100/120, total 512kbit.
Can anyone tell me whatsda problem?
This behavior may vary when all rates are different.
Thanks, Tom Olexa

-- 
Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-08 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-08 13:08 [LARTC] Excess bandwidth sharing Tom Olexa
2003-10-08 17:15 ` Stef Coene

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.