Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 15:27:01 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no>
Cc:        hackers@freebsd.org
Subject:   Re: diskless problems
Message-ID:  <Pine.NEB.3.96L.1040110152456.91469E-100000@fledge.watson.org>
In-Reply-To: <xzpbrpbsj4j.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040110152456.91469E-100000>