[LARTC] Problems with HTB and downloads more than 3mb

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx scripts]# tc class show dev eth0
[root@xxxxxx scripts]# tc qdisc  add dev eth0 root handle 1: htb
[root@xxxxxx scripts]# tc class add dev eth0 parent 1: classid 1:1 htb
rate 18mbit ceil 18mbit
[root@xxxxxx scripts]# tc class add dev eth0 parent 1:1 classid 1:10 htb
rate 3072kbit ceil 3072kbit
[root@xxxxxx scripts]# tc qdisc add dev eth0 parent 1:10 handle 10: sfq
perturb 10
[root@xxxxxx 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@xxxxxx 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







[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux