Query about HTB qdisc

Linux Advanced Routing and Traffic Control

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

 



Hi

 First I'm sorry for my English

Second: I have a problem with my qdiscs, I have a Debian Linux router with a Intel Celeron 2,4 Hz processor and de following configuration not run correctly but the same configuration run perfectly in other 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 300kbit

tc class $1 dev $2 parent 1:1 classid 1:10 htb rate 100kbit ceil 100kbit

tc class $1 dev $2 parent 1:1 classid 1:20 htb rate 100kbit ceil 100kbit

tc class $1 dev $2 parent 1:1 classid 1:30 htb rate 100kbit ceil 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 classid 1:10

tc filter add dev $2 parent 1:0 protocol ip prio 2 handle 2 fw classid 1:20

tc filter add dev $2 parent 1:0 protocol ip prio 3 handle 3 fw 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= eth2

The problem is that the default traffic (30) isn't response to set upload values as well as the traffic outgoin of the 10.10.1.10 IP isn't send to 1:10 classid, this problem
    not is find in core I3 processor.

Thanks for your time:

Leonardo A. Benitez



--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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