Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 20:23:24 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        hackers@freebsd.org
Subject:   diskless problems
Message-ID:  <xzpbrpbsj4j.fsf@dwp.des.no>

next in thread | raw e-mail | index | archive | help
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 [|boot=
p]
0.0.0.0.68 > 255.255.255.255.67:  xid:0x64c4603d secs:4 flags:0x8000 [|boot=
p]
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 ""[|b=
ootp] [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]

at this point the kernel boots and prints

Sending DHCP Discover packet from interface vr0 (00:40:63:c4:60:3d)

and tcpdump shows this:

0.0.0.0.68 > 255.255.255.255.67:  xid:0xffff0001 flags:0x8000 [|bootp] [ttl=
 1]

but no reply from isc-dhcpd.

relevant excerpts from dhcpd.conf:

option domain-name-servers 10.0.0.6;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.1;

host via {
        hardware ethernet 00:40:63:c4:60:3d;
        fixed-address 10.0.0.9;
        next-server 10.0.0.4;
        filename "pxeboot";
        option root-path "/via";
}

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpbrpbsj4j.fsf>