LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-13-2009, 01:30 PM   #1
ytd
Member
 
Registered: Jan 2009
Posts: 205

Rep: Reputation: 31
(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).
 
Old 08-13-2009, 02:06 PM   #2
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
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 ?
 
Old 08-13-2009, 02:37 PM   #3
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
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).
 
Old 08-13-2009, 04:44 PM   #4
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by TITiAN View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit bandwidth per linux user alexxxutz Linux - Server 4 08-01-2009 09:02 AM
limit LAN access of external user sinchan_ Linux - Software 1 04-20-2009 05:53 AM
enforce a bandwidth limit for scp per user lothario Linux - Networking 1 06-29-2008 02:00 PM
How to config gateway to limit user in LAN? kramlin Linux - Networking 1 01-04-2005 07:46 AM
LAN Conectivity saroj Linux - Networking 1 11-16-2001 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:37 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