LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   (How do I) How To Limit Bandwidth of User conectivity LAN ? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-how-to-limit-bandwidth-of-user-conectivity-lan-747342/)

ytd 08-13-2009 01:30 PM

(How do I) How To Limit Bandwidth of User conectivity LAN ?
 
I will install CentOS 5 (it can be other linux/UNIX system OS too) on a rack server that has multiple network interfaces (4 x network interfaces). I have a ISP on eth0 for example. How do I share the bandwidth and how do I limit the internet bandwidth on the other interfaces (eth1, eth2)?

EG:

I will have ISP on eth0 and I would like to share (NAT) the bandwidth of the eth0 on eth1 and eth2 and would like to limit the bandwith on the eth1 and eth2. How do I do that ? What program(s) should I use ? I want to be able to limit the ISP bandwith not on eth1, but on IP, for EG I want 192.168.1.1 to have 5mbps and 192.168.1.2 to have 2 mbps and so on.

It is ok if you guys give me a program that use the limit in three ways too (fast, medium, slow) no problem, but pls give me a method on how to limit bandwith from the isp to the final users.

There will be eth1 and eth2 NAT users and eth0 ISP and I will have eth1 with 254 IP's and eth2 with 254 IP's too. I have over 500 clients and I need (I think) two different eth to be able to share the IPS internet connection with them (over 500 clients).

ytd 08-13-2009 02:06 PM

Ok, i've found IPCop and BrazilFW so far. These looks good and they are faire enough, I think, but... is there any other pro utility / programs ?

TITiAN 08-13-2009 02:37 PM

If you simply want to limit bandwith usage on one NIC (network interface, like eth0, eth1, wlan0 ...), wondershaper is a suitable command-line tool (note that it uses kilobit/sec, so if you're used to kilobytes/sec, just multiply the number by 8).

ytd 08-13-2009 04:44 PM

Quote:

Originally Posted by TITiAN (Post 3642303)
If you simply want to limit bandwith usage on one NIC (network interface, like eth0, eth1, wlan0 ...), wondershaper is a suitable command-line tool (note that it uses kilobit/sec, so if you're used to kilobytes/sec, just multiply the number by 8).

Mate, read carefully. I said I want to limit the bandwith on IP not on eth.


All times are GMT -5. The time now is 05:36 PM.