Community discussions

MikroTik App
 
logg
just joined
Topic Author
Posts: 7
Joined: Thu Jan 16, 2014 12:23 pm

queue rules for IPTV

Mon Feb 20, 2017 9:49 pm

hello,
is a few days I'm fighting for find a rules of priority for customers who use the IPTV. I know ip source of video streams I made the mangle rules which mark packets and created a queue trees. On average, the ip tv needs 3 MB of bandwidth I assign a general queue 7 mB. If the user is browsing net (youtube, Facebook) when switch channel on box it block.
Could you suggest me a rule that gives the IPTV priorities empirically.seems that the queue is met only for new connections and not for existing connections
Thanks in advance

my actual config

mangle rules

  chain=prerouting action=mark-connection new-connection-mark=iptv 
      passthrough=yes src-address-list=client-iptv log=no log-prefix="" 

 4    chain=forward action=mark-connection new-connection-mark=iptv 
      passthrough=yes dst-address-list=iptv log=no log-prefix="" 

 5    chain=prerouting action=mark-packet new-packet-mark=IPtv passthrough=yes 
      log=no log-prefix="" 

 6    chain=forward action=mark-packet new-packet-mark=IPtv passthrough=yes 
      log=no log-prefix="" 



queue
   0   name="queue1" parent=global packet-mark=IPtv limit-at=0 queue=iptv priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=10 

queue type

name="iptv" kind=pfifo pfifo-limit=50000 

 
gustavomam
Trainer
Trainer
Posts: 287
Joined: Tue Jul 23, 2013 6:29 pm
Location: Spain
Contact:

Re: queue rules for IPTV

Tue Feb 21, 2017 11:37 am

Hi.

You can force to reset established previous connection in the connection tracking erasing all connections of IPTV

Mangle only works with new connections, if there is a established won't mark it
 
User avatar
dgnevans
Member
Member
Posts: 469
Joined: Fri Mar 08, 2013 11:24 am
Location: Zimbabwe
Contact:

Re: queue rules for IPTV

Tue Feb 21, 2017 11:53 am

are there static IP's for the IP'TV's if you have static ips for them you can create simple queues and use the target as the IP's you know. That way all traffic from and to those devices will get priority.

Who is online

Users browsing this forum: Bing [Bot], Demidrol, GoogleOther [Bot] and 186 guests