[CentOS] Limiting network traffic from different IPs.

Timo Schoeler
2012-05-04T09:23:35Z

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