LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Traffic Control in a vrf-patched kernel (https://www.linuxquestions.org/questions/linux-networking-3/traffic-control-in-a-vrf-patched-kernel-900080/)

baraka 08-29-2011 12:13 PM

Traffic Control in a vrf-patched kernel
 
Hi All,
I'm trying to figure out how to work with /sbin/tc in a vrf-patched kernel. My goal is to limit the network traffic for each interface in my machine according to a pre-defined percentage.
For example:
eth0 is limited to 50% of the total network traffic, eth1 to 40% and eth2 to 10%.

In some cases I'll need to limit several interfaces (all of the interfaces belongs to the same vrf), and allow all of them together to consume some percentage from the total network traffic.
For example:
eth0 is limited to 20%
eth1, eth2 and eth3 are limited to accumulated limit 20% (all of them together can consume up to 20%, and the consumption doesn't have to spread equally between all interfaces)
eth4 is limited to 60%

I've searched over the net, but didn't find anything useful.

Thanks for your help!


All times are GMT -5. The time now is 01:22 AM.