Hi-
I am quite pleased to announce that I am able to netboot my Digital Unix
clients (for cloning purposes) using the ISC dhcp-2.0b1pl25 (seems that
pl26 was released this afternoon) server (
ftp://ftp.isc.org/isc/dhcp/).
I have to thank Ted Lemon for all of his patience and help and the
always-reply-rfc1048 flag. This should allow me to migrate my
bootp/netbooting to the ISC server and supplant the *%$^# joind that comes
with Digital Unix 4.0X and support DHCP clients on my network.
If you are going to also support DHCP clients, you will need to make sure
to place them in a separate group if you are going to specify a lot of
options (domain-name, routers, domain-name-servers, broadcast-address, etc)
since these will fill up the bootp packet and the server will never pass
the critical root-path parameter to the client. The netboot will fail with
the following error:
hostname: CLIENT
mount root SERVER: failed, rpc status 13
panic (cpu 0): vfs_mountroot: cannot mount root
syncing disks... done
The DHCP server compliles out of the box. I change the LOG_FACILITY in
dhcp-2.0b1plxx/includes/site.h from the default of LOG_DAEMON. You will need
to make sure that the kernel for your server was compiled with
options PACKETFILTER
I modified /sbin/init.d/dhcp to use /usr/sbin/dhcpd rather than
(/usr/sbin/joind) and set JOIND="yes" in /etc/rc.config. You may also want
use JOIND_FLAGS="" to pass flags to dhcpd.
An example /etc/dhcpd.conf for Digital Unix client:
# sample dhcpd.conf for a class C network
# aaa.bbb.ccc.sss -> server with Digital Unix distribution installed
# into ris directory /var/adm/ris/risN.alpha
# o /ris/kit is a symbolic link to /var/adm/ris/risN.alpha/product_1
# o /ris/vmunix1 is a symbolic link to /var/adm/ris/risN.alpha/kit/vmunix1
# o (note: I copied /var/adm/ris/risN.alpha/vmunix1 into the kit directory )
# o /ris/kit is in /etc/exports
#
# aaa.bbb.ccc.nnn -> netboot client
# o MAC address in /var/adm/ris/clients/risdb with appropo entry
# for risN.alpha
# o client is in /var/adm/ris/.rhosts
subnet aaa.bbb.ccc.0 netmask 255.255.255.0 {
# keep subnet parameter devoid of options or it will fill
# up the bootp packet and prevent netbooting.
# define a group for dhcp clients
# - put all of the fun DHCP options in here
group {
}
# define a group for netboot clients
group {
always-reply-rfc1048 ;
use-host-decl-names on ;
server-name "server" ;
filename "/ris/kit/vmunix1" ;
option root-path "server:/ris/kit" ;
host client {
hardware ethernet 0:0:f8:... ;
fixed address aaa.bbb.ccc.nnn ;
}
}
#
}
S
--
-------------------------------------------------------------------------
Sean O'Connell Email: sean_at_stat.Duke.EDU
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University Fax: (919) 684-8594
Received on Tue Apr 13 1999 - 03:30:41 NZST