10Sstevel@tonic-gate<!--
20Sstevel@tonic-gate  --
30Sstevel@tonic-gate    CDDL HEADER START
40Sstevel@tonic-gate
50Sstevel@tonic-gate    The contents of this file are subject to the terms of the
6*11262SRajagopal.Andra@Sun.COM    Common Development and Distribution License (the "License").
7*11262SRajagopal.Andra@Sun.COM    You may not use this file except in compliance with the License.
80Sstevel@tonic-gate
90Sstevel@tonic-gate    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
100Sstevel@tonic-gate    or http://www.opensolaris.org/os/licensing.
110Sstevel@tonic-gate    See the License for the specific language governing permissions
120Sstevel@tonic-gate    and limitations under the License.
130Sstevel@tonic-gate
140Sstevel@tonic-gate    When distributing Covered Code, include this CDDL HEADER in each
150Sstevel@tonic-gate    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
160Sstevel@tonic-gate    If applicable, add the following below this CDDL HEADER, with the
170Sstevel@tonic-gate    fields enclosed by brackets "[]" replaced with your own identifying
180Sstevel@tonic-gate    information: Portions Copyright [yyyy] [name of copyright owner]
190Sstevel@tonic-gate
200Sstevel@tonic-gate    CDDL HEADER END
210Sstevel@tonic-gate
22*11262SRajagopal.Andra@Sun.COM -- Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*11262SRajagopal.Andra@Sun.COM -- Use is subject to license terms.
240Sstevel@tonic-gate  -->
250Sstevel@tonic-gate<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
260Sstevel@tonic-gate<html>
270Sstevel@tonic-gate
280Sstevel@tonic-gate<head>
290Sstevel@tonic-gate<title>DHCP Manager Help: Configuring DHCP Server</title>
300Sstevel@tonic-gate<meta NAME="AUTHOR" CONTENT="smorgan">
310Sstevel@tonic-gate<meta NAME="KEYWORDS" CONTENT="DHCP">
320Sstevel@tonic-gate
330Sstevel@tonic-gate</head>
340Sstevel@tonic-gate
350Sstevel@tonic-gate<body bgcolor="#ffffff">
360Sstevel@tonic-gate
370Sstevel@tonic-gate<a name="top"></a>
380Sstevel@tonic-gate
390Sstevel@tonic-gate<table border=0 cellspacing=0 cellpadding=0 width=625>
400Sstevel@tonic-gate
410Sstevel@tonic-gate
420Sstevel@tonic-gate<!-- Start navigation banner -->
430Sstevel@tonic-gate
440Sstevel@tonic-gate<tr><td colspan=4  WIDTH="615" align="left" valign="top"><IMG SRC="art/bannersmc.gif" WIDTH=615 BORDER=0 ALT="DHCP Manager Help">
450Sstevel@tonic-gate
460Sstevel@tonic-gate	</td>
470Sstevel@tonic-gate	</tr>
480Sstevel@tonic-gate
490Sstevel@tonic-gate<!-- End navigation banner -->
500Sstevel@tonic-gate
510Sstevel@tonic-gate
520Sstevel@tonic-gate<tr>
530Sstevel@tonic-gate
540Sstevel@tonic-gate<!-- Start contents block -->
550Sstevel@tonic-gate
560Sstevel@tonic-gate	<td colspan=1 valign="top" WIDTH="105">
570Sstevel@tonic-gate	<P>&nbsp;</P>
580Sstevel@tonic-gate	<STRONG><A HREF="dhcp_main_top.html">Overview</A></STRONG><P>
590Sstevel@tonic-gate	<STRONG><A HREF="dhcp_relay_ref.html">Servers and Relays</A></STRONG><BR>
600Sstevel@tonic-gate	<IMG SRC="art/tip2.gif" WIDTH=12 HEIGHT=10 BORDER=0 ALT="">DHCP Config<BR>
610Sstevel@tonic-gate	&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#store"><EM>Data Store</EM></A><BR>
620Sstevel@tonic-gate   &nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#dspath"><EM>Path</EM></A><BR>
630Sstevel@tonic-gate   &nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#hostnmserv"><EM>Hosts Name Service</EM></A><BR>
640Sstevel@tonic-gate	&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#lease"><EM>Lease Policy</EM></A><BR>
650Sstevel@tonic-gate	&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#dns"><EM>DNS Domain/Server</EM></A><BR>
660Sstevel@tonic-gate	&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#net"><EM>Network</EM></A><BR>
670Sstevel@tonic-gate	&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#router"><EM>Router</EM></A><BR>
680Sstevel@tonic-gate	&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#nis"><EM>NIS</EM></A><BR>
690Sstevel@tonic-gate	&nbsp;&nbsp;<A HREF="dhcp_relay_config.html">Relay Config</A><BR>
700Sstevel@tonic-gate	&nbsp;&nbsp;<A HREF="dhcp_net_wiz.html">Network Config</A><BR>
710Sstevel@tonic-gate	&nbsp;&nbsp;<A HREF="dhcp_server_serv.html">DHCP Services</A><BR>
720Sstevel@tonic-gate	&nbsp;&nbsp;<A HREF="dhcp_relay_serv.html">Relay Services</A><P>
730Sstevel@tonic-gate	<A HREF="dhcp_addr_ref.html"><STRONG>Addresses</STRONG></A><P>
740Sstevel@tonic-gate	<A HREF="dhcp_macro_ref.html"><STRONG>Macros</STRONG></A><P>
750Sstevel@tonic-gate	<A HREF="dhcp_option_ref.html"><STRONG>Options</STRONG></A><P>
760Sstevel@tonic-gate	<A HREF="dhcp_main_how.html"><STRONG>How To..</STRONG></A><P>
770Sstevel@tonic-gate	<A HREF="dhcp_main_menus.html"><STRONG>Menus</STRONG></A><P>
780Sstevel@tonic-gate<A HREF="dhcp_main_idx.html"><STRONG>Index</STRONG></A>
790Sstevel@tonic-gate
800Sstevel@tonic-gate		</td>
810Sstevel@tonic-gate
820Sstevel@tonic-gate<!-- End contents block -->
830Sstevel@tonic-gate
840Sstevel@tonic-gate<!-- Start column rule -->
850Sstevel@tonic-gate
860Sstevel@tonic-gate	<td colspan=1 width=5 bgcolor="#CCCCCC">&nbsp;</td>
870Sstevel@tonic-gate
880Sstevel@tonic-gate<!-- End column spacer -->
890Sstevel@tonic-gate
900Sstevel@tonic-gate<!-- Start column spacer -->
910Sstevel@tonic-gate
920Sstevel@tonic-gate	<td colspan=1 width=10 bgcolor="#FFFFFF">&nbsp;</td>
930Sstevel@tonic-gate
940Sstevel@tonic-gate<!-- End column spacer -->
950Sstevel@tonic-gate
960Sstevel@tonic-gate
970Sstevel@tonic-gate
980Sstevel@tonic-gate<!-- Start topic block -->
990Sstevel@tonic-gate
1000Sstevel@tonic-gate<td colspan=1 valign="top" bgcolor="#ffffff" width="495">
1010Sstevel@tonic-gate<P>&nbsp;</P>
1020Sstevel@tonic-gate
1030Sstevel@tonic-gate
1040Sstevel@tonic-gate<H1>DHCP Configuration Wizard</H1>
1050Sstevel@tonic-gate
1060Sstevel@tonic-gateThe DHCP Configuration Wizard helps you configure a Solaris<small><sup>TM</sup></small>
1070Sstevel@tonic-gatesystem to be a DHCP server and configures the first network.  <P>
1080Sstevel@tonic-gate<TABLE WIDTH="500" BORDER="1" CELLSPACING="2" CELLPADDING="2" VALIGN="TOP" BORDERCOLOR="#CCCCCC" BGCOLOR="#DEDEDE">
1090Sstevel@tonic-gate<TR>
1100Sstevel@tonic-gate<TD><STRONG>Note: </STRONG>Please read the "Planning for DHCP Service" chapter in the Solaris <em>DHCP Administration Guide, </em> before configuring a DHCP server.
1110Sstevel@tonic-gate</TD></TR>
1120Sstevel@tonic-gate</TABLE>
1130Sstevel@tonic-gate<P>
1140Sstevel@tonic-gateAfter initial configuration, use the Modify option in the <A HREF="dhcp_server_serv.html">Services</A>
1150Sstevel@tonic-gatemenu to configure services such as BOOTP compatibility, duplicate address detection,
1160Sstevel@tonic-gateand which interfaces to monitor.<P>
1170Sstevel@tonic-gateTo enter information in the wizard, double-click in the field, enter the desired value, and then press Enter.<P>
1180Sstevel@tonic-gateThe DHCP Configuration Wizard, asks you to supply the following information.
1190Sstevel@tonic-gate<P><HR NOSHADE><P>
1200Sstevel@tonic-gate
1210Sstevel@tonic-gate<table border=0 cellspacing=4 cellpadding=3 width=490>
1220Sstevel@tonic-gate	<tr>
1230Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="store"><STRONG>Data Store </STRONG></A><br>
1240Sstevel@tonic-gate	</td>
1250Sstevel@tonic-gate	<td valign="top">Select the type of data store the DHCP server will use to
1260Sstevel@tonic-gate	store configuration data. The choices are:
1270Sstevel@tonic-gate
1280Sstevel@tonic-gate<table cellspacing=3 cellpadding=3>
1290Sstevel@tonic-gate		<tr>
1300Sstevel@tonic-gate		<td width=90 valign="top"><em>Text files</em></td>
1310Sstevel@tonic-gate		<td valign="top">Data is stored in clear text ASCII files. Suitable for small number of clients, up to 10,000. Data can be shared through NFS among several DHCP servers.</td>
1320Sstevel@tonic-gate		</tr>
1330Sstevel@tonic-gate<tr>
1340Sstevel@tonic-gate		<td width=90 valign="top"><em>Binary files</em></td>
1350Sstevel@tonic-gate		<td valign="top">Data is stored in binary text files. Suitable for large numbers of clients up to 100,000. Data can <em>not</em> be shared among several DHCP servers. </td>
1360Sstevel@tonic-gate		</tr>
1370Sstevel@tonic-gate</table>
1380Sstevel@tonic-gate</td>
1390Sstevel@tonic-gate</tr>
1400Sstevel@tonic-gate<!-- end data store row -->
1410Sstevel@tonic-gate	<tr>
1420Sstevel@tonic-gate<td width=125 valign="top"><A NAME="dspath"><STRONG>Data store path</STRONG></A><br>
1430Sstevel@tonic-gate</td>
1440Sstevel@tonic-gate<td>If you chose text files or binary files as your data store, enter the path to the
1450Sstevel@tonic-gate	data (default=<tt>/var/dhcp</tt>).<p>
146*11262SRajagopal.Andra@Sun.COM	<P> </td></tr>
1470Sstevel@tonic-gate
1480Sstevel@tonic-gate
1490Sstevel@tonic-gate<tr>
1500Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="hostnmserv"><STRONG>Hosts name service</STRONG></A><br>
1510Sstevel@tonic-gate	</td>
1520Sstevel@tonic-gate	<td valign="top">Select the name service that the DHCP server should use to register host names associated with IP addresses that it allocates to clients.
1530Sstevel@tonic-gate <table cellspacing=3 cellpadding=3>
1540Sstevel@tonic-gate		<tr>
1550Sstevel@tonic-gate		<td width=90 valign="top"><em>Do not manage hosts records</em></td>
1560Sstevel@tonic-gate		<td valign="top">The DHCP server will not attempt to add host name entries to any name service. An administrator should add the names manually to a name service. </td>
1570Sstevel@tonic-gate		</tr>
1580Sstevel@tonic-gate<tr>
1590Sstevel@tonic-gate		<td width=90 valign="top"><em>/etc/hosts</em></td>
1600Sstevel@tonic-gate		<td valign="top">The DHCP server will add host name entries to the servers /etc/hosts table. </td>
1610Sstevel@tonic-gate		</tr>
1620Sstevel@tonic-gate<tr>
1630Sstevel@tonic-gate		<td width=90 valign="top"><em>DNS</em></td>
1640Sstevel@tonic-gate		<td valign="top">The DHCP server will add host name entries to DNS if the DHCP daemon and DNS daemon are running on the same system.  You must supply the DNS domain name. </td>
1650Sstevel@tonic-gate		</tr>
1660Sstevel@tonic-gate</table>
1670Sstevel@tonic-gate
1680Sstevel@tonic-gate	</td>
1690Sstevel@tonic-gate	</tr>
1700Sstevel@tonic-gate<!-- End of Hosts name service row -->
1710Sstevel@tonic-gate	<tr>
1720Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="lease"><STRONG>Lease Policy</STRONG></A><br>
1730Sstevel@tonic-gate	</td>
1740Sstevel@tonic-gate	<td valign="top">Enter the length of time before a lease expires.
1750Sstevel@tonic-gate	The lease is the amount of time a DHCP server grants
1760Sstevel@tonic-gate	permission to a DHCP client to use a particular address.
1770Sstevel@tonic-gate	You can enter from 1 hour to 3550 weeks. <P>
1780Sstevel@tonic-gate	The lease time value should be relatively small, so that expired addresses
1790Sstevel@tonic-gateare reclaimed quickly, but large enough so that if your DHCP service becomes
1800Sstevel@tonic-gateunavailable, the clients continue to function until the machine(s) running
1810Sstevel@tonic-gatethe DHCP service can be repaired.  A rule of thumb is to specify a time that
1820Sstevel@tonic-gateis two times the predicted down time of a server. For example, if it generally
1830Sstevel@tonic-gatetakes four hours to obtain and replace a defective part and reboot the server,
1840Sstevel@tonic-gateyou should specify a lease time of eight hours. <P>
1850Sstevel@tonic-gate	The default is to allow a client to renegotiate the lease before it expires.
1860Sstevel@tonic-gate	A Solaris DHCP client will try to renew the lease when it is halfway
1870Sstevel@tonic-gate	through the lease period. <P>
1880Sstevel@tonic-gate	If not allowed to renegotiate, clients must issue a new DHCP request
1890Sstevel@tonic-gate    in order to obtain a
1900Sstevel@tonic-gate	new address when the lease expires. You may choose this option
1910Sstevel@tonic-gate	in an environment where there are more clients than there are
1920Sstevel@tonic-gate	addresses, and you need to enforce a time limit on the use of an IP
1930Sstevel@tonic-gate	address.
1940Sstevel@tonic-gate	</td>
1950Sstevel@tonic-gate	</tr>
1960Sstevel@tonic-gate
1970Sstevel@tonic-gate	<tr>
1980Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="dns"><STRONG>DNS Domain</STRONG></A></td>
1990Sstevel@tonic-gate	<td valign="top">The domain server resolves host names to host
2000Sstevel@tonic-gate	addresses. If the server is configured to use DNS, the domain name and address
2010Sstevel@tonic-gate	of the DNS server will be displayed.
2020Sstevel@tonic-gate	If the fields are empty, you can enter the domain name and address of a
2030Sstevel@tonic-gate	DNS domain server. <p>
2040Sstevel@tonic-gate	You can enter the address of more than one server. The order in the list
2050Sstevel@tonic-gate	determines the order in which the servers are queried.
2060Sstevel@tonic-gate	</td>
2070Sstevel@tonic-gate
2080Sstevel@tonic-gate	</tr>
2090Sstevel@tonic-gate	<TR><TD COLSPAN="2">&nbsp;&nbsp;&nbsp;<A HREF="#top"><small>return to top</small></A></TD></TR>
2100Sstevel@tonic-gate
2110Sstevel@tonic-gate	</table>
2120Sstevel@tonic-gate
2130Sstevel@tonic-gate<HR noshade size=2>
2140Sstevel@tonic-gate
2150Sstevel@tonic-gate
2160Sstevel@tonic-gate<strong><A NAME="net"><big>Network Configuration</big></A></STRONG><P>
2170Sstevel@tonic-gateThis section begins the network configuration.
2180Sstevel@tonic-gateYou can configure the first network using the DHCP Configuration Wizard. Once
2190Sstevel@tonic-gatethe DHCP server is configured, you can add additional networks using the Network Wizard, which is available from the Edit menu, when the Address view is displayed.<P>
2200Sstevel@tonic-gate
2210Sstevel@tonic-gate	<table border=0 cellspacing=4 cellpadding=3 width=490>
2220Sstevel@tonic-gate	<tr>
2230Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="addr"><STRONG>Network Address</STRONG></A></td>
2240Sstevel@tonic-gate	<td valign="top">
2250Sstevel@tonic-gate	Enter the IP address of the network you are configuring.<p>
2260Sstevel@tonic-gate	</td>
2270Sstevel@tonic-gate	</tr>
2280Sstevel@tonic-gate
2290Sstevel@tonic-gate		<tr>
2300Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="info"><STRONG>Subnet Mask</STRONG></A><br></td>
2310Sstevel@tonic-gate	<td valign="top">
2320Sstevel@tonic-gate		Enter the subnet mask for this network. A subnet mask is a way of dividing
2330Sstevel@tonic-gate	up the host portion of an Internet address to form local subnetworks.
2340Sstevel@tonic-gate	</TD></TR>
2350Sstevel@tonic-gate
2360Sstevel@tonic-gate	<tr>
2370Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="info"><STRONG>Network Type</STRONG></A><br></td>
2380Sstevel@tonic-gate	<td valign="top">
2390Sstevel@tonic-gate	Specify whether the network is a local area network (LAN) or point-to-point (PPP).<p>
2400Sstevel@tonic-gate
2410Sstevel@tonic-gate
2420Sstevel@tonic-gate	</TD>
2430Sstevel@tonic-gate	</tr>
2440Sstevel@tonic-gate
2450Sstevel@tonic-gate	<tr>
2460Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="router"><STRONG>Routing</STRONG></A></td>
2470Sstevel@tonic-gate	<td valign="top">A router is a machine with multiple network
2480Sstevel@tonic-gate	interfaces that can forward IP packets from one network to
2490Sstevel@tonic-gate	another. In most cases, your clients should use router discovery to
2500Sstevel@tonic-gate	connect to a router. If you have clients in your network that cannot
2510Sstevel@tonic-gate	use router discovery, enter the IP address of a router which
2520Sstevel@tonic-gate	they can use to communicate with systems on another network.
2530Sstevel@tonic-gate	</td>
2540Sstevel@tonic-gate	</tr>
2550Sstevel@tonic-gate
2560Sstevel@tonic-gate
2570Sstevel@tonic-gate	<tr>
2580Sstevel@tonic-gate	<td width=125 valign="top"><A NAME="nis"><STRONG>NIS Domain Name</STRONG></A><br>
2590Sstevel@tonic-gate	<STRONG>NIS Server Address</STRONG></td>
2600Sstevel@tonic-gate	<td valign="top">If the server is configured to use NIS naming service,
2610Sstevel@tonic-gate	the NIS server information will be filled in.  If not, you can enter the domain
2620Sstevel@tonic-gate	name and IP address of one or more NIS name servers.<P>
2630Sstevel@tonic-gate
2640Sstevel@tonic-gate	The order in which the address appears in the list determines the order in
2650Sstevel@tonic-gate	which the servers are queried.
2660Sstevel@tonic-gate	</td>
2670Sstevel@tonic-gate	</tr>
2680Sstevel@tonic-gate
2690Sstevel@tonic-gate</table>
2700Sstevel@tonic-gate&nbsp;&nbsp;&nbsp;<A HREF="#top"><small>return to top</small></A>
2710Sstevel@tonic-gate
2720Sstevel@tonic-gate
2730Sstevel@tonic-gate
2740Sstevel@tonic-gate<p>&nbsp;</p>
2750Sstevel@tonic-gate
2760Sstevel@tonic-gate
2770Sstevel@tonic-gate<!-- Don't go past this line! -->
2780Sstevel@tonic-gate
2790Sstevel@tonic-gate	</td>
2800Sstevel@tonic-gate
2810Sstevel@tonic-gate<!-- End topic block -->
2820Sstevel@tonic-gate
2830Sstevel@tonic-gate</tr>
2840Sstevel@tonic-gate
2850Sstevel@tonic-gate</table>
2860Sstevel@tonic-gate
2870Sstevel@tonic-gate<!-- End topic table -->
2880Sstevel@tonic-gate
2890Sstevel@tonic-gate</body>
2900Sstevel@tonic-gate</html>
291