Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
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
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?
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.