Limit download speeds on a per connection basis without MACS or IP Adds

EdOwen

Reputable
Apr 30, 2015
3
0
4,510
I have a small rural coffee shop I'm trying to wifi,I have to use satellite, so bandwidth is limited and data is expensive. Can I throttle how much each connection gets without throttling overall bandwidth, on a per-wireless connection basis, say 500kbs? I want customers to be able to surf and get email, but not get video speeds. This is on a "public" network without knowing the actual MAC or IP addresses, just limit each single connection to a set speed ? Say I've got a 12 MBPS overall internet connection (satellite). I don't want my first customer to suck (Stream) it all up. I want each of 24 customers to be able to get 500kbps
I want everyone to have the same priority, just low (throttled) bandwidth.
Any ideas, hardware or software or both?
 

talleymj

Distinguished
Apr 2, 2012
96
0
18,660
Note, that this involves installing custom software on a router, which can be somewhat advanced.

If you get a DD-WRT compatible router (recommended routers here) and then buy DD-WRT Professional, you will have this feature available. You can see the ability to set the default bandwidth limit in the screenshot here. You'd also be able to add specific rules for your devices so they aren't throttled.
 

EdOwen

Reputable
Apr 30, 2015
3
0
4,510


The screenshot you show has QOS, is that QOS on a per-connection basis ? It isn't clear, unless that is assumed by the term QOS. As I've said, I want each connection to have the same priority and the same speed cap.
 

talleymj

Distinguished
Apr 2, 2012
96
0
18,660
You wouldn't use the top QoS settings to control this. Most QoS, including the QoS found in the free version of DD-WRT, only allow you to make rules based on specific IP addresses or protocols. But the box towards the bottom, the "Default Bandwidth Level" will limit the bandwidth of each connected device that doesn't have a specific rule by IP or MAC address to whatever value you put in that field.
 

EdOwen

Reputable
Apr 30, 2015
3
0
4,510


Are you sure that's downlink? I've seen a lot of just-uplink throttles.
 

talleymj

Distinguished
Apr 2, 2012
96
0
18,660


Fair question, and not one I can answer with 100% certainty. The description of the feature here ("Currently brainslayer offers a special version of DD-WRT with extended QoS capabilities: set maximum bandwidth available per netmask/MAC address (v.24-SP1: even for different vlans) and set a default rule for any unconfigured netmask/MAC address") leads me to believe the answer is yes, but I can't say for sure.

 
Not sure I have seen one that can add dynamic limitations as mac/ip come and go. I know gargoyle is one of the few that can set bandwidth caps so maybe it has the ability.

Although you can configure download limits the way it works it not QoS. Really only the ISP can do QoS before they send the data.

How these download limiters work is say a server on the internet sends 4mbit/sec of traffic and you have the user limited to 2mbit/sec. What the router does is throw away 2m and only give the user 2m. So from the user viewpoint they only get 2m but your internet connection actually was used for 4m. What happens is part of the TCP stack detects this packet loss and requests the traffic at a slower rate.

So the whole theory that you can limit download speed on your local router is based on pc software playing nice and slowing down until it does not see errors.

It works for many things. The worst offender bit torrent was designed intentionally to get around a restriction like this and uses UDP. Another application that is not affected is say a video conference system. These send data at a fixed rate and if you get data loss then you get pixlation, you are dependent on the user deciding they don't like this and turning the settings down.


So even if you were to find software that can dynamically put in limitations it would only work for well behaved applications.....luckily netflix and youtube and some other common hogs are well behaved.