Re: Throttle Bandwidth / Bandwidth Sharing
Posted: Tue Mar 29, 2011 7:51 am
Lets get the terminology unraveled a bit. Quota refers to a specific volume of data as in "I am only allowed 10GB a month by my ISP", bandwidth refers to a rate of data as in "I have 2Mbps service from my ISP". In my view unless you are interested in volume you should stay away from the Quota screen deleting all rules there.
QoS is made for bandwidth sharing and specifically for being "fair" between competing consumers of bandwidth. This sounds to me like your requirement so lets use QoS. On the upload screen just enable it with the default rules, we will deal with uploads if it becomes an issue.
For download, if you have a camp ground with 40 sites then you need to make 40 service classes on the download screen. For the service classes I would set each as follows. The name is the site (ie Site10), the percentage is 1/40 = 2.5%, the minimum is 0 and the maximum is unlimited. Then add one more "default class" which has percentage 5%, min 0 and max unlimited.
Moving on to the rules. Let's setup for 2 static IP at each site since campers these days may have multiple devices. Map IP addresses to sites, for example sites 1-40 use addresses 101-141 and 201-241. Now we have to add 80 rules. For each rule the destination address is one of your 80 IP addresses, and the class sent to the corresponding camp site.
Now on the DHCP screen you have to add your 80 static IP address, initially with random MAC addresses and check the "Block MAC address assigned ..." check box. Finally, set the DHCP range to 25-100.
As people check in you get their MAC addresses and enter them into the DHCP screen into the static IP addresses that corresponds to their camp site. If they have more than 2 they should give you the ones the want to work the best. There is no need to do anything when they check out.
Now how about people who fail to give you their MAC addresses or have more than 2 devices? These people get put in the default class and have to fight over what you allocated to the default class.
Finally I would enable the Active Congestion Control setting your download bandwidth on the QoS screen to the maximum your ISP delivers.
The above is complex I know but I think with the right router it could make for a good system for you. This design will ensure that all sites get the same bandwidth and it will adjust based on whats going on. For example if 10 sites are active then each will get 10%. If all 40 are active each will get 2.5%. You can observe whats going on on the Connections page and the QoS download page. You should definitely have a 32MB router for this.
As the designer of the QoS in Gargoyle I would be interested to know how it works for you. Please give us some feedback.
Addressing one thing 1aN said. Having a hotspot would not help you. A hotspot will restrict access to the network but once you are logged it does nothing about fairness. You need QoS to enforce fairness regardless.
QoS is made for bandwidth sharing and specifically for being "fair" between competing consumers of bandwidth. This sounds to me like your requirement so lets use QoS. On the upload screen just enable it with the default rules, we will deal with uploads if it becomes an issue.
For download, if you have a camp ground with 40 sites then you need to make 40 service classes on the download screen. For the service classes I would set each as follows. The name is the site (ie Site10), the percentage is 1/40 = 2.5%, the minimum is 0 and the maximum is unlimited. Then add one more "default class" which has percentage 5%, min 0 and max unlimited.
Moving on to the rules. Let's setup for 2 static IP at each site since campers these days may have multiple devices. Map IP addresses to sites, for example sites 1-40 use addresses 101-141 and 201-241. Now we have to add 80 rules. For each rule the destination address is one of your 80 IP addresses, and the class sent to the corresponding camp site.
Now on the DHCP screen you have to add your 80 static IP address, initially with random MAC addresses and check the "Block MAC address assigned ..." check box. Finally, set the DHCP range to 25-100.
As people check in you get their MAC addresses and enter them into the DHCP screen into the static IP addresses that corresponds to their camp site. If they have more than 2 they should give you the ones the want to work the best. There is no need to do anything when they check out.
Now how about people who fail to give you their MAC addresses or have more than 2 devices? These people get put in the default class and have to fight over what you allocated to the default class.
Finally I would enable the Active Congestion Control setting your download bandwidth on the QoS screen to the maximum your ISP delivers.
The above is complex I know but I think with the right router it could make for a good system for you. This design will ensure that all sites get the same bandwidth and it will adjust based on whats going on. For example if 10 sites are active then each will get 10%. If all 40 are active each will get 2.5%. You can observe whats going on on the Connections page and the QoS download page. You should definitely have a 32MB router for this.
As the designer of the QoS in Gargoyle I would be interested to know how it works for you. Please give us some feedback.
Addressing one thing 1aN said. Having a hotspot would not help you. A hotspot will restrict access to the network but once you are logged it does nothing about fairness. You need QoS to enforce fairness regardless.