From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMOcj-0007ZC-BD for qemu-devel@nongnu.org; Sun, 10 Sep 2006 08:41:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMOci-0007Yi-2b for qemu-devel@nongnu.org; Sun, 10 Sep 2006 08:41:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMOch-0007Yb-QM for qemu-devel@nongnu.org; Sun, 10 Sep 2006 08:41:19 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GMOdk-0007HN-Dq for qemu-devel@nongnu.org; Sun, 10 Sep 2006 08:42:24 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GMOcS-0000AK-L3 for qemu-devel@nongnu.org; Sun, 10 Sep 2006 14:41:04 +0200 Received: from zaphod.rfc1149.net ([88.191.14.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Sep 2006 14:41:04 +0200 Received: from sam by zaphod.rfc1149.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Sep 2006 14:41:04 +0200 From: Samuel Tardieu Date: 10 Sep 2006 14:36:25 +0200 Message-ID: <87d5a3c306.fsf@willow.rfc1149.net> References: <200608020955.59856.it@tidetamerboatlifts.com> <200608021457.52230.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: news Subject: [Qemu-devel] Re: Interesting QEMU + OpenVPN Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org >>>>> "Paul" == Paul Brook writes: Paul> You can already bridge the host and gues using the existing Paul> networking options (and/or VDE - http://vde.sf.net), without the Paul> encryption overhead and without needing any special setup on the Paul> guest. This is precisely what I do. When my host system starts up, it creates a bridge called "localnet" with only one card in it (my physical ethernet card). My /etc/qemu-ifup reads: #! /bin/sh sudo ifconfig $1 up sudo brctl addif localnet $1 I run qemu with "-net nic -net tap" and that's it, the qemu instance has access to my local network, DHCP server, IPv6 routers, etc. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/