[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] VM Communications inner a network bridge
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] VM Communications inner a network bridge |
Date: |
Wed, 5 Sep 2012 08:06:53 +0100 |
On Tue, Sep 4, 2012 at 1:50 PM, GaoYi <address@hidden> wrote:
> When 2 VMs are started on the same network bridge, will the TCP/IP
> packets between them still go through the router (actually these 2 VMs share
> the same physical network card)? If so, is it possible to just pass the
> packets inner the network card?
If you have 2 VMs using tap network interfaces on a Linux software
bridge, then packets will be passed between the tap interfaces.
Packets will not go onto the host's physical interface (e.g. eth0).
This is regular Ethernet bridge behavior: the bridge decides on which
port(s) to forward the packet based on its MAC address to port
mapping.
Stefan