Bridge Works but fails to limit bandwidth

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 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

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

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

you are welcome

happy to hear it works!

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
BridgeQueue_OneWay.PNG

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/t/simple-queue/58846/1 Hope my recommendations will help you.

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?

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?
bridge.png