(How do I) How To Limit Bandwidth of User conectivity LAN ?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
(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).
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.