é o seguinte, tenho uma regra no mangle que rastreia uma determinada faixa de ip e faz controle total de banda para essa faixa de ips, tudo no queue tree, fazendo marcação de conexão e depois uma regra pra marcar os pacotes, tenho essa regra faz tempo, um certo dia decidi utilizar regras de qos individual pros clientes ppoe, coloquei as regras so que ai percebi que la no queue tree o seguinte, quando a regra de controle de qos esta ativa o controle de banda pela faixa de ip não funciona, so controla a banda quando eu desativo o qos, no caso preciso das duas regras funcionando, segue as regras pra melhor entendimento da coisa.

/queue tree add name="QoS_$qName" parent="$interface" queue="default" max-limit="$($rl)$rlUnity" burst-limit="$($bl)$blUnity" burst-time="$cBt" burst-threshold="$($bth)$bthUnity" bucket-size=0.20;
/queue tree add name="2-512k_$qName" parent="QoS_$qName" packet-mark="QoS-512K" queue="default" priority="4" limit-at="$($c512k)$rlUnity" max-limit="$($rl)$rlUnity" burst-limit="$($bl)$blUnity" burst-time="$cBt" burst-threshold="$($bth)$bthUnity";
/queue tree add name="4-5M_$qName" parent="QoS_$qName" packet-mark="QoS-5M" queue="default" priority="5" limit-at="$($c5M)$rlUnity" max-limit="$($rl)$rlUnity";
/queue tree add name="6-20M_$qName" parent="QoS_$qName" packet-mark="QoS-20M" queue="default" priority="6" limit-at="$($c20M)$rlUnity" max-limit="$($rl)$rlUnity";
/queue tree add name="7-50M_$qName" parent="QoS_$qName" packet-mark="QoS-50M" queue="default" priority="7" limit-at="$($c50M)$rlUnity" max-limit="$($rl)$rlUnity";
/queue tree add name="8-Inf_$qName" parent="QoS_$qName" packet-mark="QoS-Infinity" queue="default" priority="8" limit-at="$($cInf)$rlUnity" max-limit="$($rl)$rlUnity";

---------------------------------------------------------------------- Regras dinamicas que são criadas na queue tree para cada cliente

/queue tree
add limit-at=30M max-limit=38M name=1LIMITE packet-mark=LIMITE_PKT parent=\

global queue=LIMITE
-----------------------------------------------------------------------regra do limite na queue tree

/ip firewall mangle
add action=mark-connection chain=forward comment=QOS_CLIENTES new-connection-mark=QoS_conn_Down out-interface=all-ppp passthrough=yes
add action=mark-packet chain=forward connection-bytes=0-524288 connection-mark=QoS_conn_Down new-packet-mark=QoS-512K passthrough=yes
add action=mark-packet chain=forward connection-bytes=524289-5242880 connection-mark=QoS_conn_Down new-packet-mark=QoS-5M passthrough=yes
add action=mark-packet chain=forward connection-bytes=5242881-20971520 connection-mark=QoS_conn_Down new-packet-mark=QoS-20M passthrough=yes
add action=mark-packet chain=forward connection-bytes=20971521-52428800 connection-mark=QoS_conn_Down new-packet-mark=QoS-50M passthrough=yes
add action=mark-packet chain=forward connection-bytes=52428801-0 connection-mark=QoS_conn_Down new-packet-mark=QoS-Infinity passthrough=yes
-----------------------------------------------------------regras do qos no mangle

/ip firewall mangle
add action=mark-connection chain=prerouting comment=\
"====LIMITE=============" new-connection-mark=LIMITE \
passthrough=yes src-address=192.168.0.2-192.168.0.254 time=\
0s-1d,mon,tue,wed,thu,fri
add action=mark-packet chain=prerouting comment=\
"========LIMITE==============" \
connection-mark=LIMITE new-packet-mark=LIMITE_PKT passthrough=no
---------------------------------------------------------regra do limite no mangle