LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2008, 08:06 AM   #1
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Rep: Reputation: Disabled
Arrow 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?
 
Old 09-04-2008, 10:01 AM   #2
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: Disabled
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?
 
Old 09-04-2008, 10:22 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,190

Rep: Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476
Quote:
Originally Posted by modpriest View Post
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.
 
Old 09-04-2008, 10:27 AM   #4
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: Disabled
they said iproute2 can use to limit bandwidth and outbound... how do i install iproute2 on cent OS 4?
 
Old 09-04-2008, 10:30 AM   #5
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: Disabled
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....
 
Old 09-04-2008, 11:26 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,190

Rep: Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476
Quote:
Originally Posted by modpriest View Post
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.
 
Old 09-04-2008, 05:18 PM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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.
 
Old 09-05-2008, 01:57 AM   #8
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: Disabled
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...
 
Old 09-05-2008, 04:27 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Config a new software RAID 1 (Fedora 6) marmen Linux - Newbie 1 10-11-2007 07:05 AM
Duplicate existing Server config to another Server aptsa Linux - Newbie 2 04-04-2005 05:46 PM
Apache Server Config, Mail Server, & Uploading johan the olive Linux - Networking 5 03-14-2003 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration