После ознакомления с предложенной инструкцией
http://mum.mikrotik.com/presentations/CZ09/QoS_Megis.pdf прошу Вас помочь разобраться, правильно ли я все понял
с написанием шейпера при выделении скорости
Очень не понятно с queue tree к каким интерфейсам привязывать
при использовании src-nat и как потом к этому добавить
правила приоритет по виду трафика
MikroTik RouterOS 3.9
interface print
Flags: X - disabled, R - running, D - dynamic, S - slave
# NAME TYPE MTU
0 R OUT ether 1500
1 R HotSpot ether 1500
2 R Nord ether 1500
3 R Zavod3 ether 1500
ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.20.1/24 192.168.20.0 192.168.20.255 HotSpot
1 192.168.30.1/24 192.168.30.0 192.168.30.255 Nord
2 192.168.50.1/24 192.168.50.0 192.168.50.255 Zavod3
5 192.168.88.10/24 192.168.88.0 192.168.88.255 OUT
ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; 512k
chain=srcnat action=src-nat to-addresses=192.168.88.10 to-ports=0-65535
src-address-list=512k
1 ;;; 1M
chain=srcnat action=src-nat to-addresses=192.168.88.10 to-ports=0-65535
src-address-list=1M
2 ;;; 2M
chain=srcnat action=src-nat to-addresses=192.168.88.10 to-ports=0-65535
src-address-list=2M
3 ;;; 3M
chain=srcnat action=src-nat to-addresses=192.168.88.10 to-ports=0-65535
src-address-list=3M
4 ;;; 4M
chain=srcnat action=src-nat to-addresses=192.168.88.10 to-ports=0-65535
src-address-list=4M
5 ;;; 5M
chain=srcnat action=src-nat to-addresses=192.168.88.10 to-ports=0-65535
src-address-list=5M
ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; con-src-512k
chain=forward action=mark-connection new-connection-mark=con-src-512k passthrough=yes src-address-list=512k
1 ;;; pac-src-512k
chain=forward action=mark-packet new-packet-mark=pac-src-512k passthrough=no connection-mark=con-src-512k
2 ;;; con-dst-512k
chain=forward action=mark-connection new-connection-mark=con-dst-512k passthrough=yes dst-address-list=512k
3 ;;; pac-dst-512k
chain=forward action=mark-packet new-packet-mark=pac-dst-512k passthrough=no connection-mark=con-dst-512k
4 ;;; con-src-1M
chain=forward action=mark-connection new-connection-mark=con-src-1M passthrough=yes src-address-list=1M
5 ;;; pac-src-1M
chain=forward action=mark-packet new-packet-mark=pac-src-1M passthrough=no connection-mark=con-src-1M
6 ;;; con-dst-1M
chain=forward action=mark-connection new-connection-mark=con-dst-1M passthrough=yes dst-address-list=1M
7 ;;; pac-dst-1M
chain=forward action=mark-packet new-packet-mark=pac-dst-1M passthrough=no connection-mark=con-dst-1M
8 ;;; con-src-2M
chain=forward action=mark-connection new-connection-mark=con-src-2M passthrough=yes src-address-list=2M
9 ;;; pac-src-2M
chain=forward action=mark-packet new-packet-mark=pac-src-2M passthrough=no connection-mark=con-src-2M
10 ;;; con-dst-2M
chain=forward action=mark-connection new-connection-mark=con-dst-2M passthrough=yes dst-address-list=2M
11 ;;; pac-dst-2M
chain=forward action=mark-packet new-packet-mark=pac-dst-2M passthrough=no connection-mark=con-dst-2M
12 ;;; con-src-3M
chain=forward action=mark-connection new-connection-mark=con-src-3M passthrough=yes src-address-list=3M
13 ;;; pac-src-3M
chain=forward action=mark-packet new-packet-mark=pac-src-3M passthrough=no connection-mark=con-src-3M
14 ;;; con-dst-3M
chain=forward action=mark-connection new-connection-mark=con-dst-3M passthrough=yes dst-address-list=3M
15 ;;; pac-dst-3M
chain=forward action=mark-packet new-packet-mark=pac-dst-3M passthrough=no connection-mark=con-dst-3M
16 ;;; con-src-4M
chain=forward action=mark-connection new-connection-mark=con-src-4M passthrough=yes src-address-list=4M
17 ;;; pac-src-4M
chain=forward action=mark-packet new-packet-mark=pac-src-4M passthrough=no connection-mark=con-src-4M
18 ;;; con-dst-4M
chain=forward action=mark-connection new-connection-mark=con-dst-4M passthrough=yes dst-address-list=4M
19 ;;; pac-dst-4M
chain=forward action=mark-packet new-packet-mark=pac-dst-4M passthrough=no connection-mark=con-dst-4M
20 ;;; con-src-5M
chain=forward action=mark-connection new-connection-mark=con-src-5M passthrough=yes src-address-list=5M
21 ;;; pac-src-5M
chain=forward action=mark-packet new-packet-mark=pac-src-5M passthrough=no connection-mark=con-src-5M
22 ;;; con-dst-5M
chain=forward action=mark-connection new-connection-mark=con-dst-5M passthrough=yes dst-address-list=5M
23 ;;; pac-dst-5M
chain=forward action=mark-packet new-packet-mark=pac-dst-5M passthrough=no connection-mark=con-dst-5M
24 X ;;; unmarked traffic
chain=forward action=log log-prefix=""""
queue tree print
Flags: X - disabled, I - invalid
0 name="ALL-DST" parent=OUT packet-mark="" limit-at=0 queue=default
priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
1 name="ALL-SRC" parent=global-in packet-mark="" limit-at=0 queue=default
priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
2 name="dst-512k" parent=ALL-DST packet-mark=pac-dst-512k limit-at=0
queue=dst-512k priority=8 max-limit=512000 burst-limit=0
burst-threshold=0 burst-time=0s
3 name="dst-1M" parent=ALL-DST packet-mark=pac-dst-1M limit-at=0
queue=dst-1M priority=8 max-limit=1000000 burst-limit=0
burst-threshold=0 burst-time=0s
4 name="dst-2M" parent=ALL-DST packet-mark=pac-dst-2M limit-at=0
queue=dst-2M priority=8 max-limit=2000000 burst-limit=0
burst-threshold=0 burst-time=0s
5 name="dst-3M" parent=ALL-DST packet-mark=pac-dst-3M limit-at=0
queue=dst-3M priority=8 max-limit=3000000 burst-limit=0
burst-threshold=0 burst-time=0s
6 name="dst-4M" parent=ALL-DST packet-mark=pac-dst-4M limit-at=0
queue=dst-4M priority=8 max-limit=4000000 burst-limit=0
burst-threshold=0 burst-time=0s
7 name="dst-5M" parent=ALL-DST packet-mark=pac-dst-5M limit-at=0
queue=dst-5M priority=8 max-limit=5000000 burst-limit=0
burst-threshold=0 burst-time=0s
8 name="src-512k" parent=ALL-SRC packet-mark=pac-src-512k limit-at=0
queue=src-512k priority=8 max-limit=512000 burst-limit=0
burst-threshold=0 burst-time=0s
9 name="src-1M" parent=ALL-SRC packet-mark=pac-src-1M limit-at=0
queue=src-1M priority=8 max-limit=1000000 burst-limit=0
burst-threshold=0 burst-time=0s
10 name="src-2M" parent=ALL-SRC packet-mark=pac-src-2M limit-at=0
queue=src-2M priority=8 max-limit=2000000 burst-limit=0
burst-threshold=0 burst-time=0s
11 name="src-3M" parent=ALL-SRC packet-mark=pac-src-3M limit-at=0
queue=src-3M priority=8 max-limit=3000000 burst-limit=0
burst-threshold=0 burst-time=0s
12 name="src-4M" parent=ALL-SRC packet-mark=pac-src-4M limit-at=0
queue=src-4M priority=8 max-limit=4000000 burst-limit=0
burst-threshold=0 burst-time=0s
13 name="src-5M" parent=ALL-SRC packet-mark=pac-src-5M limit-at=0
queue=src-5M priority=8 max-limit=5000000 burst-limit=0
burst-threshold=0 burst-time=0s
queue type print
0 name="default" kind=pfifo pfifo-limit=50
1 name="ethernet-default" kind=pfifo pfifo-limit=50
2 name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514
3 name="synchronous-default" kind=red red-limit=60 red-min-threshold=10
red-max-threshold=50 red-burst=20 red-avg-packet=1000
4 name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514
5 name="ALL-SRC" kind=pcq pcq-rate=0 pcq-limit=50
pcq-classifier=src-address,src-port pcq-total-limit=2000
6 name="ALL-DST" kind=pcq pcq-rate=0 pcq-limit=50
pcq-classifier=dst-address,dst-port pcq-total-limit=2000
7 name="src-512k" kind=pcq pcq-rate=512000 pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000
8 name="dst-512k" kind=pcq pcq-rate=512000 pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000
9 name="dst-1M" kind=pcq pcq-rate=1000000 pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000
10 name="dst-2M" kind=pcq pcq-rate=2000000 pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000
11 name="dst-3M" kind=pcq pcq-rate=3000000 pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000
12 name="dst-4M" kind=pcq pcq-rate=4000000 pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000
13 name="dst-5M" kind=pcq pcq-rate=5000000 pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000
14 name="src-1M" kind=pcq pcq-rate=1000000 pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000
15 name="src-2M" kind=pcq pcq-rate=2000000 pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000
16 name="src-3M" kind=pcq pcq-rate=3000000 pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000
17 name="src-4M" kind=pcq pcq-rate=4000000 pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000
18 name="src-5M" kind=pcq pcq-rate=5000000 pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000
19 name="default-small" kind=pfifo pfifo-limit=10
Прошу прощения за большой объем информации, надеюсь, все отнесутся с пониманием