.TH DHCPD 8
.SH NAME
-dhcpd, dhcpleases, rarpd, tftpd \- Internet booting
+dhcpd, dhcp6d, dhcpleases, rarpd, tftpd \- Internet booting
.SH SYNOPSIS
.PP
.B ip/dhcpd
.RB [ -dmnprsSZ ]
+.RB [ -h
+.IR homedir ]
.RB [ -f
-.IR ndb-file ]
+.IR ndbfile ]
.RB [ -M
.IR secs ]
.RB [ -x
.PP
.B ip/dhcpleases
.PP
+.B ip/dhcp6d
+.RB [ -d ]
+.RB [ -f
+.IR ndbfile ]
+.RB [ -x
+.IR netmtpt ]
+.PP
.B ip/rarpd
.RB [ -d ]
.RB [ -e
These programs support booting over the Internet.
They should all be run on the same server to
allow other systems to be booted.
-.I Dhcpd
+.IR Dhcpd ,
+.I dhcp6d
and
.I tftpd
are used to boot everything;
subnet, or the entry for its network. The system entry has precedence,
then the subnet, then the network.
The NDB attributes used are:
-.TF ipmask
+.TF rootserver
.TP
.B ip
the IP address
the domain name of the system
.TP
.B fs
-the default Plan 9 name server
+the default Plan 9 file server
.TP
.B auth
the default Plan 9 authentication server
the default boot file;
see
.IR ndb (6)
+.TP
+.B tftp
+the TFTP server to fetch
+.I bootf
+from
+.TP
+.B rootpath
+the NFS root for unix machines
+.TP
+.B rootserver
+the NFS server used with
+.I rootpath
+.TP
+.B vendor
+Specific vendor attribute for dhcp and bootp
.PD
.PP
.I Dhcpd
.B d
Print debugging to standard output.
.TP
+.B h
+Change directory to
+.IR homedir .
+The default is
+.BR / .
+This should match the
+.I homedir
+setting of
+.I tftpd
+so that the existence check of non-rooted file names
+is consistent.
+.TP
.B f
Specify a file other than
.B /lib/ndb/local
as the minimum lease time for static addresses.
.PD
.PP
+.I Dhcp6d
+provides DHCPv6 service for IPv6 clients. Only network boot and
+DNS parameters are supported.
+.PP
.I Dhcpleases
prints out the currently valid DHCP leases found in the
.B /lib/ndb/dhcp
Change directory to
.IR homedir .
The default is
-.BR /lib/tftpd .
+.BR / .
All requests for files with non-rooted file names are served starting at this
-directory with the exception of files of the form
-.BR xxxxxxxx.SUNyy .
-These are Sparc kernel boot files where
-.B xxxxxxxx
-is the hex IP address of the machine requesting the kernel and
-.B yy
-is an architecture identifier.
-.I Tftpd
-looks up the file in the network database using
-.I ipinfo
-(see
-.IR ndb (2))
-and responds with the boot file specified for that particular
-machine.
-If no boot file is specified, the transfer fails.
+directory. This needs to be consistent with the
+.I homedir
+setting of
+.IR dhcpd .
.I Tftpd
supports only octet mode.
.TP
.B /sys/src/cmd/ip
.SH "SEE ALSO"
.IR ndb (6),
-.IR 9load (8),
.IR booting (8)