MikroTik Queue

Dear All
I have a MikroTik Natted network.
Mikrotik router os has two interfaces (LAN and WAN)
All of my users are connected via switch to LAN interface. Please see the attached image for my network layout.
Drawing1.jpg
My problem is, when they share file between them their bandwidth also shaped by Mikrotik.
Even my Mail server is on same switch, when users use pop3 that also shaping by miktorik.

I need only shaping when user use WAN port. What should I do now, will please help me.

Best Regards
Halimul Alam

Hello
see http://forum.mikrotik.com/t/queue-for-local-content/57157/1 topic.you can use my answer for your problem.

Good Luck

Dear Hassibi
Thanks for your early response.
Will you please let me know more details?
I need to allocate different bandwidth for different users, if you please let me know the process in details it will be very much helpful for me.

Regards
Halimul Alam

Are client on different subnet to server - ie does traffic have to pass through router to get from client to server - if so, please post queue config - perhaps you just need to exclude 192.168.0.0/16 from you queue ?

Hi
you can change your mangles for each user (or users)
use src address or dst address or better than use Address list for grouping your clients and then use that address lists in your mangle and then mark their packets.so you can use that mark packet in your simple queue and set max-limit for that.

Setup example: (This will only adjust WAN traffic)
Adjust to your needs.

Assuming you have:
WAN = 203.x.x.x
LAN = 192.x.x.x
Then:

/queue simple add name=InternetQoS target-addresses=0.0.0.0/0 comment=“WAN queue”
/queue simple add name=Group1 priority=6 target-addresses=192.168.6.0/24 max-limit=400k/2M limit-at=400k/2M parent=InternetQoS
/queue simple add name=Group2 priority=7 target-addresses=192.168.7.0/24 max-limit=300k/1M limit-at=300k/1M parent=InternetQoS
/queue simple add name=Group3 priority=8 target-addresses=192.168.8.0/24 max-limit=200k/1M limit-at=200k/1M parent=InternetQoS

You can modify IP addresses/lists, and speed limits using the GUI…

For LAN Queue you can begin with:

/queue simple add name=LAN priority=7 target-addresses=192.168.0.0/16 dst-address=192.168.0.0/16 comment=“LAN queue”

Simple LAN Queue goes top.

Post if this works :slight_smile:

No Boss, they all are on same subnet. Example:

User1: 192.168.1.121
SM: 255.255.0.0
GW: Mikrotik (192.168.1.1)

Server: 192.168.1.233
SM: 255.255.0.0
GW: Mikrotik (192.168.1.1)

Thanks for your response.

Boss,
They all are on same sub-net (ie:255.255.0.0)

from what you have posted it does not seem possible that your MT router is Queueing LAN traffic as it should NOT be passing through your router - try unplugging the Mikrotik and check LAN transfer speed between machines on LAN.