Traffic Control in a vrf-patched kernel
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.
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.
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!