From owner-freebsd-emulation@FreeBSD.ORG Wed May 7 03:37:50 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4627B1065673 for ; Wed, 7 May 2008 03:37:50 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 0409E8FC13 for ; Wed, 7 May 2008 03:37:49 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id E3C322218A83; Wed, 7 May 2008 13:22:32 +1000 (EST) X-Viruscan-Id: <4821207800003F141265D7@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 8420A21B2BCF for ; Wed, 7 May 2008 13:22:32 +1000 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id 0DD722218A6B for ; Wed, 7 May 2008 13:22:32 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id B6766A33; Wed, 7 May 2008 13:22:31 +1000 (EST) Date: Wed, 7 May 2008 13:22:31 +1000 From: Edwin Groothuis To: emulation@freebsd.org Message-ID: <20080507032231.GA29548@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: QEMU with network boot 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: Wed, 07 May 2008 03:37:50 -0000 Hello, First time user with QEMU, trying to get things up and running... I got routing working, I can reach the internet from my emulated FreeBSD 6.3 OS. Thanks to nox on #bsdports for that. When I start the qemu host with "-boot n", I see the DHCP requests and answers going over the wire (... tap device ...) but the NIC keeps saying that it can't get an IP address. This is the network output of it: --------------------------------------------------------------------------- TIME: 13:18:21.306194 IP: > (52:54:00:12:34:56) > (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: 00157da3 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 0.0.0.0 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: 52:54:00:12:34:56:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER) OPTION: 57 ( 2) Maximum DHCP message size 1500 OPTION: 60 ( 13) Vendor class identifier Etherboot-5.4 OPTION: 55 ( 4) Parameter Request List 1 (Subnet mask) 3 (Routers) 12 (Host name) 43 (Vendor specific info) OPTION: 150 ( 11) ??? af050110ec8139b1 ......9. 020300 ... --------------------------------------------------------------------------- TIME: 13:18:22.003805 IP: > (00:bd:5c:dc:5d:00) > (52:54:00:12:34:56) OP: 2 (BOOTPREPLY) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: 00157da3 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 192.168.253.24 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: 52:54:00:12:34:56:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: pxeboot. OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER) OPTION: 54 ( 4) Server identifier 192.168.253.1 OPTION: 51 ( 4) IP address leasetime 600 (10m) OPTION: 1 ( 4) Subnet mask 255.255.255.0 OPTION: 3 ( 4) Routers 192.168.253.1 OPTION: 12 ( 8) Host name qemu63-1 --------------------------------------------------------------------------- It is giving option 150, which I don't really know what for. And it is asking for vendor specific information, which I don't really know which one that is neither. Has anybody managed to get this working? How did the relevant part of your dhcp.conf look like? Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/