Skip to contentSkip to conversation

Problems with HTB and downloads more than 3mb

LARTC Thomas Switala 1 participant 1 message Jul 5, 2003

lore
Share & tools
lore
#0 lore raw

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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/