Download QOS by source ip range

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

jayt
Posts: 14
Joined: Wed Jul 27, 2011 8:44 pm

Download QOS by source ip range

Postby jayt » Thu Feb 13, 2014 3:59 am

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.
Buffalo WZR-HP-G300NH 1.9.0

pbix
Developer
Posts: 1366
Joined: Fri Aug 21, 2009 5:09 pm

Re: Download QOS by source ip range

Postby pbix » Thu Feb 13, 2014 1:29 pm

Yes and yes. Please read the QoS configuration guide on this site.
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

jayt
Posts: 14
Joined: Wed Jul 27, 2011 8:44 pm

Re: Download QOS by source ip range

Postby jayt » Thu Feb 13, 2014 2:14 pm

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.
Buffalo WZR-HP-G300NH 1.9.0

pbix
Developer
Posts: 1366
Joined: Fri Aug 21, 2009 5:09 pm

Re: Download QOS by source ip range

Postby pbix » Thu Feb 13, 2014 7:38 pm

204/30 gets 204-207 I think so you cannot do the exact range without multiple rules
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

jayt
Posts: 14
Joined: Wed Jul 27, 2011 8:44 pm

Re: Download QOS by source ip range

Postby jayt » Fri Feb 14, 2014 6:31 pm

Your replies are greatly appreciated. I get it now.

Thanks again.
Buffalo WZR-HP-G300NH 1.9.0

jayt
Posts: 14
Joined: Wed Jul 27, 2011 8:44 pm

Re: Download QOS by source ip range

Postby jayt » Sat Feb 22, 2014 3:16 pm

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
Buffalo WZR-HP-G300NH 1.9.0


Return to “Monitoring / Quota / QoS Issues”

Who is online

Users browsing this forum: No registered users and 15 guests