Hello
I’m currently using PCC and Queue trees, I was wondering if it was possible to do packet shaping (http://wiki.mikrotik.com/wiki/Basic_traffic_shaping_based_on_layer-7_protocols) at the same time.
I guess you can.
In the PCC configuration don’t use connection marks, but instead use routing marks.
Then you can use connection marks and afterwards packet marks which will be used
for your queue tree configuration.
This way the marks will not interfere with each other.
I’m not sure what PCC configuration your looking at, but PCC uses both connection and routing marks, check out the examples here http://wiki.mikrotik.com/wiki/PCC which is what I have mine based off of.
what i meant was skip the connection mark, and use routing mark:
add chain=prerouting in-interface=LAN connection-mark=no-mark dst-address-type=!local \per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=ISP1_conn
instead of marking connection first just mark routing:
add chain=prerouting in-interface=LAN connection-mark=no-mark dst-address-type=!local \per-connection-classifier=both-addresses:2/0 action=mark-routing new-routing-mark=ISP1_conn
the reason why you shouldn’t use connection mark is because you will need them for the packet marks you will use
in queue tree, and packets can have only one mark.
I’m currently using PCC and Queue Trees just fine, from what I understand, there can only be one TYPE of mark, per type of mark, IE only one Routing mark, only one connection mark, and only one packet mark, for a total max of 3 per any given connection/packet.
I don’t think PCC will function right w/o the connection mark, as its there to make sure that the connection enters and leaves out the same interface (from what I understand of how it works anyway)
The question I have is more so with Queue Trees and Packet shaping, as they both seem to use packet marks.
as a matter of fact you can mark twice the packets and utilize those marks
in queue tree. But you have to mark once in prerouting chain and in queue tree
use them in global-in interface, and you can mark once more in forward or
postrouting chain and use them in global-out interface in the queue tree.