Community discussions

MikroTik App
Barabba
刚刚加入了
Topic Author
Posts: 6
加入: Thu Apr 25, 2019 12:46 pm

Help: very very simple way/command to prioritize one IP address

Thu Apr 25, 2019 2:14 pm

Hi mates, thanks for support, I've just updated to the latest version,
I've been Googling around to search myself the solution, but I just found confused posts, different opinions, and all of them seems complicated to implement and not sure to give the proper result.
I have a smart TV home 192.168.1.250 that uses IPTV streaming, I also have doorbell 192.168.1.251 which send me call by internet if someone ring, I need to prioritize these IPs ovet the other, tha't simply what I need, no badwith limitations, no any other setting.
I really hope there is a command like this (I'm completely inventing it now):
queue simple add name="INTERNET" target-addresses=192.168.1.251/32 interface=all priority=1
queue simple add name="INTERNET" target-addresses=192.168.1.250/32 interface=all priority=2
queue simple add name="INTERNET" target-addresses=192.168.1.0/24 interface=all priority=8

I wonder if one day Mikrotik will make a simple GUI interface on webconfig where I can put the IP address only and the priority value, it would be very useful.
thank you
Top
Barabba
刚刚加入了
Topic Author
Posts: 6
加入: Thu Apr 25, 2019 12:46 pm

Re: Help: very very simple way/command to prioritize one IP address

Thu Apr 25, 2019 8:31 pm

please help me, thanks!
Top
HzMeister
常客
常客
Posts: 73
加入: Sun Jan 28, 2018 9:48 pm

Re: Help: very very simple way/command to prioritize one IP address

Thu Apr 25, 2019 9:21 pm

Delete your simple queue rules and copy/paste this into terminal:
Code:Select all
/queue simple add max-limit=2M/20M name=parent target=192.168.1.0/24 add name=doorbell parent=parent priority=1/1 queue=default/default target=192.168.1.251/32 add name=iptv parent=parent priority=2/2 queue=default/default target=192.168.1.250/32 add name=lan parent=parent queue=hotspot-default/hotspot-default target=192.168.1.0/24
All you have to do is change the max limits of the parent queue(80-90% of what you get on speedtests). If you set the max-limits too high(or not at all, like you have right now), you lose control of qos and it won't work properly. Also, fasttrack MUST be disabled in the filter rules.
Top
Barabba
刚刚加入了
Topic Author
Posts: 6
加入: Thu Apr 25, 2019 12:46 pm

Re: Help: very very simple way/command to prioritize one IP address

Sat Apr 27, 2019 11:43 am

thank you a lot for your kind reply! I'll try it as soon as possibile. Just couple of questions:
How many parent priority are possibile to define?
The command add max-limit=2M/20M, 2M is upload and 20M downoad?
If I put the maximum bitrate 90% of the available bandwith, will I be sure to reach 100% with the priority connection working? I mean, the priority=1/1 queue=default/default can reach the 100% of bandwith?
Thank you a lot!
Top

Who is online

Users browsing this forum:daveauld,vNateand 23 guests