]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/8/dhcpd
console(8): add console command and manpage
[plan9front.git] / sys / man / 8 / dhcpd
index 6e4102913b0158c4db98e18f13e363b9a2b9a6da..082a28114270d7df8049433b11efc14270267a43 100644 (file)
@@ -1,12 +1,14 @@
 .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
@@ -20,6 +22,13 @@ dhcpd, dhcpleases, rarpd, tftpd \- Internet booting
 .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
@@ -37,7 +46,8 @@ dhcpd, dhcpleases, rarpd, tftpd \- Internet booting
 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;
@@ -102,7 +112,7 @@ Attributes come from either the NDB entry for the system, the entry for its
 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
@@ -117,7 +127,7 @@ the default IP gateway
 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
@@ -149,6 +159,21 @@ an SMTP mail 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
@@ -169,6 +194,18 @@ The options are:
 .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
@@ -221,6 +258,10 @@ Use
 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
@@ -265,23 +306,12 @@ The default is
 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
@@ -295,5 +325,4 @@ Restricts access to only those files rooted in the
 .B /sys/src/cmd/ip
 .SH "SEE ALSO"
 .IR ndb (6),
-.IR 9load (8),
 .IR booting (8)