I have the next config. Keep in mind that VLAN20 is the WAN and ISP is the bridge where my service VLANS live:
Code: Select all
/ip firewall mangle
chain=prerouting action=mark-connection new-connection-mark=conn-30.30 passthrough=yes src-address=172.16.71.0/24
chain=prerouting action=mark-packet new-packet-mark=pack-30.30 passthrough=no connection-mark=conn-30.30
/queue type
name="DL_30M" kind=pcq pcq-rate=30M pcq-limit=50KiB pcq-classifier=dst-address pcq-total-limit=2000KiB pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128
name="UL_30M" kind=pcq pcq-rate=30M pcq-limit=50KiB pcq-classifier=src-address pcq-total-limit=2000KiB pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128
/queue tree
name="BAJADA_PITERAS" parent=ISP packet-mark="" limit-at=0 queue=default-small priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
name="SUBIDA_PITERAS" parent=VLAN 20 packet-mark="" limit-at=0 queue=default-small priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
name="BAJADA_30M" parent=BAJADA_PITERAS packet-mark=pack-30.30 limit-at=0 queue=DL_30M priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
name="SUBIDA_30M" parent=SUBIDA_PITERAS packet-mark=pack-30.30 limit-at=0 queue=UL_30M priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
Thanks in advance.