LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Rate Limiting specific interfaces, specific protocols (https://www.linuxquestions.org/questions/linux-networking-3/rate-limiting-specific-interfaces-specific-protocols-4175461367/)

debwalker 05-09-2013 09:49 PM

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

nini09 05-13-2013 02:28 PM

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


All times are GMT -5. The time now is 05:44 PM.