C
C
Caspergreen2019-09-12 15:51:41
linux
Caspergreen, 2019-09-12 15:51:41

How to set up a shaper on mikrotik?

Good day to all. There is a network 192.168.100.0/24 that is distributed by Mikrotik, this network is shaped. How to make it so that the PCs located inside the network 192.168.100.0/24 do not fall into the shape (locally between computers the speed is not shaped), but is shaped only at the exit to the world?
Attached configuration

/queue simple
add max-limit=5M/5M name=queue3 target=192.168.100.210/32,192.168.150.213/32
/queue type
add kind=pcq name=pcq-burst-download pcq-burst-rate=10M pcq-burst-threshold=\
    1M pcq-burst-time=20s pcq-classifier=dst-address pcq-dst-address6-mask=64 \
    pcq-rate=2M pcq-src-address6-mask=64
add kind=pcq name=pcq-burst-upload pcq-burst-rate=10M pcq-burst-threshold=1M \
    pcq-burst-time=20s pcq-classifier=src-address pcq-dst-address6-mask=64 \
    pcq-rate=2M pcq-src-address6-mask=64
add kind=pcq name=tasix pcq-classifier=\
    src-address,dst-address,src-port,dst-port pcq-dst-address-mask=0 \
    pcq-dst-address6-mask=64 pcq-rate=100M pcq-src-address-mask=0 \
    pcq-src-address6-mask=64
/queue simple
add max-limit=10M/10M name=queue1 queue=default/default target=\
    192.168.100.99/32,192.168.150.1/32,192.168.150.106/32
add max-limit=10M/10M name=queue2 queue=default/default target=\
    192.168.100.38/32,192.168.100.58/32,192.168.100.210/32,192.168.150.67/32
add limit-at=12M/12M max-limit=12M/12M name=Queue-burst-limit queue=\
    pcq-burst-upload/pcq-burst-download target=\
    192.168.100.0/24,192.168.150.0/24
/queue tree
add disabled=yes name=tasix packet-mark=Mark-packet-forQueue parent=\
    "400 Office Wifi" queue=tasix
add disabled=yes name=queue1 packet-mark=Mark-packet-forQueue parent=\
    "200 Office" queue=tasix

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-09-13
@q2digger

look at what criteria packages are marked - Mark-packet-forQueue
everything is done there, in marking, exclude the specified ranges and the packages will not be marked, the shaper will not work on us.
I will add.
you have a mess here, and simple queues and PCQ, you will decide how to. PCQ is certainly better, but you need to understand what and how happens in the network and router, how the packet goes from SRC to DST.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question