From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BZUh7-0000UR-4f for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:06:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BZUh4-0000TK-Od for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:06:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZUh4-0000TH-MR for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:06:38 -0400 Received: from [81.209.184.159] (helo=dd2718.kasserver.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BZUfy-0007fD-Gf for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:05:30 -0400 Received: from [192.168.0.7] (dsl-082-083-245-142.arcor-ip.net [82.83.245.142]) by dd2718.kasserver.com (Postfix) with ESMTP id 2692294159 for ; Sun, 13 Jun 2004 15:03:21 +0200 (CEST) Message-ID: <40CC5115.7090602@fabianowski.de> Date: Sun, 13 Jun 2004 15:05:25 +0200 From: Bartosz Fabianowski MIME-Version: 1.0 Subject: Re: [Qemu-devel] Anyone have functioning networking with a FreeBSD host? References: <20040613052815.GA378@prophecy.dyndns.org> In-Reply-To: <20040613052815.GA378@prophecy.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 I am using "normal" networking (that is, not slirp) with FreeBSD as host. My guest operating systems are various versions of Windows and none of them have any problems with networking whatsoever. Here's my configuration. Maybe it can help you to fix your installation: * I compile QEMU from CVS with the patches from the port. Apart from a --prefix, I pass no special arguments to configure. * In my /etc/rc.conf, I have set FreeBSD to work as a gateway by setting gateway_enable="YES". * My guest uses the IP 192.168.1.7 on the emulated network card, the tap device on the host has IP 192.168.1.1. The only problem here is that I have been too lazy to write a network script so it's just a no-op and I always run "ifconfig tapX inet 192.168.1.1" manually whenever QEMU starts and allocates a new tap device (why is it by the way that QEMU always opens a new tap device?). With those few steps, it all works very nicely. I should note, however, that to go on the Internet with the guest operating system, its IP must be NAT-ed somewhere on the way, which is handled by another FreeBSD box in my case. - Bartosz