Community discussions

MikroTik App
 
billjellis
newbie
Topic Author
Posts: 37
Joined: Mon Dec 15, 2014 11:04 pm

Queue to slow video to a crawl

Mon Mar 21, 2016 4:57 am

Hello,

I have sites that have both a Free basic WiFi an a paid portion. (everyone uses the same ID and password for the Free. The queues are create for the the Free Account:
Maximum Limit: 512 Kbps 512Kbps
Burst Rate: 512Kbps 512Kbps
Burst Threshold: 512Kbps 512Kbps
Burst Time: 5 Seconds
I have tested this and guests can still watch video Netflix etc?

Authentication is by an outside Radius server.
Paid users create their own id and password and get 3000kb down and 512k up.

What am i missing?
 
User avatar
pukkita
Trainer
Trainer
Posts: 3037
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: Queue to slow video to a crawl

Mon Mar 21, 2016 9:39 am

To queue video you should use mangle to mark http connection with connection-bytes greater than several megabytes to an specific connection-mark, then use a queue (usually on a queue tree with more child queues for rest of traffic "categories" like regular HTTP, email, dns, gaming, voip, bulk...) to shape that traffic.

What you are doing right now is simply limiting bandwidth to 512Kbps for all traffic.
Simplicity is the Ultimate Sophistication - Da Vinci
Getting the most out of this forum
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24608
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Queue to slow video to a crawl

Mon Mar 21, 2016 1:46 pm

pukkita suggestion will work. But you can also use Burst. But in your setup, burst speed is the same as regular limit.

You should then use actual limit like 64Kbit and Burst for a few seconds to 1Mbit. This way, short downloads like webpages and images will get 1Mbit, but if download continues longer than the specified number of seconds, it will be slowed:

http://wiki.mikrotik.com/index.php?titl ... edirect=no

But this will limit any downloads. Not just video.
No answer to your question? How to write posts

Who is online

Users browsing this forum: chebedewel and 52 guests