Page 1 of 1

Download QOS by source ip range

Posted: Thu Feb 13, 2014 3:59 am
by jayt
For me, most Youtube streaming is coming from 50.0.2.204-206.
Is it possible to classify this in one rule?
Is it possible to classify the entire network 50.0.2.0

Thanks.

Re: Download QOS by source ip range

Posted: Thu Feb 13, 2014 1:29 pm
by pbix
Yes and yes. Please read the QoS configuration guide on this site.

Re: Download QOS by source ip range

Posted: Thu Feb 13, 2014 2:14 pm
by jayt
Yes I did read the article in the Wiki. But I don't understand how using CIDR is going to specify 3 specific addresses.In my second question I suppose I could use 50.0.2.0/24 for the entire network(1-254). Is this correct?

And is this (50.0.2.204/30) the equivalent of tagging 50.0.2.204 and 50.0.2.205?

thanks again.

Re: Download QOS by source ip range

Posted: Thu Feb 13, 2014 7:38 pm
by pbix
204/30 gets 204-207 I think so you cannot do the exact range without multiple rules

Re: Download QOS by source ip range

Posted: Fri Feb 14, 2014 6:31 pm
by jayt
Your replies are greatly appreciated. I get it now.

Thanks again.

Re: Download QOS by source ip range

Posted: Sat Feb 22, 2014 3:16 pm
by jayt
I finally got around to trying this.

As a follow up
50.0.2.204/30 is the same as not using CIDR
50.0.2.204/29 includes 5 IPs (204-208)

There's also a Youtube-2012 L7 protocol filter I found on another forum that works well
Credit goes to "Porter" for making the filter

To make the filter create a new text document and paste the following contents

youtube-2012
GET (\/videoplayback\?|\/crossdomain\.xml)

save it as youtube-2012.pat

I used WinSCP to
copy it to etc/L7-protocols folder, then
modify the l7index file located in the same folder and add a line for the new filter

youtube-2012 Youtube-2012

save your changes and reboot the router. You should now have the new filter in the drop down list for L7 protocols.

Cheers