LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-03-2011, 10:44 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Is there a way to limit bandwidth mbps on eth0?


Is there a way to limit bandwidth mbps on eth0?

CentOS.

Limit either total traffic, or by port/IP, etc.
 
Old 01-04-2011, 01:36 AM   #2
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
It might what you are finding
http://lartc.org/manpages/tc.txt
 
Old 01-04-2011, 01:53 AM   #3
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
You can dig into traffic shaping, so yes, there is.

tc/htb (Traffic Control / Hierarchical Token Bucket would be a nice approach..

http://tldp.org/HOWTO/Traffic-Control-HOWTO/index.html would definitely be a good start.

Thought is that traffic gets tagged in iptables, either by interface, protocol or port number. After that qdisc/htb shapes the (outgoing!) bandwidth. For shaping incoming traffic (which is less logical, hence it is more complicated) you could try out ingress shaping.

A second url you could check out is http://lartc.org/howto/lartc.cookbook.ultimate-tc.html

Hope this helps?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to limit bandwidth on eth0? cstrieder Linux - Networking 1 12-06-2008 01:17 AM
Limit Bandwidth as Data Volume Approaches Limit sweno Linux - Server 1 06-12-2008 07:10 AM
can I limit bandwidth for my 100TX eth0 laeeq38 Linux - Networking 2 07-25-2006 10:35 AM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
Network speed 10 mbps in place of 100 mbps? /su Linux - Networking 11 06-18-2003 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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