Community discussions

MUM Europe 2020
 
Zwodka
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Fri Sep 19, 2014 9:41 pm
Location: Hungary

Simple Queue for 2 subnet

Tue Jan 06, 2015 11:05 am

Hi All!

I get to know the Simple Queue topic. I use a Rb951G for internet sharing:
- 10M up / 20M down
- 2 subnet
First of all I would like to share the bandwidth evenly distribute.I tried this:

add dst=ether1-gtw max-limit=10M/20M name=Sq-Lan1-Lan2 priority=8/8 queue=default/default target=192.168.81.0/24,192.168.82.0/24

But I would like to provide higher priority for first subnet:
add dst=ether1-gtw name=Sq-Lan1 parent=Sq-Lan1-Lan2 priority=7/7 target=192.168.81.0/24
add dst=ether1-gtw name=Sq-Lan2 parent=Sq-Lan1-Lan2 priority=8/8 target=192.168.82.0/24

Is it a right way to do it?
 
ngnr
just joined
Posts: 11
Joined: Mon Jun 09, 2014 11:52 pm
Location: Spain

Re: Simple Queue for 2 subnet

Tue Jan 06, 2015 12:09 pm

If you simply give higher priority to one of the targets you can end up with your 192.168.81.0/24 using all your bandwidth leaving your other subnet without any. The way I would prioritize is by defining 2 simple queues one for each target subnet. Allow max-limit 10M/20M on both queues so both subnets can have maximum speeds when not used. And last define limit-at parameters for each subnet. This will tell the mikrotik how to split the capacity in case of saturation. For examble you can set limit-at for 192.168.81.0/24 at 8M/16M and for 192.168.82.0/24 at 2M/4M. This way in case clients are using all the available bandwidth MKT knows how to split it.

Hope it helps.
 
Zwodka
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Fri Sep 19, 2014 9:41 pm
Location: Hungary

Re: Simple Queue for 2 subnet

Tue Jan 06, 2015 2:07 pm

If you simply give higher priority to one of the targets you can end up with your 192.168.81.0/24 using all your bandwidth leaving your other subnet without any. The way I would prioritize is by defining 2 simple queues one for each target subnet. Allow max-limit 10M/20M on both queues so both subnets can have maximum speeds when not used. And last define limit-at parameters for each subnet. This will tell the mikrotik how to split the capacity in case of saturation. For examble you can set limit-at for 192.168.81.0/24 at 8M/16M and for 192.168.82.0/24 at 2M/4M. This way in case clients are using all the available bandwidth MKT knows how to split it.

Hope it helps.
It sounds good!
MegaThanx!

Who is online

Users browsing this forum: No registered users and 19 guests