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

Dividing internet fairly

Discussion in 'Tomato Firmware' started by Sinjid, Nov 24, 2010.

  1. Sinjid

    Sinjid Networkin' Nut Member

    Hello all!

    I require your help! :) Here's the case in the building I'm living.
    We have a 15mbit connection and 5 different users. We've upgraded from a 8mbit connection. Some people got fussy and long story short: some of the people don't want to pay for the upgrade and thus I do not want to give them 15mbit, but rather the 8 they're paying for.

    I'm running Victek's Tomato Firmware (the latest) and am currently fiddling with the IP/BW Limiter. I've set up static IP adresses for everyone and limited per IP accordingly. What I'd really like though is the ability to put in full IPranges. Some of these people often have guests over. I'd like to group the people together and have the 8mbit per default, and the 15 mbit for just the people who pay extra.

    Is there any clever way to manage this?

    Thanks in advance,
  2. Mike

    Mike Network Guru Member

    MikroTik RouterOS will definitely work, but not free.

    Probably some other free routers (pfSense, although I never tried it.)

    I don't know how to do it on Tomato...
  3. Toastman

    Toastman Super Moderator Staff Member Member

    It's very easy with Tomato QOS.

    You can place assign your known paying users static IP's. Then place users who have paid in a QOS class, assign a class rule to have high priority and no class bandwidth limits. The non payers are assigned IP's by DHCP so will include any guests - they will will fall into the default class. Set this class a lower priority, set outgoing and incoming class bandwidth limit as you wish.
  4. Sinjid

    Sinjid Networkin' Nut Member

    I've done as you said Toastman! Seems to work fine but sometimes the CPU load goes all the way up to 1.49. During gameplay we've had lagspikes of 10 seconds and sometimes longer. I'm not sure it has to do with the QoS though. Probably something else.

    Thanks for your help!
  5. Toastman

    Toastman Super Moderator Staff Member Member

    Perhaps some of those users are running P2P and taking all your bandwidth. Try to check ... a good way is to look at UPnP list and get port numbers, tie them up with connections.
  6. Sinjid

    Sinjid Networkin' Nut Member

    Thanks for your reply Toastman. I've made a new thread out of the lagspike issue. The bandwidth dividing seems to work just fine!

Share This Page