Youtube Bandwidth

Hi,
I know it is possible to limit download and upload using a simple queue but what i was trying is that if i mark a limit say 256 k download and 256 k for upload then everything even youtube will also get 256 k download and upload bandwidth. I want to make every connection to have 256 k download and upload except youtube. can we make youtube to have unlimited bandwidth and other to have 256 k speed.

I am using this and it works for me :

/ip firewall mangle add action=add-dst-to-address-list address-list=Youtube address-list-timeout=10m chain=prerouting comment=youtube content=youtube.com dst-port=80,443 protocol=tcp
/ip firewall mangle add action=mark-packet chain=forward comment=youtube new-packet-mark=Youtube passthrough=no src-address-list=Youtube

Then you can add a queue with higher limit for these marked packets.

Sorry but it didn’t worked. i mean after i added the code and created a simple queue with the maximum download and upload limit of 256kbps speed. Youtube video starts to buffer. :cry:
please help…

sorry It didn’t worked after i added the code then i created a simple queue of maximum download and upload of 256kbps but still Youtube starts to buffer… :frowning:
please help…

And did you add another queue before this with the 256k limit to give these marked packets lets say 2Mbit

How did you do that… i mean i am still stuck in same problem and i have tried so many times but still not working… after adding the scrip i created a queue like this…
Croped.jpg

This is wrong.
The parent queue should have no marks attached to it, only all your available bandwidth.
Then you have another queue for Youtube - packet mark Youtube and higher bandwidth with all bandwidth as the parent
Then is your laptop Lan queue - again All bandwidth as parent, the ip as target and no packet marks attached

ops
it works fine when i download some file from internet. The download speed is 256 kbps with the queue. But on youtube its not working. Youtube is not playing video beyond 256 kbps internet speed.
Youtube without no marks.jpg
Youtube with no marks.jpg

The order of the rules is very important. You have ordered by name. Order by number and put the Youtube rule above the 256k one.

Thanks CyberTod
Finally working when i did like this… :smiley:
CyberTod where are you from???
Youtube Solved.jpg

I’m glad you got it working. I’m from Bulgaria.

CyberTod do you have any solution related to the problem which is in this link.

http://forum.mikrotik.com/t/userman-youtube-help/79630/1

dear CyberTod and all members,

i m from Pakistan and i m in trouble and need help. i m using mikrotik 6.5 version, in my service has a sharing server,(this server is my Internet service provider sharing server) i want that if my users connect from hotspot and pppoe server and dhcp server so they use internet according to his/her package, but! just get 4mbps downloding speed for dodear.com torrent and dodear.com websites.
please give me script so that i can implement this. i m new and i dont know how to do this

my lan server i.p: 192.168.0.1/24

dodear.com website i.p: 192.168.20.60

please please please help me and reply this email , i will be very thank full to you,


waiting for response ..


thanks and regards
Raheel

hello cybertod and z3ro

youtube bandwidth is not working for me … i cant make simple queue without target address … as its showing network address is needed. so i enter 0.0.0.0/0 .. but its not working at all ..

Hello everybody!.
Is more efective mangle by IP

/ip fire addr
add address=173.194.0.0/16 disabled=no list=Youtube
add address=208.65.152.0/22 disabled=no list=Youtube
add address=64.15.112.0/20 disabled=no list=Youtube
add address=74.125.96.0/19 disabled=no list=Youtube
add address=72.14.221.0/24 disabled=no list=Youtube
add address=84.53.128.0/18 disabled=no list=Youtube
add address=87.248.192.0/19 disabled=no list=Youtube
add address=216.155.128.0/19 disabled=no list=Youtube
add address=208.73.208.0/21 disabled=no list=Youtube
add address=66.55.140.0/23 disabled=no list=Youtube
add address=74.125.208.0/24 disabled=no list=Youtube
add address=208.117.224.0/19 disabled=no list=Youtube

The only problem is that these IP addresses include other services like google adsense, and google CDN librarys, and may be others services. But Youtube is working very well.

http://www.tech-nico.com/blog/marcar-ip-de-google-youtube-video-para-dar-calidad-de-servicio/

Hi CyberTod,

is working on v6.28 ? i tested but did not work.

Thanks.

Hi CyberTod,

is working on v6.28 ? i tested but did not work.

Thanks.

take a look at this

http://www.mikrotik-routeros.com/2014/05/the-mother-of-all-qos-trees-v6-0/

Hi All


Hope you are doing great
myself also can’t create queue without target and even my don’t know how to create queue like tree.
please help me to understand and explain bit about queue.


Thanks
Abbas
MT1.JPG

Hi CyberTod

Hope you are doing great.
I am very weak in Mikrotik queuing, I can’t create queue without target address even i don’t know how to create queue like parent simple queue like tree. Pls help me to understand

Thanks
Abbas