0

i have an ADSL line with a router attached to it. the router is attached with a switch. and with this switch, i have 3 PC connected each sharing the internet connection.

i there any way to distribute internet bandwidth among each PC. (it shouldn't be a QoS solution because my router don't support this) ?

thanks.

1

4 Answers 4

6

Ok, so let me get that right: You have an infrastructure that can not control bandwidth and you want to do wit without changing the infrastructure?

Gratulations. Please fry me a totally vegetarian real argentinian meat steak. Get the idea? Just because someone wants something does not mean it can happen.

Solution: GET THE PROPER INFRASTRUCTURE. A router upgrade most likely is cheapest (OpenWRT can be installed on quite some end user routers), or you simply get a proper router. I am in a relatively similar position, and I am thus getting a proper router to fullfill my needs.

5
  • 1
    I agree entirely. You want good features? Don't be a cheapskate. Dec 19, 2010 at 18:35
  • I'd go one step further, and say don't be cheap on the new router. Get a decent cisco. Dec 19, 2010 at 18:36
  • No need for that. Well, higher end I prefer Extreme Networks, but ther are some NICE Linux based distros, and there is ONE atom based small box out with 8 gigabit lan ports that one can buy.
    – TomTom
    Dec 19, 2010 at 19:10
  • I have done bandwidth control by upgrading router and installing Openwrt.
    – Azfar Niaz
    Jun 18, 2013 at 8:48
  • Nice. Great - see ;) Upgrading the infrastructure worked. Plus OpenWRT is no a bad router.
    – TomTom
    Jun 19, 2013 at 4:03
0

If your PC operating systems support it, you could set up ingress policing and egress traffic shaping on each PC, so that each cooperatively limits itself to 1/3 of the maximum download and upload rates of your ADSL, respectively.

For example, in Linux, the following from this blog uses ingress policing to limit incoming traffic to 256 kbps:

tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 50 \
   u32 match ip src 0.0.0.0/0 police rate 256kbit \
   burst 10k drop flowid :1

The following from the same blog uses the "Token Bucket Filter" (tbf) queuing discipline to limit outgoing traffic to 256 kbps:

tc qdisc add dev eth0 root tbf \
   rate 256kbit latency 25ms burst 10k

There is a lot more information about traffic policing, shaping, and routing in the Linux Advanced Routing & Traffic Control Howto.

6
  • The problem with this solution is that if only one of the PCs is using the internet, and in a QoS scenario could use the full link, it can't use more than what you set it to.
    – mfinni
    Dec 19, 2010 at 19:47
  • @mfinni: Yes, I agree that is a problem, but I don't know of any non-QoS solutions to fully utilize the link. Is such even possible? Dec 19, 2010 at 20:08
  • No, there isn't. Which is why QoS is the best solution, even if Azfar ruled it out in his question.
    – mfinni
    Dec 19, 2010 at 22:12
  • @mfinni: Fair enough. Post your solution and I will happily upvote it. Dec 19, 2010 at 22:15
  • TomTom already gave the best answer. I'm not saying your solution wouldn't work, it just wouldn't be optimal.
    – mfinni
    Dec 20, 2010 at 14:01
0

I don't know what kit you're using, but it MAY be that it has something similar to Cisco's "fair scheduling" (that is, trying to alternate packets from different streams, so that, as far as possible, all users are services similarly).

If you check the manual for your router, it MAY mention thishow to set this (if it is, at all, possible).

0

This program can do it:

http://bandwidthcontroller.com/tutorialDistributedMode.html

but I think it's for Win XP.

The program is called "Bandwidth Controller."

1
  • Welcome to Server Fault! Generally we like answers on the site to be able to stand on their own - Links are great, but if that link ever breaks the answer should have enough information to still be helpful. Please consider editing your answer to include more detail. See the FAQ for more info.
    – slm
    Jun 18, 2013 at 8:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .