Community discussions

MikroTik App
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Simple queue upload not working in bridge mode

Thu Apr 16, 2015 5:15 pm

I can't understand why simple queue works perfectly when target is download but it fails when limiting upload.

See my config:
 0    name="queue1" target-addresses=0.0.0.0/0 interface=bridge1 parent=none 
      packet-marks="" direction=both priority=8 
      queue=default-small/default-small limit-at=256k/0 max-limit=512k/2M 
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s 
      total-queue=default-small 
interface bridge settings print 
            use-ip-firewall: yes
   use-ip-firewall-for-vlan: no
  use-ip-firewall-for-pppoe: no
where am I go wrong?
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Wed Apr 22, 2015 1:31 pm

no one?
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Wed Apr 22, 2015 2:19 pm

maybe you don't know what "Limit-at" parameter stands for:

CIR (Committed Information Rate) – (limit-at in RouterOS) worst case scenario, flow will get this amount of traffic rate regardless of other traffic flows. At any given time, the bandwidth should not fall below this committed rate.
MIR (Maximum Information Rate) – (max-limit in RouterOS) best case scenario, maximum available data rate for flow, if there is free any part of bandwidth.
 
baggar11
Frequent Visitor
Frequent Visitor
Posts: 59
Joined: Tue Oct 22, 2013 4:49 am

Re: Simple queue upload not working in bridge mode

Wed Apr 22, 2015 7:52 pm

You need to mark the incoming interface for your queue.

Example:

mark Upload on wlan1
mark Download on bridge-local
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Wed Apr 22, 2015 8:09 pm

how can I mark it?
thanks
 
baggar11
Frequent Visitor
Frequent Visitor
Posts: 59
Joined: Tue Oct 22, 2013 4:49 am

Re: Simple queue upload not working in bridge mode

Thu Apr 23, 2015 1:20 am

In your 1st post, you are marking bridge1. Do the same thing, but on the interface you wish to limit for upload.
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Sun Apr 26, 2015 5:54 pm

In your 1st post, you are marking bridge1. Do the same thing, but on the interface you wish to limit for upload.
adding a new queue only for upload marking interface=wlan1-gateway ?
 
baggar11
Frequent Visitor
Frequent Visitor
Posts: 59
Joined: Tue Oct 22, 2013 4:49 am

Re: Simple queue upload not working in bridge mode

Mon Apr 27, 2015 7:55 pm

If you're trying to apply it to wireless, yes. Give it a try. You didn't give any details on the device you're trying to configure or the traffic flow you're trying to queue.
In your 1st post, you are marking bridge1. Do the same thing, but on the interface you wish to limit for upload.
adding a new queue only for upload marking interface=wlan1-gateway ?
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Mon Apr 27, 2015 8:42 pm

It's a CPE in router mode
 
baggar11
Frequent Visitor
Frequent Visitor
Posts: 59
Joined: Tue Oct 22, 2013 4:49 am

Re: Simple queue upload not working in bridge mode

Tue Apr 28, 2015 3:47 am

Here's my config I've used with success. You'll need to adjust your interfaces accordingly.

[admin@MikroTik] > /queue tree print
Flags: X - disabled, I - invalid
0 X name="down" parent=bridge-local packet-mark=down limit-at=0 queue=pcq-download-default priority=8 max-limit=5M burst-limit=0 burst-threshold=0 burst-time=0s

1 X name="up" parent=wlan1 packet-mark=up limit-at=0 queue=pcq-upload-default priority=8 max-limit=2M burst-limit=0 burst-threshold=0 burst-time=0s
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Sun May 03, 2015 5:38 pm

I use simple queues, while you're using pcq with queues tree

I cannot limit upload traffic yet.

How can I make 2 different queues for download and upload traffic?
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Sun May 03, 2015 7:03 pm

I need to mark traffic from/to each interface and then limit packet marks with simple queue?
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Simple queue upload not working in bridge mode

Fri May 08, 2015 8:53 pm

No one?

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], andreacar, sebus46, tarfox and 56 guests