Community discussions

MikroTik App
 
levicki
newbie
Topic Author
Posts: 32
Joined: Mon Apr 30, 2018 12:22 pm
Location: Belgrade, Serbia
Contact:

Help with Microsoft Teams QoS

Thu Mar 19, 2020 2:44 pm

Hello,

I would like to implement QoS for Microsoft Teams.

As per Microsoft's documentation, the following address ranges should be optimized for Teams:
13.107.64.0/18
52.112.0.0/14
Docs are here:
https://docs.microsoft.com/en-us/micros ... re-network

And here:
https://docs.microsoft.com/en-us/micros ... ion-method

I did make some experiments and I kind of understand how to mark outbound traffic and prioritize that, but not how to do so for the inbound traffic (which may come from those ranges but also from different peers in peer-to-peer scenarios).

I would appreciate if someone with more experience with queue trees would explain how to properly set this up so that there is guaranteed 1Mbps up and 2Mbps down for Microsoft Teams.
 
User avatar
jvanhambelgium
Forum Guru
Forum Guru
Posts: 1114
Joined: Thu Jul 14, 2016 9:29 pm
Location: Belgium

Re: Help with Microsoft Teams QoS

Thu Mar 19, 2020 4:00 pm

Are you the ISP ? I don't see any real-world value on INBOUND QoS for such Internet application ?
For me, QoS is as much as possible an "end2end" story, not just on a single device.
You should at least be able to signal your upstream node to hold back some of the packets before they are placed on the link between yourself & ISP. (or put the Teams packets first on the links before other type of traffic)
When you have your own datacenters (with application servers), have some lines that accept & handle DSCP values and you control the routers on a certain premises you can do some end2end stuff.

Offcourse if you have something like Azure ExpressRoute links probably Teams is also accessible through there with QoS when properly engineered.
 
levicki
newbie
Topic Author
Posts: 32
Joined: Mon Apr 30, 2018 12:22 pm
Location: Belgrade, Serbia
Contact:

Re: Help with Microsoft Teams QoS

Sun Mar 22, 2020 5:59 pm

Are you the ISP ?

No. Just someone who wants to have undisturbed Teams experience with coworkers when working from home regardless of what other members of the household (or even myself) are doing on the internet. I have Mikrotik hardware good enough to solve that problem.

I don't see any real-world value on INBOUND QoS for such Internet application ?

To guarantee (reserve) download bandwidth when there is other heavy downloading on the connection.

For example if I have 500Mbps download speed, a browser can download a file at 500Mbps, but if Teams is used at the same time, it should get its own 2Mbps download rate, and browser should be capped at 498Mbps.
 
User avatar
jvanhambelgium
Forum Guru
Forum Guru
Posts: 1114
Joined: Thu Jul 14, 2016 9:29 pm
Location: Belgium

Re: Help with Microsoft Teams QoS

Sun Mar 22, 2020 9:43 pm

Rate-limiting / capping / traffic-shapen is often done on the EGRESS interface. So in your case the most easy perhaps to work with queues or something ?

https://wiki.mikrotik.com/wiki/Manual:Q ... Q_Examples

https://wiki.mikrotik.com/wiki/Bandwidt ... and_Queues

This should give you a good example & scenario's, some options exist. You could limit everything NOT related to the IP-prefixes of Teams that you mentioned.
If you do not have too much devices on your home-network that are real downloaders, children playing games etc this might do the trick to do it based on the IP the stations have on the LAN. (with PCQ)
 
epkulse
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Sat Oct 27, 2012 12:57 am

Re: Help with Microsoft Teams QoS

Sun Apr 26, 2020 12:14 pm

I have the same issue. My ISP provides 250M/250M, which is sufficient for my needs. But, when working at home I use Teams a lot to communicate with my colleagues - and there are lots of disturbancies all the time... Is there a way to prioritize Teams traffic in the router to ensure good meeting quality?
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11126
Joined: Mon Dec 04, 2017 9:19 pm

Re: Help with Microsoft Teams QoS

Sun Apr 26, 2020 12:30 pm

Look here.

Specifically for your issue, the summary is that in download direction, it only makes sense to throttle traffic whose source can detect that it is throttled and can adjust to that (which is all TCP traffic and a few advanced applications using UDP as transport), but throttling download traffic whose source doesn't get any feedback about that has no effect. The throttling of download is actually made by queueing the packets in WAN->LAN direction.

So depending on what is the actual traffic which interferes with your videoconferencing sessions, you may or may not be able to make more space for the videoconferences in the download direction of the uplink or not.

Who is online

Users browsing this forum: WarlorZ, wispmikrotik and 33 guests