1dhcp(5) Standards, Environments, and Macros dhcp(5)
2
3
4
6 dhcp - Dynamic Host Configuration Protocol
7
9 Dynamic Host Configuration Protocol (DHCP) enables host systems in a
10 TCP/IP network to be configured automatically for the network as they
11 boot. DHCP uses a client/server mechanism: servers store configuration
12 information for clients, and provide that information upon a client's
13 request. The information can include the client's IP address and infor‐
14 mation about network services available to the client.
15
16
17 This manual page provides a brief summary of the Solaris DHCP implemen‐
18 tation.
19
20 Solaris DHCP Client
21 The Solaris DHCP client is implemented as background daemon, dhcpa‐
22 gent(1M).
23
24
25 For IPv4, this daemon is started automatically during bootup if there
26 exists at least one dhcp.interface file in /etc. Only interfaces with a
27 corresponding /etc/dhcp.interface file are automatically configured
28 during boot.
29
30
31 For IPv6, this daemon is started automatically when commanded by
32 in.ndpd (based on IPv6 Routing Advertisement messages). No
33 /etc/dhcp.interface file is necessary, but such a file can be used to
34 specify an interface as "primary," provided that IPv4 DHCP is also in
35 use.
36
37
38 Network parameters needed for system configuration during bootup are
39 extracted from the information received by the daemon through the use
40 of the dhcpinfo(1) command. The daemon's default behavior can be
41 altered by changing the tunables in the /etc/default/dhcpagent file.
42 The daemon is controlled by the ifconfig(1M) utility. Check the status
43 of the daemon using the netstat(1M) and ifconfig(1M) commands.
44
45 Solaris DHCP Server
46 The Solaris DHCP server is implemented as a background daemon,
47 in.dhcpd(1M). This daemon can deliver network configuration information
48 to either BOOTP or DHCP clients. The Solaris DHCP service can be man‐
49 aged using the dhcpmgr(1M) GUI or the command line utilities dhcpcon‐
50 fig(1M), dhtadm(1M), and pntadm(1M).
51
52 DHCP Configuration Tables
53 The Solaris DHCP server stores client configuration information in the
54 following two types of tables:
55
56 dhcptab tables Contain macros and options (also known as sym‐
57 bols), used to construct a package of configura‐
58 tion information to send to each DHCP client.
59 There exists only one dhcptab for the DHCP ser‐
60 vice. The dhcptab(4) can be viewed and modified
61 using the dhtadm(1M) command or dhcpmgr(1M)
62 graphical utility. See dhcptab(4) for more
63 information about the syntax of dhcptab records.
64 See dhcp_inittab(4) for more information about
65 the DHCP options and symbols.
66
67
68 DHCP network tables DHCP network tables, which contain mappings of
69 client IDs to IP addresses and parameters asso‐
70 ciated with those addresses. Network tables are
71 named with the IP address of the network, and
72 can be created, viewed, and modified using the
73 pntadm command or dhcpmgr graphical utility. See
74 dhcp_network(4) for more information about net‐
75 work tables.
76
77
79 dhcpinfo(1), dhcpagent(1M), dhcpconfig(1M), dhcpmgr(1M), dhtadm(1M),
80 ifconfig(1M), in.dhcpd(1M), in.ndpd(1M), netstat(1M), pntadm(1M), sys‐
81 log(3C), dhcp_network(4), dhcptab(4), dhcpsvc.conf(4), dhcp_inittab(4),
82 ndpd.conf(4), dhcp_modules(5)
83
84
85 Solaris DHCP Service Developer's Guide
86
87
88 Alexander, S., and R. Droms. RFC 2132, DHCP Options and BOOTP Vendor
89 Extensions. Silicon Graphics, Inc. Bucknell University. March 1997.
90
91
92 Droms, R. RFC 1534, Interoperation Between DHCP and BOOTP. Bucknell
93 University. October 1993.
94
95
96 Droms, R. RFC 2131, Dynamic Host Configuration Protocol. Bucknell Uni‐
97 versity. March 1997.
98
99
100 Wimer, W. RFC 1542, Clarifications and Extensions for the Bootstrap
101 Protocol. Carnegie Mellon University. October 1993.
102
103
104 Lemon, T. and B. Sommerfeld. RFC 4361, Node-specific Client Identifiers
105 for Dynamic Host Configuration Protocol Version Four (DHCPv4). Nominum
106 and Sun Microsystems. February 2006.
107
108
109 Droms, R. RFC 3315, Dynamic Host Configuration Protocol for IPv6
110 (DHCPv6). Cisco Systems. July 2003.
111
112
113
114SunOS 5.11 5 Jan 2007 dhcp(5)