problem my tc counters are not counting,  my iptables couters are
couting so what am i missing?
iv looked thorugh the list a little bit but have not seen what what is
causing my problem

tcclass_add="tc class add dev brint_ext parent 1: classid"
tcclass_rate="cbq allot 1514 avpkt 1000 bounded isolated rate"
tcclass_end=""

tc qdisc add dev brint_ext root handle 1: cbq bandwidth 192kbps avpkt
1000
$tcclass_add 1:1 $tcclass_rate 10kbps
$tcclass_add 1:2 $tcclass_rate 10kbps
$tcclass_add 1:3 $tcclass_rate 20kbps
$tcclass_add 1:4 $tcclass_rate 20kbps
$tcclass_add 1:5 $tcclass_rate 30kbps
$tcclass_add 1:6 $tcclass_rate 30kbps


iptables_src="iptables -t mangle -A PREROUTING -s"
iptables_dst="iptables -t mangle -A PREROUTING -d"
iptables_end="-j MARK --set-mark"

$iptables_src 65.215.218.49 $iptables_end 1
$iptables_dst 65.215.218.49 $iptables_end 2
$iptables_src 65.215.218.50 $iptables_end 3
$iptables_dst 65.215.218.50 $iptables_end 4
$iptables_src 65.215.218.51 $iptables_end 5
$iptables_dst 65.215.218.51 $iptables_end 6


tcf_add="tc filter add dev brint_ext parent"
tcf_2nd="protocol ip prio 3 handle"
tcf_3rd="fw flowid"

$tcf_add 1:0 $tcf_2nd 1 $tcf_3rd 1:1
$tcf_add 1:0 $tcf_2nd 2 $tcf_3rd 1:2
$tcf_add 1:0 $tcf_2nd 3 $tcf_3rd 1:3
$tcf_add 1:0 $tcf_2nd 4 $tcf_3rd 1:4
$tcf_add 1:0 $tcf_2nd 5 $tcf_3rd 1:5
$tcf_add 1:0 $tcf_2nd 6 $tcf_3rd 1:6



_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to