1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Networks How can I manage bandwidth, so each user gets a fair share of our cap.

Discussion in 'Hardware' started by Who_me_33, 30 May 2006.

  1. Who_me_33

    Who_me_33 What's a Dremel?

    Joined:
    26 Oct 2004
    Posts:
    422
    Likes Received:
    0
    As the topic states, we have a 10gB data cap, and 5 users. Now what I would like to do is give everyone 2gB, then after they have reached that slow them down to 64k. (that is currently what our isp does when we hit our 10gB data cap). I dont have a clue where to start (windows, or linux is one question), and would really appreciate some help. Even links in the right direction. And we have a server atm, (currently just sharing some common files that everyone uses a bit, and has plenty of power to spare.).
    Thanks in advance.
    Nick
     
  2. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    I guess you are looking for Quality of Service and Bandwith Shaping. Both can be done by replacing your router with an IPCop / Smoothwall-smoothguardian setup. I prefer the former, because it's 100%freeware, but they are forks, so they are in essence the same.
     
  3. ajack

    ajack rox

    Joined:
    17 Apr 2003
    Posts:
    2,695
    Likes Received:
    2
    Smoothwall is also about as free and OS as you're gonna get ;)
     
    Last edited: 30 May 2006
  4. Sp!

    Sp! Minimodder

    Joined:
    6 Dec 2002
    Posts:
    1,543
    Likes Received:
    30
    In my experience a QOS box will only manage how much bandwidth each user gets at any point in time (split a 2mb line so each of your 5 users gets 400kbs each), it won't say limit each user to have a download quota of 2Gb per month and then limit there transfer speed.
     
  5. JuMpErFLY

    JuMpErFLY Minimodder

    Joined:
    13 Mar 2003
    Posts:
    882
    Likes Received:
    1
    I'm sure something simple could be (and probably already has been) written to keep track of how much each user has downloaded, and enable the bandwidth limit after the amount is reached
     
  6. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    True. Only throttling users once they're reached X Gbs is a harder task. You need some sort of reporting DB to record all usage. I'd be surprised if Smoothwall, etc could do this.
     
  7. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    Are you offering? :p
     
  8. JuMpErFLY

    JuMpErFLY Minimodder

    Joined:
    13 Mar 2003
    Posts:
    882
    Likes Received:
    1
    iirc smoothwall logs how much data each users has used, or at least keeps a track of their bandwidth usage throughout the day? This can be used to predict usage. Can't be such a difficult task to setup something to auotmatically enable a bandwidth limit

    Haha, maybe. If I find myself bored after exams and the like ;)
     
  9. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    I've had a quick look through the smoothwall mods section and can't find an off the shelf mod to suit your needs.

    That was a mod I installed so we could see who was stealing all the bandwidth. It produced graphs of total usage for the past X hrs. I guess you could use these figures to calculate usage since the begining of the month and apply a QoS accordingly. What are your bash/perl skills like Who_me_33?
     
  10. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Smoothwall / smoothguardian surely offers this. I recon IPCop also does...
     
  11. bender386

    bender386 What's a Dremel?

    Joined:
    5 Jan 2006
    Posts:
    475
    Likes Received:
    0
    why dont you ask on the forums for those distros. i think they would be able to tell you a lot quicker then here and somebody might even be working on it.
     
Tags:

Share This Page