LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IP bandwidth management (https://www.linuxquestions.org/questions/linux-networking-3/ip-bandwidth-management-346091/)

RandomLinuxNewb 07-23-2005 08:09 PM

IP bandwidth management
 
I'm trying to setup a linux or a bsd box that will limit bandwidth based on source and Destination IP. I'm sharing my T-1 connection with a few clients who all have static IP's. I would like to have control over there upload and download bandwidth based on the IP address I assign them. For example

Code:

192.168.1.100 = 30KBs Down/ 30KBs Up
192.168.1.101 = 1Mbs Down/ 30KBs Up
etc...

Finer grain control would be nice, port speed per IP or bustable speed would all be pluses.

Anyone have any suggestions or sites I could check out? I would prefer a project with a web interface for management but I'm not worried about having to use config files if it is needed.

mpeg4codec 07-23-2005 11:48 PM

I'm not sure if it supports this complex of bandwidth management, but cbq.init is a good place to begin with bandwidth management.

If you'd rather get a bit more hands on, definitely look into the Linux Advanced Routing & Traffic Control HOWTO. They cover traffic control in extremely great detail. In particular, take a look at the section on CBQ. If that gets too tricky [which it most certainly will], take a look at the Heirarchial Token Bucket [HTB]. It is widely regarded as a much simpler version of CBQ.

Let me know if there's anything else I can help with!


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