NAME
dhcpd, dhcp6d, dhcpleases, rarpd, tftpd – Internet booting |
SYNOPSIS
ip/dhcpd [–dmnprsSZ] [–h homedir] [–f ndbfile] [–M secs] [–x netmtpt]
[–Z secs] [ address n ] ... ip/dhcpleases ip/dhcp6d [–d] [–f ndbfile] [–x netmtpt] ip/rarpd [–d] [–e etherdev] [–x netmtpt]
ip/tftpd [–dr] [–h homedir] [–x netmtpt] [–n nsfile] [–m mapfile] |
DESCRIPTION
These programs support booting over the Internet. They should
all be run on the same server to allow other systems to be booted.
Dhcpd, dhcp6d and tftpd are used to boot everything; rarpd is
an extra piece just for Suns.
Dhcpd runs the BOOTP and DHCP protocols. Clients use these protocols
to obtain configuration information. This information comes from
attribute/value pairs in the network database (see ndb(6) and
ndb(8)). DHCP requests are honored both for static addresses found
in the NDB and for dynamic addresses listed in the
command line. DHCP requests are honored if either:
A BOOTP request is honored if all of the following are true:
Dynamic addresses are specified on the command line as a list
of addresses and number pairs. For example,
Dhcpd maintains a record of all dynamic addresses in the directory /lib/ndb/dhcp, one file per address. If multiple servers have access to this common directory, they will correctly coordinate their actions.
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:
Dhcpd will answer BOOTP requests only if it has been specifically
targeted or if it has read access to the boot file for the requester.
That means that the requester must specify a boot file in the
request or one has to exist in NDB for dhcpd to answer. Dhcpd
will answer all DHCP requests for which it can associate an IP
address with the requester. The options are: Dhcp6d provides DHCPv6 service for IPv6 clients. Only network boot and DNS parameters are supported. Dhcpleases prints out the currently valid DHCP leases found in the /lib/ndb/dhcp directory.
Rarpd performs the Reverse Address Resolution Protocol, translating
Ethernet addresses into IP addresses. The options are:
Tftpd transfers files to systems that are booting. It runs as
user none and can only access files with global read permission.
The options are:
|
FILES
/lib/ndb/dhcp directory of dynamic address files |
SOURCE
/sys/src/cmd/ip |
SEE ALSO
ndb(6), booting(8) |