Best Way To Use Bandwidth Control

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Best Way To Use Bandwidth Control

Postby stlony » Jun 30 08 9:14 pm

Hi Wingate Team,
I want to know whitch is the best way to use the bandwith control to make the connection fair between all users i don't want to make rule for every user to control his usage they are about 30 users. so how can i do this ?

give examle please.
Thanks for your efforts
stlony
 
Posts: 82
Joined: Aug 16 07 9:11 am

Re: Best Way To Use Bandwidth Control

Postby stlony » Jul 03 08 8:01 pm

please can any one suggest how to do this?
all what i want is to creat rule make eatch user use 50 Kb Max
assume:
server 10.0.0.1
subnetmask 255.255.255.0
users range 10.0.0.xxx
stlony
 
Posts: 82
Joined: Aug 16 07 9:11 am

Re: Best Way To Use Bandwidth Control

Postby logan » Jul 04 08 3:46 pm

I have attached an image to this reply that shows a Bandwidth Control configuration that would work in your scenario.
Attachments
Bandwidth_Control-50kbits_limit.JPG
Bandwidth_Control-50kbits_limit.JPG (212.2 KiB) Viewed 4521 times
logan
Qbik Staff
 
Posts: 671
Joined: Oct 19 06 2:49 pm
Location: Auckland, New Zealand

Re: Best Way To Use Bandwidth Control

Postby a31ford » Feb 08 09 4:25 am

This is the answer I was looking for (Bandwidth), I like the fact that Logan took the time to SHOW us and not simply tell us...

THANKS LOGAN !!
a31ford
 
Posts: 4
Joined: Feb 08 09 4:18 am

Re: Best Way To Use Bandwidth Control

Postby logan » Feb 12 09 4:27 pm

Thanks a31ford. That made my day :).
logan
Qbik Staff
 
Posts: 671
Joined: Oct 19 06 2:49 pm
Location: Auckland, New Zealand

Re: Best Way To Use Bandwidth Control

Postby rboynton » Feb 22 09 2:16 pm

Based on the restriction you showed here, I have a couple of questions.

1. When I implemented the restriction you show, I went to www.speedtest.com and did a download/upload speed test. My download speed was ~110kbs when I had the restriction set to 50kb. The upload was similar. I changed the restriction to 25kbs and I restarted the QBIK service and reran the test. I was running the test on my PC, not the Wingate server. With that new setting, the download was ~50kbs, but the upload was at 115kbs. I guess I don't understand the logic of the bandwidth restrictions.
2. Does the restriction Logan generously provided apply to the aggregate connection to the internet? What I mean is if I have 5 users, will all of them be throttled so that the stream to the ISP is fixed at 50kbs and no more? The reason I'm asking is that we have a rural ISP that is fussing at us for our usage. They keep turning off our access because we are 'killing them" such that no one else on that wireless node can work. I don't see how this is possible (all share the bandwidth of a pipe), so that is another story. I'm simply trying to understand how I can reduce our stream until I can sort this out.
...Rick
rboynton
Senior Member
 
Posts: 156
Joined: Jun 15 07 2:09 am
Location: Boerne, Texas

Re: Best Way To Use Bandwidth Control

Postby adrien » Feb 22 09 7:50 pm

Hi Rick

The thing to keep in mind with bandwidth control is that it's fundamentally controlling the sending of packets, not the receiving of them. This is because once you've received a packet it's too late to do anything about it - it has already used the bandwidth. Also you can not really control the other end's sending. So WinGate can only really control how it sends packets.

What this means is that if you use speedtest to test download, the speedtest.net server will spew packets at you at a rate it thinks is appropriate. We do use things like TCP window control to try and scale back sends, but this relies on the other end waiting for acks etc and honouring the reduced TCP window.

I would expect the upload speed to be controlled though. However, depending on how you have WinGate set up (e.g. is it intercepting connections on port 80), and how you have the rules set up for bandwidth control, your rules might be missing the traffic.

E.g. keep in mind if you are going through the proxy, then the source of the outbound traffic to the internet will be the WinGate machine's IP, so that should be the IP address used in the rules.

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: No registered users and 18 guests

cron