Community discussions

MikroTik App
 
OpusMJW
just joined
Topic Author
Posts: 4
Joined: Mon Aug 13, 2012 11:01 am

Bridge Works but fails to limit bandwidth

Mon Aug 13, 2012 11:14 am

Hi,

Just bought our first Mikrotik 2011LS and I'm struggling to get bandwidth management working. I suspect I don't understand something fundamental.

I have the internet plugged in ETH1 and a PC plugged in ETH5 and I'm wanting to use the Mikrotik as a transparent bandwidth limiter for ETH5/4/3/2 to allocate different speeds. As per attached screen shot I set up a bridge to for all ports from 1-5 and then wanted to limit the bandwidth.

First issue is that the 2M limit I've set on the connection for ETH5 doesn't seem to work. The one I set on ETH1 does though. Second issue is that the bridge I set up on port 1 through 5 doesn't show anything like the traffic that the interfaces are showing. The interface show a full 5M however the bridge shows 90K (see screenshot).

I've looked through the docs and all this looks like it should work ?

I've removed all routing / firewall / everything else I can think of that might interfere.

Any ideas anyone ? Thank-you.
MikrotikBridging.PNG
You do not have the required permissions to view the files attached to this post.
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Bridge Works but fails to limit bandwidth

Mon Aug 13, 2012 2:13 pm

You should use either the queue tree or simple queues to limit your bandwidth. I would guess it is not working because you the interface in a bridge.

http://wiki.mikrotik.com/wiki/Manual:Queue
 
OpusMJW
just joined
Topic Author
Posts: 4
Joined: Mon Aug 13, 2012 11:01 am

Re: Bridge Works but fails to limit bandwidth

Mon Aug 13, 2012 2:18 pm

You should use either the queue tree or simple queues to limit your bandwidth. I would guess it is not working because you the interface in a bridge.

http://wiki.mikrotik.com/wiki/Manual:Queue
Hi,

Thanks for that, I did try the queuing against the bridge but you're right it made no difference. I think the bridging is my issue and there's probably some easy fundamental concept I'm missing. How else would I go about achieving what I'm doing and should I even be bridging at all ?

Thanks
 
User avatar
greencomputing
Frequent Visitor
Frequent Visitor
Posts: 95
Joined: Wed Jun 23, 2010 1:12 pm
Location: Italy

Re: Bridge Works but fails to limit bandwidth

Thu Aug 16, 2012 3:40 pm

Hi sir
did you check that use-ip-firewall is enabled?

[greencomputing@woderland] > /interface bridge settings print 
            use-ip-firewall: yes
   use-ip-firewall-for-vlan: no
  use-ip-firewall-for-pppoe: no
Hoping it could help you

have a nice day
 
OpusMJW
just joined
Topic Author
Posts: 4
Joined: Mon Aug 13, 2012 11:01 am

Re: Bridge Works but fails to limit bandwidth

Thu Aug 16, 2012 4:09 pm

Thank-you for the reply, I knew it would be something fundamental and easy.

My queues now limit bandwidth like I would expect.

Best Regards
Matt
 
User avatar
greencomputing
Frequent Visitor
Frequent Visitor
Posts: 95
Joined: Wed Jun 23, 2010 1:12 pm
Location: Italy

Re: Bridge Works but fails to limit bandwidth

Thu Aug 16, 2012 4:58 pm

you are welcome

happy to hear it works!
 
OpusMJW
just joined
Topic Author
Posts: 4
Joined: Mon Aug 13, 2012 11:01 am

Re: Bridge Works but fails to limit bandwidth

Fri Aug 17, 2012 11:38 am

Ok,

Well it kind of works. I have it set up so that it is applying queuing to 2 specific IP addresses for two different queues and it works fine for the incoming bandwidth but refuses to even acknowledge any outgoing bandwidth and therefore doesn't shape it.

If you look at the snapshot you will see what I mean. I'm send at least as much traffic as I'm receiving however the queue doesn't show any Rx traffic at all.

I can't see I'm doing anything daft, I've read through the packetflow diagrams but clearly I'm still missing something ?

Can anyone help ?

Thanks
You do not have the required permissions to view the files attached to this post.
 
akosenko
newbie
Posts: 48
Joined: Fri Aug 21, 2009 8:56 am
Location: Lipetsk, Russia

Re: Bridge Works but fails to limit bandwidth

Fri Aug 17, 2012 12:05 pm

for queue2 (at your screenshot) change Interface to "all", because you are use bridge, then check.

Also read this to understand simple queue behavior http://forum.mikrotik.com/viewtopic.php?f=2&t=64755. Hope my recommendations will help you.
 
User avatar
greencomputing
Frequent Visitor
Frequent Visitor
Posts: 95
Joined: Wed Jun 23, 2010 1:12 pm
Location: Italy

Re: Bridge Works but fails to limit bandwidth

Fri Aug 17, 2012 12:09 pm

just a question : In the queue definition you are asserting that 192.168.105.71 is reachable trough interface External-Traffic. is this correct? may you remind me how the bridge is definedi in terms of ports?
 
ithink
newbie
Posts: 30
Joined: Sat Dec 01, 2012 12:57 pm
Location: Albania
Contact:

Re: Bridge Works but fails to limit bandwidth

Thu Feb 07, 2013 11:21 am

Hi
I have the same problem with br 2011ls.

My Network is:

I have 3 interface on local-bridge, in local-bridge are ether1=wan, ether2=server1, ether3=server2.
All this interfaces have public IP,
ether1=wan= 200.31.28.11
ether2=server1= 200.31.28.12
ether3=server2= 200.31.28.13
All Server are with Public Ip and are connected directly in each interface.
I want to put Server1 in queues because this server is share file server, i have problem will all my network if Server1 is in use.
I have make some test with Simple queues but the trafik don't pass, use target address&src/dest address in Magle firewall with prerouting... but nothing!!!
For my local network i have queues and work fine.


Can help me?
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 15 guests