Queue

Hello,

First, thank you for reading my topic.

I am trying to identify and queue the traffic passing a VLAN for my PPoE clients on my MikroTik router, but upload traffic (comming from clients) doesn’t count.

There is a snapshot of my related configuration:

/interface bridge settings
set use-ip-firewall=yes use-ip-firewall-for-pppoe=yes \
    use-ip-firewall-for-vlan=yes
/ip firewall mangle
add action=mark-packet chain=prerouting comment=\
    "External DOWNLOAD TRAFFIC" disabled=no in-interface=\
    vlan_extern new-packet-mark=external_traff passthrough=no
add action=mark-packet chain=forward comment=\
    "External UPLOAD TRAFFIC" disabled=no new-packet-mark=\
    external_traff out-interface=vlan_extern passthrough=no
/queue type
add kind=pfifo name=client pfifo-limit=10
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both \
    disabled=no interface=all limit-at=2M/2M max-limit=10M/10M name=\
    c3a2-extern packet-marks=external_traff parent=none priority=8 queue=\
    client/client target-addresses=1.2.3.4/32 total-queue=default-small

**Where: 1.2.3.4 = PPoE Client IP Address
vlan_extern = the VLAN

The traffic correctly counts on Mangle statictics.

How can I fix that?

Best regards,
Doru

Try this.

add action=mark-packet chain=postrouting comment=\
    "External UPLOAD TRAFFIC" disabled=no new-packet-mark=\
    external_traff out-interface=vlan_extern passthrough=no

It dosen’t work (Mangle still counting packets, but the queue is nothing for the upload traffic). Any other ideas?

I will do it once I get back to work and post it.

/ip firewall mangle
add action=mark-packet chain=prerouting in-interface=wlan2 new-packet-mark=testp passthrough=no
add action=mark-packet chain=postrouting new-packet-mark=testp out-interface=wlan2 passthrough=no

/queue simple
add max-limit=256k/2M name=queue1 packet-marks=testp

I did this real quick and it is working for me.

It should stop working for upload then you give the traget address.

Finally I’ve defined my Queue using destination address and it works. :smiley:

It should stop working for upload then you give the traget address.

Finally I’ve defined my Queue using destination address and it works. :smiley:[/quote]


Haha, I overlooked that completely too. I’m glad you have it working now.