Hello,
Currently I use htb with sfq,
/sbin/tc class add dev $IFACE classid 1:0 parent 1: htb rate ${RATE0}kbit \
ceil ${CEIL0}kbit burst 6k prio 0
/sbin/tc qdisc add dev $IFACE parent 1:0 sfq
but it has one big "hole" - person which uses 10 tcp connections ( with
download accelerator ) gets 10 times more bandwidth than normal user
with one tcp session .
I want bandwidth share based on IP adresses ( MAC adresses )
not tcp sessions .
I've noticed that wrr could fix this problem.
I wonder if new kernel and iproute2 and :
/sbin/tc qdisc add dev $IFACE parent 1:0 wrr
instead of
/sbin/tc qdisc add dev $IFACE parent 1:0 sfq
is enough to do what I need ? or I need some more complex qdisc ?
Another question is if it's possible to limit bandwith like squid with
delay pools ( so files smaller than eg: 2 MB are transmitted at full speed
and larger files are transmitted : 0 - 2 MB full speed and anything more
over 2MB is dropper do low priority class ) ?
How can I do this with ipchains ( kernel 2.2 ) + htb and
iptables (kernel 2.4 ) + htb ?
Greets,
K.
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{ Krzysztof Wittek - Gliwice Poland - ICQ: 6667414 - IRCNet: Krzychu }
{ [EMAIL PROTECTED] ftp://ftp.krzychu.net http://www.krzychu.net }
{ ==========> IPv4://3646973238 IPv6://3ffe:8010:28:2::1 <========== }
- - KW6109-RIPE * + P-o-w-e-r-e-d b-y P-L-D L-i-n-u-x + * KW1-6BONE - -
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/