LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-21-2006, 03:59 AM   #1
signature16
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Rep: Reputation: 15
Bandwidth Limiting


I am working on a dedicated server that is on a shared T1 Line. I can use 100% of the line for most of the day but I need to limit the incoming/outgoing bandwidth on it between the hour sof 7pm and 12pm.

How diffictul is this and what is the best way to go about doing it?
 
Old 05-21-2006, 04:07 AM   #2
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Rep: Reputation: 31
cbq (class based queuing) might be a good tool for this. it is designed to sort traffic based on classes like IP, possibly DNS, etc.

most linux distros support this without tweaking. just place the cbq-init file in /etc/rc.d/ and place the configuration files in /etc/sysconfig/cbq

http://sourceforge.net/projects/cbqinit/
 
Old 05-21-2006, 12:56 PM   #3
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
As far as I know CBQ is a somewhat older system which is replaced by HTB (Hierachical Token Bucket) Here's a TLDP HOWTO associated with HTB. This Linux Advanced Routing & Traffic Control HOWTO also contains some information. Watch for "HTB Tools" also. This is how far I got in a advanced traffic shaping/ bandwidth management topic. But there may be simpler solutions for your situation. You might want to have a look at HTB.init and CBQ.init (upon your choice) too.

However there are user-mode bandwidth management tools. They allow you to manage your own bandwidth in the perspective of a user. This wouldn't be sufficient if you want to use the solution for the use of the server in administration perspective. For user-mode tools try googling

Last edited by SkyEye; 05-21-2006 at 01:55 PM.
 
Old 05-21-2006, 02:14 PM   #4
signature16
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Original Poster
Rep: Reputation: 15
would SQUID work for this? Ive read several other posts recommending Squid for bandwidth limiting. Can squid limit bandwidth during certain times of the day?
 
Old 05-21-2006, 03:53 PM   #5
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Squid can be configured to deploy restrictions based on day/time parameters (nothing directly related to bandwidth). Squid has some bandwidth handling facility (if compiled with it). Once I stumbled upon this artice on delay pools of Squid. This is another I found named Reining in Bandwidth With Squid Proxying. But using Squid for total bandwidth management is not goog enough I think. As far as I got, I believe Squid solution would only provide management of it's own (HTTP) traffic only. I'll post some other links wich might be useful to you.

MasterShaper is a traffic shaping software. Here's a link to a Linux traffic shaping article. Although not relevent to your task directly, if you have time have a look at WonderShaper also.

Last edited by SkyEye; 05-21-2006 at 03:57 PM.
 
  


Reply

Tags
bandwidth, cbq, htb, management



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
bandwidth limiting gubak Linux - Networking 1 03-02-2005 06:51 AM
Bandwidth limiting OmniXBro Linux - Software 2 06-14-2004 04:50 PM
Limiting Bandwidth MasterC Linux - Networking 3 04-09-2003 03:03 PM
bandwidth limiting karunesh Linux - Networking 5 11-09-2002 02:28 AM
Bandwidth Limiting hawkpaul Linux - Networking 1 01-01-2002 01:45 PM

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

All times are GMT -5. The time now is 08:30 AM.

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