Thu Nov 19, 2009 9:00 pm
Try the following, i use masquerade, so that is why im using global_out as my downstream parent. Im not 100% positive it is set up correctly.. and sorry for no comments. Maybe someone can spot check the queues and mangle rules and confirm that priority will work... packets flow through fine, so i assume it works... but packets flow'd before their was parent queue as well... I believe its set up right with the priority set on the leafs now.
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=10M name=downstream_qos packet-mark="" parent=global-out \
priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=1M name=upstream_qos packet-mark="" parent=wan1 priority=1 \
queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=10M name=lan_qos_low packet-mark="" parent=downstream_qos \
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=10M name=lan_qos_high packet-mark="" parent=downstream_qos \
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=1M name=wan1_qos_high packet-mark="" parent=upstream_qos \
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=700k name=wan1_qos_low packet-mark="" parent=upstream_qos \
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=5M \
max-limit=10M name=lan_wow packet-mark=wow parent=lan_qos_high priority=1 \
queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=512k \
max-limit=1M name=wan1_wow packet-mark=wow parent=wan1_qos_high priority=\
1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=5M \
max-limit=10M name=lan_vent packet-mark=vent parent=lan_qos_high \
priority=2 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=512k \
max-limit=1M name=wan1_vent packet-mark=vent parent=wan1_qos_high \
priority=2 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=350k \
max-limit=700k name=wan1_low_prior packet-mark=low_priority parent=\
wan1_qos_low priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=5M \
max-limit=9M name=lan_low_priority packet-mark=low_priority parent=\
lan_qos_low priority=8 queue=default
/Ip firewall mangle
add action=mark-packet chain=postrouting comment="" disabled=no dst-port=3724 \
new-packet-mark=wow passthrough=no protocol=tcp src-address=\
192.168.1.0/24
add action=mark-packet chain=prerouting comment="" disabled=no in-interface=\
wan1 new-packet-mark=wow passthrough=no protocol=tcp src-port=3724
add action=mark-packet chain=prerouting comment="" disabled=no in-interface=\
wan1 new-packet-mark=vent passthrough=no protocol=tcp src-port=5421
add action=mark-packet chain=postrouting comment="" disabled=no dst-port=5421 \
new-packet-mark=vent passthrough=no protocol=tcp
add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=\
low_priority passthrough=no
good luck!