Bandwith Management

Hi Folks,

Good morning (maybe no, this is morning in my place)

Gonna do bandwith limitation.

I have 4 subnet which consist of:

192.168.1.0 = Secure
192.168.2.0 = Unsecure
192.168.4.0 = Super
192.168.103.0 = Server

I want to limit the internet bandwith for the unsecure network and secure network. I have tried the Simple Queue but the result is even the traffic in local got limited, mean traffic between subnet get limited as well.

Any advice?

You have to use packet marks to make smarter decisions than just upload by source address and download by destination address.

Something like

/ip firewall mangle
add chain=prerouting connection-mark=no-mark src-address=192.168.1.0/24 dst-address=!192.168.0.0/16 action=mark-connection new-connection-mark=secure
add chain=prerouting connection-mark=secure action=mark-packet new-packet-mark=secure

then create simple queues based on those packet marks.

can you give an example of the simple queue?

tried with your rules and added some simple queue, it is not affected.

/queue simple
add packet-marks=secure max-limit=1000000
[admin@MikroTik] /queue simple> add packet-marks=secure max-limit=1000000

expected value of in (line 1 column 41