From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUYMF-0005VM-5z for qemu-devel@nongnu.org; Wed, 17 Nov 2004 17:32:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUYMC-0005U0-JX for qemu-devel@nongnu.org; Wed, 17 Nov 2004 17:32:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUYMC-0005Tq-CD for qemu-devel@nongnu.org; Wed, 17 Nov 2004 17:32:56 -0500 Received: from [38.113.3.71] (helo=smtp-out.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CUYD9-0002sL-TA for qemu-devel@nongnu.org; Wed, 17 Nov 2004 17:23:36 -0500 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by smtp-out.hotpop.com (Postfix) with SMTP id 7935711ECD1E for ; Wed, 17 Nov 2004 22:23:25 +0000 (UTC) Received: from jbrown.mylinuxbox.org (pcp03144805pcs.midval01.tn.comcast.net [68.59.228.236]) by smtp-3.hotpop.com (Postfix) with ESMTP id 83E5511ED394 for ; Wed, 17 Nov 2004 22:23:22 +0000 (UTC) Date: Wed, 17 Nov 2004 17:23:25 -0500 From: "Jim C. Brown" Subject: Re: [Qemu-devel] question for QEMU users Message-ID: <20041117222325.GA10291@jbrown.mylinuxbox.org> References: <41e41e7a041116170723778032@mail.gmail.com> <874qjog9z8.fsf@Janik.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874qjog9z8.fsf@Janik.cz> 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 On Wed, Nov 17, 2004 at 09:23:23AM +0100, Pavel Jan?k wrote: > From: Hetz Ben Hamo > Date: Wed, 17 Nov 2004 03:07:36 +0200 > > Hi, > > > * Others (if you have suggestions - go ahead).. > > - use vmnet like approach for networking where you simply get IP from your > local network, no bridges, etc. > -- > Pavel Jan?k I do not know how vmnet works. VDE does this (you get your IP from the local network(1) and you don't have to deal with bridges). The problem is that you do have firewall/router headaches sometimes. It would be nice if we could just run a script or program that works on all linux systems and fixes up firewall trouble ... this is actually not difficult to do (assuming the script knows what tapN device (basicly a kind of ethN device) VDE is using and what the ip addresses are) it is just no one has bothered to write a generic script to handle this yet. This script could easily handle automaticly setting up routing as well (but for some people that includes a kernel recompile). It would be nicer if the program could be used on non-nix OSes as well (modifying a script so it works on various *nixes is not a trivial task but it is far from unreasonably difficult). But I only use *nix OSes for qemu hosts so I don't have to think about this part at all. (1) This "local" network is actually a virtual network. So qemu would get its IP for the virtual network but it would not be visible on your real LAN without some router work. Hence the need for that magic script. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.