LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do a config a server to maximum allow 20mbps? is there anyway using software? (https://www.linuxquestions.org/questions/linux-software-2/how-do-a-config-a-server-to-maximum-allow-20mbps-is-there-anyway-using-software-667516/)

modpriest 09-04-2008 09:06 AM

how do a config a server to maximum allow 20mbps? is there anyway using software?
 
how do a config a server to maximum allow 20mbps? is there anyway using software? i mean linux or apache... hardware i know how, i want to know is there an alternative?

modpriest 09-04-2008 11:01 AM

i have check the linux commands, they say got some linux command like "ip" or other command can use the limit bandwidth outbound control... is that true? how?

TB0ne 09-04-2008 11:22 AM

Quote:

Originally Posted by modpriest (Post 3269416)
i have check the linux commands, they say got some linux command like "ip" or other command can use the limit bandwidth outbound control... is that true? how?

There are several ways, but it would help everyone if you provided information about your setup, and what you're trying to accomplish. You don't say what kind of environment you're in, what distro of Linux you're using and what version.

- You can set up Squid to limit bandwidth usage on a per-user basis.
- You can try these programs and solutions, found from a quick Google search:

http://linux.softpedia.com/get/Syste...ator-186.shtml
http://elliottback.com/wp/archives/2...-how-to-guide/
http://rami.info/how-tos/iptables-ba...t-under-linux/

The last one describes how to use iptables to limit bandwidth. That may be the "some linux command like ip" you mentioned, but you don't say much about what you've looked for, or what you're trying to do, or what you've tried.

modpriest 09-04-2008 11:27 AM

they said iproute2 can use to limit bandwidth and outbound... how do i install iproute2 on cent OS 4?

modpriest 09-04-2008 11:30 AM

can you teach me? using iptables and other module to limit bandwidth with port? because i not good on linux, i don't even know how to install module... please help me.... i willing to learn....

TB0ne 09-04-2008 12:26 PM

Quote:

Originally Posted by modpriest (Post 3269439)
can you teach me? using iptables and other module to limit bandwidth with port? because i not good on linux, i don't even know how to install module... please help me.... i willing to learn....

You still don't say what you're trying to accomplish, so it's hard to provide alot of information. If you're in an office environment, and doing this for business purposes, I'd throttle things at the switch, since you're already familiar with it. That's a better solution, too, since you can do QOS on the system, and tweak things to run better, without putting any demands on your server.

From a quick Google search:

How to set up repositories in Centos, to get packages installed:
http://www.cyberciti.biz/tips/redhat...etup-repo.html

How to set up iptables:
http://www.linuxtopia.org/online_boo...l-ipt-act.html

Read these and follow the directions. The last link in the first post I sent you, describes how to use IPtables to throttle bandwidth.

salasi 09-04-2008 06:18 PM

At the possible expense of injecting more information than you can cope with (so, ignore me if you think that you can't cope with more), you could look at:

http://www.linuxdocs.org/HOWTOs/Adv-...OWTO.html#toc3
http://www.adamsinfo.com/bandwith-li...oute2/#more-15
http://www.linuxdevcenter.com/pub/a/...inuxAdmin.html
http://lartc.org/

and a number of people have asked similar questions on this very site (yourself included...if that confuses you, you should begin to realise why that process is deprecated), so search here too, on terms like bandwidth or limiting.

Quote:

i don't even know how to install module...
You don't mind me getting slightly worried by this, do you? You are working with stuff that is well beyond the basics of networking and you don't know how to install anything on your system? Well, I suppose that's quite possible if you are a networking expert with no exposure to Linux, but its also possible that you don't know enough about networking to do what you are trying to do.

What are the risks if you get it wrong? Can you mitigate those risks?

I'm not trying to be confrontational here, as I have little evidence of your capabilities, but I do think you ought to consider the possible consequences. Traditionally Linux/unix type systems tend to be very capable but low on the hand-holding for neophytes (ok, so do Cisco et al, but you tend to get a course and all-in-one-place manuals with them...) and if the consequences could be a disaster for your organisation, you might want to think again.

modpriest 09-05-2008 02:57 AM

i already post at some freelancer website and no 1 want to take the job... what should i do? i willing to pay 1 server $50USD just to config squid making limit 25mbps... so i try to learn see if i can solve myself...

salasi 09-05-2008 05:27 AM

The point I was hoping to make was you should look at the 'worst case'. If it goes wrong, does the organisation go bankrupt and you lose your job, or do you lose home broadband for a few hours? Or maybe a security hole lets in the bad guys with unknown consequences.

The way you consider this should take into account how bad this can get.

Quote:

i willing to pay 1 server $50USD
...pay peanuts... Well, that will have probably limited things to people in you immediate area, wherever that is.


All times are GMT -5. The time now is 11:03 AM.