Community discussions

MikroTik App
 
Bjesomar
just joined
Topic Author
Posts: 3
Joined: Tue Jun 10, 2014 10:18 am

Simpe queue

Tue Jun 10, 2014 11:35 am

Hello,
I have some problems with simple queue on Mikrotik routers, specifically CCR1036-8G-2S+
We have 2 of those linked with 10G SFPs, but since we don't want to give out customer full 10G bandwidht, I need to limit the bandwidth on this 10G link.

I've tried to do it with this command:
queue simple add name=asdf target-addresses=0.0.0.0/0 max-limit=2G/2G interface=ptp_bridge
but it's not behaving very well. Sometimes speeds are around 500Mbps, and sometimes 3G with no apparent reason. We are testing it with iperf. With queue shut down speeds are around 4-5 Gbps.
Also, i ran into interface argument, but it's not available in newer versions of RouterOS.

Can someone please tell me what's the best way to limit the bandwidth on sfp interface to e.g. 2G?

KR,
Matej
 
Bjesomar
just joined
Topic Author
Posts: 3
Joined: Tue Jun 10, 2014 10:18 am

Re: Simpe queue

Fri Jun 13, 2014 10:21 am

Here are some tests with different settings:

/queue simple
add max-limit=2G/2G name=queue1 target=192.168.55.0/24

cca 700Mb/s



/queue simple
add max-limit=2G/2G name=queue1 queue=default/default target=192.168.55.0/24

cca 1.2 Gb/s



/queue simple
add max-limit=2G/2G name=queue1 queue=pcq-upload-default/pcq-download-default target=192.168.55.0/24

cca 900 Mb/s



/queue simple
add max-limit=2G/2G name=queue1 queue=pcq-download-default/pcq-upload-default target=192.168.55.0/24

cca 900Mb/s



/queue simple
add dst=ptp max-limit=2G/2G name=queue1 queue=default/default target=192.168.55.0/24

cca 1.2 Gb/s



/queue simple
add dst=lokalni max-limit=2G/2G name=queue1 queue=default/default target=192.168.55.0/24

cca 3.5 Gb/s



Disabled
/queue simple
add disabled=yes dst=ptp max-limit=2G/2G name=queue1 queue=default/default target=192.168.55.0/24

cca 3.6 Gb/s



I will post logical topology soon, but as you can see "PtP" is bridge for point to point between routers, and "lokalni" is local bridge.

Who is online

Users browsing this forum: eltikpad and 33 guests