From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 10 12:28:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8421916A4CE for ; Sat, 10 Jan 2004 12:28:38 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15D1A43D49 for ; Sat, 10 Jan 2004 12:28:37 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i0AKR1Ud092348; Sat, 10 Jan 2004 15:27:01 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i0AKR1De092345; Sat, 10 Jan 2004 15:27:01 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 10 Jan 2004 15:27:01 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: hackers@freebsd.org Subject: Re: diskless problems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 20:28:38 -0000 On Sat, 10 Jan 2004, Dag-Erling Sm=F8rgrav wrote: > I'm trying to set up a VIA C3-based mini-ITX box for diskless boot using > isc-dhcpd 3.0 from ports. The kernel and modules load fine, but > isc-dhcpd doesn't seem to answer the kernel's DHCP discover message.=20 >=20 > The following is a tcpdump of the traffic the DHCP server sees. I've > removed the timestamps for legibility. The DHCP server is on 10.0.0.6, > the TFTP and NFS server is on 10.0.0.4, and the client is on 10.0.0.9.=20 >=20 > 0.0.0.0.68 > 255.255.255.255.67: xid:0x64c4603d secs:4 flags:0x8000 [|bo= otp] > 0.0.0.0.68 > 255.255.255.255.67: xid:0x64c4603d secs:4 flags:0x8000 [|bo= otp] > arp who-has 10.0.0.4 tell 10.0.0.9 > 10.0.0.9.68 > 255.255.255.255.67: xid:0x3d60c464 file ""[|bootp] > 10.0.0.6.67 > 10.0.0.9.68: xid:0x3d60c464 Y:10.0.0.9 S:10.0.0.4 file ""[= |bootp] [tos 0x10] > 10.0.0.9.68 > 255.255.255.255.67: xid:0x3d60c464 file ""[|bootp] > 10.0.0.6.67 > 10.0.0.9.68: xid:0x3d60c464 Y:10.0.0.9 S:10.0.0.4 [|bootp]= [tos 0x10] Can you send "tcpdump -e" output? > at this point the kernel boots and prints >=20 > Sending DHCP Discover packet from interface vr0 (00:40:63:c4:60:3d) What kernel configuration are you using? Are there multiple ethernet devices in the system? Normally if you're using pxeboot for diskless booting, there's no need for the kernel or userspace to use DHCP: they inherit the DHCP settings provided by the pxeboot loader using the kernel environment. When using PXE, there's no need for any special kernel options, etc, you should just be able to use GENERIC.=20 Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research