From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 6 17:04:30 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EAA31065670 for ; Fri, 6 Mar 2009 17:04:30 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id DB4A18FC18 for ; Fri, 6 Mar 2009 17:04:29 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so581709rvb.43 for ; Fri, 06 Mar 2009 09:04:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=GhnVJeKCKdtHWYLmfH9wntobMcicBfxTngvhwaAY/ek=; b=iw7GO2z6bJT/6hhh/TUgKLXrKLQih99WgdmSvuWaLTenUkmndxU5sNuih+CaPVWmuf rLViRV18j75HEF0xuWK8fPTu/3A6Un7rhP5EYNaehBmv36vvYcXpQ2xJWq9W9mElSj60 8jM7XX3psgJk0qvJ4zqR4fcLa3c7o0/cPMW8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=OT7nkgNOCHOEXjLZ6CHxaAWsVBf+cJ9iVL1lL4YqjkINPDQmfnC6q6c+0ZI9fJbiE6 PrvQTGZdgml6LmUFZOUM6pSv4jwJ3MjSJxHn0UKY62JGhAuNFkmH62upnDfw7+0/zsqb XmK/bEbY4bXO1ouV52GY5tQh/cDyR9qzuMeGU= MIME-Version: 1.0 Received: by 10.140.199.15 with SMTP id w15mr1361287rvf.140.1236357351069; Fri, 06 Mar 2009 08:35:51 -0800 (PST) Date: Fri, 6 Mar 2009 10:35:51 -0600 Message-ID: From: Phusion To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Help configuring qemu networking tap mode X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 17:04:30 -0000 I have qemu installed and have a guest os running Windows XP Professional. The host os is FreeBSD 7.1-RELEASE. I have the guest os working with the default networking. qemu -hda /data/qemu/winxp.img -m 256 -localtime -std-vga I would like to get networking tap mode working. I have set the following already. # sudo cat /boot/loader.conf if_bridge_load="YES" if_tap_load="YES" # sudo cat /etc/rc.conf ifconfig_bfe0="DHCP" cloned_interfaces="bridge0" ifconfig_bridge0="addm bfe0 up" For an example network that uses DHCP for 192.168.1.x, I would like to have the guest os have an IP address (static or dynamic) in the same range. Where do I make the necessary changes? Phusion