Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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


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


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

Rep: Reputation: 140Reputation: 140
Following link may help you.


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 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 05:59 AM
traffic rate limiting on specific ports. zidane_tribal Linux - Networking 8 08-03-2007 07:26 AM
Source code to block Specific Network protocols/ports ygramesh Programming 3 01-17-2007 08:43 PM
limiting disk space for a specific user wincrk Linux - General 1 04-14-2003 09:27 PM
limiting bandwidth on a specific network interface. Passive Linux - Networking 3 05-01-2002 05:20 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration