LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2013, 09:49 PM   #1
debwalker
LQ Newbie
 
Registered: Jul 2012
Posts: 26

Rep: Reputation: Disabled
Rate Limiting specific interfaces, specific protocols


Hi,

I have a network with many wireless clients connected and need to put in some limits to stop any one user taking all the bandwith. I am trying to do this with tc on an openwrt router.

What I would like to do is:

1. Limit the wireless interface down speed to 3mbit and up speed to 200kbit.
2. Limit http and ftp downloads on the wireless to 1mbit.
3. Limit the down speed of the wired connections to 5mbit and upload to 248kbit.
4. Do all this with the least amount of kernel modules.
5. Do all this without limiting bursts or prioritizing traffic.

I was able to do the first parts of 1 and 3 with tc and the sch_tbf module, but I wasn't able to find a guide that was helpful in limiting http and ftp rates and I'm kinda hoping to use less modules/resources and just let traffic pass through the router very quickly.

Any advise/guidance is appreciated

TIA

Last edited by debwalker; 05-09-2013 at 09:52 PM.
 
Old 05-13-2013, 02:28 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Following link may help you.
http://www.cyberciti.biz/faq/linux-t...-http-traffic/
 
  


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
Limiting sshfs access to a specific directory, or tunneling nfs over ssh. Jophish Linux - Networking 5 01-24-2010 04:59 AM
traffic rate limiting on specific ports. zidane_tribal Linux - Networking 8 08-03-2007 06:26 AM
Source code to block Specific Network protocols/ports ygramesh Programming 3 01-17-2007 07:43 PM
limiting disk space for a specific user wincrk Linux - General 1 04-14-2003 08:27 PM
limiting bandwidth on a specific network interface. Passive Linux - Networking 3 05-01-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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