Queuing - parent field !!

Hi,
i’m having a trouble about setting some kind of QoS in my network :slight_smile:. This is the configuration of the network:

MikroTik AP1:
ether1 - local network - 192.168.1.0
sector1 - wireless interface - 192.168.11.0
sector2 - wireless iface - 192.168.111.0
bacbone - wireless iface, link to the AP2 192.168.100.2

MikroTik AP2:
ether2 - local network - 192.168.2.0
omni - wireless iface - 192.168.20.0
backbone - link to the AP1 - 192.168.100.1
internet - PPPoE connection

We are having a DC++ internal server for files exchange, network chat server, all on 192.168.1.2 - ether1.
Internet is shared between users equally, whole network is NAT-ed on MT AP2 internet interface.

What i’m trying to do is prioritizing traffic like this:
network chat priority 1
http priority 4
dc++ priority 8

add chain=prerouting dst-address=192.168.1.2 protocol=tcp dst-port=6666 action=mark-connection
new-connection-mark=ichat_conn_dl comment=“ichat dl” disabled=no
add chain=prerouting connection-mark=ichat_conn action=mark-packet new-packet-mark=ichat_dl comment=“” disabled=no
add chain=prerouting src-address=192.168.1.2 protocol=tcp src-port=6666 action=mark-connection
new-connection-mark=ichat_conn_up comment=“ichat up” disabled=no
add chain=prerouting connection-mark=ichat_conn_up action=mark-packet new-packet-mark=ichat_up comment=“”
disabled=no
add chain=prerouting p2p=all-p2p action=mark-connection new-connection-mark=p2p_conn comment=“DC++” disabled=no
add chain=prerouting connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p comment=“” disabled=no
add chain=prerouting protocol=tcp src-port=80 action=mark-connection new-connection-mark=http_conn_dl
comment=“HTTP dl” disabled=no
add chain=prerouting connection-mark=http_conn_dl action=mark-packet new-packet-mark=http_dl comment=“”
disabled=no
add chain=prerouting protocol=tcp dst-port=80 action=mark-connection new-connection-mark=http_conn_up
comment=“HTTP up” disabled=no
add chain=prerouting connection-mark=http_conn_up action=mark-packet new-packet-mark=http_up comment=“”
disabled=no

As you can see, I have marked upload and download traffic for chat and http. Do I need to do that for queuing?
If I want to do priority on AP1 I’m getting confused about parent field. I don’t know what to put there :frowning:
What is the parent, the class i’m sending packets to??

I’ve red examples on the forum, people usually set public interface as parent for upload, and local interface as parent for dowload (how MT can match the packets if local iface is the one that I’m sending packets to, and I’ve marked packet by source address?? I can’t understand this), and the packet are marked by the source address. But what when I have several “local” interfaces with the client on it?

Too much questions :frowning: