[LARTC] Problems with HTB and downloads more than 3mb
Thomas Switala
tis@genotribe.com
Sun, 6 Jul 2003 00:04:09 +0100
Hi
I am busy configuring a bandwidth manager that acts as a bridge, the
problem that I am currently experiencing is that it works perfectly for
smaller classes like 32kbit, 42kbit etc. As soon as I create a class of
3072kbit or bigger it's constant download is at 6.2mbps.
These are my commands that I used
[root@irulan scripts]# tc class show dev eth0
[root@irulan scripts]# tc qdisc add dev eth0 root handle 1: htb
[root@irulan scripts]# tc class add dev eth0 parent 1: classid 1:1 htb
rate 18mbit ceil 18mbit
[root@irulan scripts]# tc class add dev eth0 parent 1:1 classid 1:10 htb
rate 3072kbit ceil 3072kbit
[root@irulan scripts]# tc qdisc add dev eth0 parent 1:10 handle 10: sfq
perturb 10
[root@irulan scripts]# tc filter add dev eth0 protocol ip parent 1: prio
0 u32 match ip dst 192.168.10.8/29 flowid 1:10
I even changed it to this and I am still experiencing the same problem.
[root@irulan scripts]# tc filter add dev eth0 protocol ip parent 1: prio
0 u32 match ip dst 192.168.10.10 flowid 1:10
I do ftp transfers and I use Iptraf to monitor the details I also used
iperf and I am getting the same results
Thank you.
--
Warm Regards
tis