summaryrefslogtreecommitdiff
path: root/usr/src/man/man5/dhcp.5
blob: 33b87074497757eb21281e7d0573ee678bb05f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
'\" te
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\" Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH DHCP 5 "Feb 13, 2020"
.SH NAME
dhcp \- Dynamic Host Configuration Protocol
.SH DESCRIPTION
Dynamic Host Configuration Protocol (\fBDHCP\fR) enables host systems in a
\fBTCP/IP\fR network to be configured automatically for the network as they
boot. \fBDHCP\fR uses a client/server mechanism: servers store configuration
information for clients, and provide that information upon a client's request.
The information can include the client's \fBIP\fR address and information about
network services available to the client.
.LP
This manual page provides a brief summary of the \fBDHCP\fR
implementation.
.SS "DHCP Client"
The DHCP client is implemented as background daemon,
\fBdhcpagent\fR(1M).
.LP
For IPv4, this daemon is started automatically during bootup if there exists at
least one \fBdhcp.\fR\fIinterface\fR file in \fB/etc\fR. Only interfaces with a
corresponding \fB\fR\fB/etc/dhcp.\fR\fB\fIinterface\fR\fR file are
automatically configured during boot.
.LP
For IPv6, this daemon is started automatically when commanded by \fBin.ndpd\fR
(based on IPv6 Routing Advertisement messages). No
\fB/etc/dhcp\fR.\fIinterface\fR file is necessary, but such a file can be used
to specify an interface as "primary," provided that IPv4 DHCP is also in use.
.LP
Network parameters needed for system configuration during bootup are extracted
from the information received by the daemon through the use of the
\fBdhcpinfo\fR(1) command. The daemon's default behavior can be altered by
changing the tunables in the \fB/etc/default/dhcpagent\fR file. The daemon is
controlled by the \fBifconfig\fR(1M) utility. Check the status of the daemon
using the \fBnetstat\fR(1M) and \fBifconfig\fR(1M) commands.
.SH SEE ALSO
\fBdhcpinfo\fR(1), \fBdhcpagent\fR(1M),
\fBifconfig\fR(1M),
\fBin.ndpd\fR(1M), \fBnetstat\fR(1M),
\fBsyslog\fR(3C),
\fBdhcp_inittab\fR(4), \fBndpd.conf\fR(4)
.LP
Alexander, S., and R. Droms. \fIRFC 2132, DHCP Options and BOOTP Vendor
Extensions\fR. Silicon Graphics, Inc. Bucknell University. March 1997.
.LP
Droms, R. \fIRFC 1534, Interoperation Between DHCP and BOOTP\fR. Bucknell
University. October 1993.
.LP
Droms, R. \fIRFC 2131, Dynamic Host Configuration Protocol\fR. Bucknell
University. March 1997.
.LP
Wimer, W. \fIRFC 1542, Clarifications and Extensions for the Bootstrap
Protocol\fR. Carnegie Mellon University. October 1993.
.LP
Lemon, T. and B. Sommerfeld. \fIRFC 4361, Node-specific Client Identifiers for
Dynamic Host Configuration Protocol Version Four (DHCPv4)\fR. Nominum and Sun
Microsystems. February 2006.
.LP
Droms, R. \fIRFC 3315, Dynamic Host Configuration Protocol for IPv6
(DHCPv6)\fR. Cisco Systems. July 2003.