From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My7Z3-000341-Gm for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:23:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My7Yy-00032x-JW for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:23:04 -0400 Received: from [199.232.76.173] (port=56928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My7Yy-00032u-Ei for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:23:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49855) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My7Yy-0006Yg-1K for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:23:00 -0400 Date: Wed, 14 Oct 2009 19:20:40 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCH-updated] qemu/net: add raw backend Message-ID: <20091014172040.GB30367@redhat.com> References: <20091014143415.GA29937@redhat.com> <4AD5E449.9070301@codemonkey.ws> <20091014151406.GA17062@shareable.org> <4AD5F51E.7040907@codemonkey.ws> <20091014161424.GA30308@redhat.com> <20091014165447.GA19784@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091014165447.GA19784@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Or Gerlitz , Arnd Bergmann , qemu-devel@nongnu.org On Wed, Oct 14, 2009 at 05:54:47PM +0100, Jamie Lokier wrote: > Michael S. Tsirkin wrote: > > > The fact that network manager does work well with bridged interfaces is > > > a network manager bug. > > > > Network manager was just one example. > > Even if network manager and all other configuration programs are fixed > to handle a bridge, it's still quite fiddly to configure them. > > I find I have to use > > - bridges to an uplink interface for some VMs (guest has IP on same > network as host, fixed host interfaces, typically in servers) Another similar setup of interest is when you have dhcp server and want both VMs and host to get IP from there. > - bridges attached to changing uplink for some VMs (laptop, where > the main internet uplink changes between eth0/wlan0/ppp0/bnep0 > according to available signals) > > - no bridge at all (just routing tap, used on all sorts of machines) > for VMs needing to run on host-local IPs and talk to the host, > and maybe NAT to the internet > > - bridges not attached to any host interface, just multiple tap > interfaces, used to connect guests with host-local IPs that must > see each other's broadcasts > > The corresponding iptables is rather tricky too. Another issue is that host will often lose networking while you fiddle with bridge connected to an uplink. So doing this if your only way to access the box is through the network is tricky. > > > It's getting fixed so in the near future, tap will satisfy all of > > > these requirements. > > That will be really nice if it does. > > -- Jamie