From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leonardo Benitez Date: Wed, 17 Apr 2013 23:58:13 +0000 Subject: Query about HTB qdisc Message-Id: <516F3715.40000@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi First I'm sorry for my English Second: I have a problem with my qdiscs, I have a Debian Linux router=20 with a Intel Celeron 2,4 Hz processor and de following configuration not=20 run correctly but the same configuration run perfectly in other=20 processor (Intel core i3). #!/bin/bash tc qdisc $1 dev $2 root handle 1:0 htb default 30 tc class $1 dev $2 parent 1:0 classid 1:1 htb rate 300kbit ceil=20 300kbit tc class $1 dev $2 parent 1:1 classid 1:10 htb rate 100kbit ceil=20 100kbit tc class $1 dev $2 parent 1:1 classid 1:20 htb rate 100kbit ceil=20 100kbit tc class $1 dev $2 parent 1:1 classid 1:30 htb rate 100kbit ceil=20 100kbit tc qdisc $1 dev $2 parent 1:10 handle 10: sfq perturb 10 tc qdisc $1 dev $2 parent 1:20 handle 20: sfq perturb 10 tc qdisc $1 dev $2 parent 1:30 handle 30: sfq perturb 10 tc filter add dev $2 parent 1:0 protocol ip prio 1 handle 1 fw=20 classid 1:10 tc filter add dev $2 parent 1:0 protocol ip prio 2 handle 2 fw=20 classid 1:20 tc filter add dev $2 parent 1:0 protocol ip prio 3 handle 3 fw=20 classid 1:30 iptables -t mangle -A PREROUTING -s 10.10.1.10 -j MARK --set-mark 1 iptables -t mangle -A PREROUTING -s 10.10.1.10 -j RETURN being $1=ADd and $2=3D eth2 The problem is that the default traffic (30) isn't response to set=20 upload values as well as the traffic outgoin of the 10.10.1.10 IP isn't=20 send to 1:10 classid, this problem not is find in core I3 processor. Thanks for your time: Leonardo A. Benitez