I have such configuration:
Code: Select all
/ip firewall mangle
add chain=prerouting action=mark-packet new-packet-mark=icmp.packet passthrough=no protocol=icmp
add chain=prerouting action=mark-connection new-connection-mark=connection passthrough=yes src-address=10.0.1.0/24
add chain=prerouting action=mark-packet new-packet-mark=packet passthrough=no connection-mark=connection
/queue type
add name="pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
add name="pcq-upload" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000
/queue simple
add name="icmp" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=icmp.packet direction=both priority=1 queue=default/default limit-at=0/0 max-limit=0/0 total-queue=default
/queue tree
add name="download" parent=lan packet-mark=packet limit-at=0 queue=default priority=2 max-limit=10M burst-limit=0 burst-threshold=0 burst-time=0s
add name="download.equalize" parent=download packet-mark=packet limit-at=0 queue=pcq-download priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
add name="upload" parent=wan packet-mark=packet limit-at=0 queue=default priority=3 max-limit=5M burst-limit=0 burst-threshold=0 burst-time=0s
add name="upload.equalize" parent=upload packet-mark=packet limit-at=0 queue=pcq-upload priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
- ICMP traffic will be proceeded first without speed limitations?
- Download traffic is proceeded before upload traffic?
- Clients, from network 10.0.1.0/24 will have equal upload/download speed?
- If there are 10 clients and all of them is using maximum bandwidth available, each will have 512kbps of upload traffic and 1Mbps of download traffic?
Thanks!
Denis.