Displaying 1 result from an estimated 1 matches for "userdownload".
Did you mean:
secdownload
2004 Aug 09
2
cbq dosen''t shape on MARK for one host.. strange!
...{ip}2
done
-------------
So now I am able to make statistics per IP (lstat.sourceforge.net) and of
course - do some traffic shaping. i have used cbq.init and then i wrote this:
-------------
for ipek in `seq 50`; do
$TC class add dev eth2 parent 1: classid 1:10$ipek cbq bandwidth 100Mbit rate
${USERDOWNLOAD}Kbit weight `echo
${USERDOWNLOAD} / 10 | bc`Kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt
1000 bounded
$TC qdisc add dev eth2 parent 1:10$ipek handle 10$ipek tbf rate
${USERDOWNLOAD}Kbit buffer 1Kb/8 limit 15Kb mt
u 1500
$TC filter add dev eth2 parent 1:0 protocol ip prio 200 handle 50${ipek}1...