From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T99hS-0003U2-Te for qemu-devel@nongnu.org; Wed, 05 Sep 2012 03:07:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T99hO-00043j-Rq for qemu-devel@nongnu.org; Wed, 05 Sep 2012 03:06:58 -0400 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]:57877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T99hO-00043e-Jm for qemu-devel@nongnu.org; Wed, 05 Sep 2012 03:06:54 -0400 Received: by lagz14 with SMTP id z14so101305lag.4 for ; Wed, 05 Sep 2012 00:06:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 5 Sep 2012 08:06:53 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] VM Communications inner a network bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: GaoYi Cc: qemu-devel@nongnu.org On Tue, Sep 4, 2012 at 1:50 PM, GaoYi 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