From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EIWfb-0003aX-3s for qemu-devel@nongnu.org; Thu, 22 Sep 2005 15:23:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EIWfV-0003Wz-5W for qemu-devel@nongnu.org; Thu, 22 Sep 2005 15:23:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIWfU-0003Rv-Ab for qemu-devel@nongnu.org; Thu, 22 Sep 2005 15:23:40 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EIWbI-0005Ud-48 for qemu-devel@nongnu.org; Thu, 22 Sep 2005 15:19:20 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EIWXA-0003Jd-2p for qemu-devel@nongnu.org; Thu, 22 Sep 2005 21:15:04 +0200 Received: from vol75-6-82-228-67-28.fbx.proxad.net ([82.228.67.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Sep 2005 21:15:04 +0200 Received: from charpent by vol75-6-82-228-67-28.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Sep 2005 21:15:04 +0200 From: Emmanuel Charpentier Date: Thu, 22 Sep 2005 21:13:15 +0200 Message-ID: References: <4332E177.8070909@cptec.inpe.br> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit In-Reply-To: <4332E177.8070909@cptec.inpe.br> Sender: news Subject: [Qemu-devel] Re: Net - Qemu 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 luciana wrote: > Hello! I need to configure the net emulated by the qemu in the w2000, I > got to activate it using DHCP, but I need to configure a fixed ip of > the type 150.163..... Does anybody know as doing? Thank you 150.163.0.0 is your local network, right ? This is what worked for me (Linux host) : I set up a bridge (br0), configured with DHCP and attached my real ethernet to it. the /etc/qemu-ifup adds the newly-created tun0 to it (this has to be a sudo'd command). Works like a charm : all Ethernet traffic is passed on this tun0 interface whenever the MAC destination is the right one. Therefore, passing it a MAC address known from my (real) DHCP server allows automatic (DHCP) configuration of the emulated machine. You should also be able to configure a fixed IP. Now, I understand that you are running Windows 2000 on the host. I do not know if there are bridging utilities for Windows. If so, this might be an easy solution... if there is something like qemu-ifup in Windows. Hope this helps, Emmanuel Charpentier