diskless problems

Robert Watson rwatson at freebsd.org
Sat Jan 10 12:28:38 PST 2004


On Sat, 10 Jan 2004, Dag-Erling Smørgrav 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. 
> 
> 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. 
> 
> 0.0.0.0.68 > 255.255.255.255.67:  xid:0x64c4603d secs:4 flags:0x8000 [|bootp]
> 0.0.0.0.68 > 255.255.255.255.67:  xid:0x64c4603d secs:4 flags:0x8000 [|bootp]
> 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
> 
> 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. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Senior Research Scientist, McAfee Research



More information about the freebsd-hackers mailing list