Received: from [140.186.70.92] (port=47749 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsW7w-00064O-Vi for qemu-devel@nongnu.org; Thu, 24 Feb 2011 03:00:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsW7Y-0006yc-Gd for qemu-devel@nongnu.org; Thu, 24 Feb 2011 03:00:21 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:49860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsW7Y-0006yI-68 for qemu-devel@nongnu.org; Thu, 24 Feb 2011 03:00:20 -0500 From: Arnd Bergmann Subject: Re: [Qemu-devel] Re: Network bridging without adding bridge with brctl, possible? Date: Thu, 24 Feb 2011 09:00:05 +0100 References: <4D660DBA.8040208@siemens.com> In-Reply-To: <4D660DBA.8040208@siemens.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102240900.05918.arnd@arndb.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Gerhard Wiesinger , "qemu-devel@nongnu.org" On Thursday 24 February 2011, Jan Kiszka wrote: > On 2011-02-24 07:49, Gerhard Wiesinger wrote: > > On Wed, 23 Feb 2011, Jan Kiszka wrote: > >> Right, but if I set IP(eth0) == IP(macvlan0), I'm able to communicate > >> between macvlan0 and mactapX, thus between guest and host. Just > >> re-checked here, still works (after resolving the usual MAC address mess > >> I caused by configuring manually). > > > > Thnx for the tipp. > > > > Did you use MAC(eth0) == MAC(macvlan0) or MAC(eth0) <> MAC(macvlan0) to > > get it to work? > > The latter (I just let macvlan/tap choose their MACs). You cannot set the two to the same MAC address while they are up, but I think you can do ip link set eth0 down ip link set macvlan0 ${MAC_ETH0} ip link set macvlan0 up Doing that is a bit tricky if eth0 is your only connection to the machine... Arnd