[CentOS] Limiting network traffic from different IPs.

Fri May 4 09:23:35 UTC 2012
Timo Schoeler <timo.schoeler at riscworks.net>

On 05/04/2012 11:13 AM, thus Rafał Radecki spake:

> Hi all.

Hi Rafal,

> I have a router with 5 network interfaces and sometimes there is so
> much traffic on one of them that the server load is very high. What
> are the options to limit the traffic per IP address on every 
> interface? Which need least system (CPU, memory) resources?

maybe using tc would be of help for you; there are a bunch of nice how
to's on the net, e.g.:

http://wiki.openvz.org/Traffic_shaping_with_tc

http://tldp.org/HOWTO/Traffic-Control-HOWTO/index.html

> Thanks.
> 
> Best regards, Rafal.

HTH,

Timo