[CentOS-virt] Network traffic control/shaping of guest interfaces

Tue Sep 20 18:52:52 UTC 2011
Nenad Opsenica <nenad at panline.net>

On 09/20/2011 08:44 PM, Emmanuel Noobadmin wrote:
> On 9/21/11, Nenad Opsenica<nenad at panline.net>  wrote:
>> I would convert bridged setup on host to the routed one.
>> Then you will have several separate interfaces on host, each one used
>> for communication with only one guest and it will be easy to attach tc
>> to them.
> In other words, there's no solution for bridged networking?
I'm afraid so. Maybe it could be possible in some strange setup, but I 
think it would be too complicated, if possible at all.

> How would routed networking impact the guest performance? The reason I
> went for bridged was that it was supposed to have the least overheads
> and here http://www.cyberciti.biz/faq/rhel-linux-kvm-virtualization-bridged-networking-with-libvirt/
> said it was required for servers with multiple network cards. Which is
> the case here because I have 3 NICs, one each for Internet traffic,
> networked storage and user access.
You can combine bridged and routed setup - for example, use bridging for 
storage, routing for internet and user access.

Using routed setup have one more advantage - you can use firewall on 
host to filter guests' traffic.