V
V
Vladimir Kivva2017-04-11 21:41:18
linux
Vladimir Kivva, 2017-04-11 21:41:18

How to differentiate the speed on Mikrotik ports?

There is an adult Mikrotik, 24 ports, you need to limit the speed with some simple queue for physical ports. Ports lead to different floors of the building and to different offices, in which there are both switches and routers, so the restriction is needed specifically for the port. At the same time, the floors must be able to communicate with each other at full speed. The last thing I came up with was to give each port an address like 192.168.<1,2,3,4>.1, create a dhcp server for each port and create a simple qeue for each subnet. Will such a scheme work? Is it possible to implement more beautifully?
Mikrotik serves as an Internet gateway, the speed is limited to the Internet.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Pavel, 2017-04-11
@electronik777

the port is L1 (port), and you need to manage traffic at the L2 (mac) or L3 (ip) level, so the restriction will not be by ports, but by MAC or IP, whichever is more convenient for you to manage.
Do you have one sub-network or several?

D
Dmitry Aleksandrov, 2017-04-11
@jamakasi666

Maybe as an option to make PPPoE? After all, later on, one of the bosses will have a "bright" idea to sell the speed a little more than everyone has basic =)
In general, yes, what you wrote in the form of a separate dhcp and the queue will be enough for such a task. Although, as another option, you can remove the queues and release them to the Internet through the firewall rule, cutting down the speed to the outside, but as for me, this is even more evil than the queues.

N
Nikolay, 2017-04-11
@Faight

Cut by ip-addresses, l2 traffic will not fall under simple queue (if you do not have a bridge with use-ip-firewall) - the speed between floors will be full.
[/ offtop]
better to buy a second Mikrotik (c) Saab
[offtop]

D
Dmitry, 2017-04-12
@plin2s

Seems you need PCQ queues and proper subnetting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question