OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / dhcp / draft / man5 / dhcpd.conf.5
1 .\"     dhcpd.conf.5
2 .\"
3 .\" Copyright (c) 1995, 1996, 1997, 1998, 1998, 1999
4 .\" The Internet Software Consortium.    All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\"
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\"    notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\"    notice, this list of conditions and the following disclaimer in the
14 .\"    documentation and/or other materials provided with the distribution.
15 .\" 3. Neither the name of The Internet Software Consortium nor the names
16 .\"    of its contributors may be used to endorse or promote products derived
17 .\"    from this software without specific prior written permission.
18 .\"
19 .\" THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
20 .\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 .\" DISCLAIMED.  IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
24 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
27 .\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
30 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 .\" SUCH DAMAGE.
32 .\"
33 .\" This software has been written for the Internet Software Consortium
34 .\" by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
35 .\" Enterprises.  To learn more about the Internet Software Consortium,
36 .\" see ``http://www.isc.org/isc''.  To learn more about Vixie
37 .\" Enterprises, see ``http://www.vix.com''.
38 .\"
39 .\" Japanese Version Copyright (c) 2001 NAKANO Takeo all rights reserved.
40 .\" Translated Sun Sep 9 2001 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
41 .\"
42 .TH dhcpd.conf 5
43 .\"O .SH NAME
44 .\"O dhcpd.conf - dhcpd configuration file
45 .SH Ì¾Á°
46 dhcpd.conf \- dhcpd ¤ÎÀßÄê¥Õ¥¡¥¤¥ë
47 .\"O .SH DESCRIPTION
48 .SH ÀâÌÀ
49 .\"O The dhcpd.conf file contains configuration information for
50 .\"O .IR dhcpd,
51 .\"O the Internet Software Consortium DHCP Server.
52 dhcpd.conf ¤Ï¡¢Internet Software Consortium DHCP ¥µ¡¼¥Ð
53 .I dhcpd
54 ¤ÎÀßÄê¾ðÊ󤬽ñ¤«¤ì¤¿¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
55 .PP
56 .\"O The dhcpd.conf file is a free-form ASCII text file.   It is parsed by
57 .\"O the recursive-descent parser built into dhcpd.   The file may contain
58 .\"O extra tabs and newlines for formatting purposes.  Keywords in the file
59 .\"O are case-insensitive.   Comments may be placed anywhere within the
60 .\"O file (except within quotes).   Comments begin with the # character and
61 .\"O end at the end of the line.
62 dhcpd.conf ¥Õ¥¡¥¤¥ë¤Ï¼«Í³·Á¼°¤Î ASCII ¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
63 dhcpd ¤ËÁȤ߹þ¤Þ¤ì¤¿ºÆµ¢²¼¹ß·¿¤Î¥Ñ¡¼¥¶¤Ë¤è¤Ã¤Æ²ò¼á¤µ¤ì¤Þ¤¹¡£
64 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢À°·Á¤ÎÌÜŪ¤Ç;ʬ¤Ê¥¿¥Ö¤ä²þ¹Ô¤òÆþ¤ì¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£
65 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¥­¡¼¥ï¡¼¥É¤ÎÂçʸ»ú¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£
66 ¥³¥á¥ó¥È¤Ï¥Õ¥¡¥¤¥ë¤Î¤É¤³¤Ë¤Ç¤âÆþ¤ì¤é¤ì¤Þ¤¹ (¥¯¥©¡¼¥È¤ÎÆâÉô¤ò½ü¤¯)¡£
67 ¥³¥á¥ó¥È¤Ï # Ê¸»ú¤Ç»Ï¤Þ¤ê¡¢¹ÔËö¤Ç½ª¤ï¤ê¤Þ¤¹¡£
68 .PP
69 .\"O The file essentially consists of a list of statements.   Statements
70 .\"O fall into two broad categories - parameters and declarations.
71 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï´ðËÜŪ¤Ë¤Ïʸ (statement) ¤Î¥ê¥¹¥È¤«¤é¤Ê¤ê¤Þ¤¹¡£
72 ʸ¤ÏÂ礭¤¯Æó¤Ä¤Î¥«¥Æ¥´¥ê¤Ëʬ¤±¤é¤ì¤Þ¤¹¡£¥Ñ¥é¥á¡¼¥¿Ê¸¤ÈÀë¸Àʸ¤Ç¤¹¡£
73 .PP
74 .\"O Parameter statements either say how to do something (e.g., how long a
75 .\"O lease to offer), whether to do something (e.g., should dhcpd provide
76 .\"O addresses to unknown clients), or what parameters to provide to the
77 .\"O client (e.g., use gateway 220.177.244.7).
78 ¥Ñ¥é¥á¡¼¥¿Ê¸¤Ï¡¢
79 ¤Ê¤Ë¤«¤ò¤É¤ÎÍͤ˹Ԥ¦¤« (Î㤨¤ÐÄ󶡤¹¤ë¥ê¡¼¥¹¤ÎŤµ)¡¢
80 ¤Ê¤Ë¤«¤ò¹Ô¤¦¤«¤É¤¦¤«
81 (Î㤨¤ÐÁÇÀ­¤Î¤ï¤«¤é¤Ê¤¤¥¯¥é¥¤¥¢¥ó¥È¤Ë¤â¥¢¥É¥ì¥¹¤òÍ¿¤¨¤ë¤«¤É¤¦¤«)¡¢
82 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¤É¤ÎÍͤʥѥé¥á¡¼¥¿¤òÍ¿¤¨¤ë¤«
83 (Î㤨¤Ð¥²¡¼¥È¥¦¥§¥¤¤È¤·¤Æ 220.177.244.7)¡¢
84 ¤Ê¤É¤ò·è¤á¤Þ¤¹¡£
85 .PP
86 .\"O Declarations are used to describe the topology of the
87 .\"O network, to describe clients on the network, to provide addresses that
88 .\"O can be assigned to clients, or to apply a group of parameters to a
89 .\"O group of declarations.   In any group of parameters and declarations,
90 .\"O all parameters must be specified before any declarations which depend
91 .\"O on those parameters may be specified.
92 Àë¸Àʸ¤Ï¡¢
93 ¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥È¥Ý¥í¥¸¡¼¤òµ­½Ò¤·¤¿¤ê¡¢
94 ¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥¯¥é¥¤¥¢¥ó¥È¤òµ­½Ò¤·¤¿¤ê¡¢
95 ¥¯¥é¥¤¥¢¥ó¥È¤Ë³ä¤êÅö¤Æ²Äǽ¤Ê¥¢¥É¥ì¥¹¤ò·è¤á¤¿¤ê¡¢
96 ¤Ò¤È¤Þ¤È¤Þ¤ê¤Î¥Ñ¥é¥á¡¼¥¿¤òÀë¸Àʸ¤Î¥°¥ë¡¼¥×¤ËÍ¿¤¨¤¿¤ê¤¹¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
97 ¥Ñ¥é¥á¡¼¥¿Ê¸¤äÀë¸Àʸ¤Î¥°¥ë¡¼¥×¤Ë¤ª¤¤¤Æ¤Ï¡¢
98 ¤¢¤ëÀë¸Àʸ¤¬°Í¸¤¹¤ë¥Ñ¥é¥á¡¼¥¿Ê¸¤Ï¡¢
99 ¤½¤ÎÀë¸Àʸ¤è¤ê¤âÁ°¤Ë»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
100 .PP
101 .\"O Declarations about network topology include the
102 .\"O  \fIshared-network\fR and the \fIsubnet\fR
103 .\"O declarations.   If clients on a subnet are to be assigned addresses
104 .\"O dynamically, a \fIrange\fR declaration must appear within the
105 .\"O \fIsubnet\fR declaration.   For clients with statically assigned
106 .\"O addresses, or for installations where only known clients will be
107 .\"O served, each such client must have a \fIhost\fR declaration.   If
108 .\"O parameters are to be applied to a group of declarations which are not
109 .\"O related strictly on a per-subnet basis, the \fIgroup\fR declaration
110 .\"O can be used.
111 ¥Í¥Ã¥È¥ï¡¼¥¯¥È¥Ý¥í¥¸¡¼¤Ë´Ø¤¹¤ëÀë¸À¤Ë¤Ï
112 \fIshared-network\fR Ê¸¤È \fIsubnet\fR Ê¸¤¬¤¢¤ê¤Þ¤¹¡£
113 ¥µ¥Ö¥Í¥Ã¥È¤Ë¤¢¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬¥¢¥É¥ì¥¹¤òưŪ¤Ë³ä¤êÅö¤Æ¤Æ¤â¤é¤¦¾ì¹ç¤Ï¡¢
114 \fIsubnet\fR Àë¸À¤ÎÆâÉô¤Ë \fIrange\fR Àë¸Àʸ¤âɬÍפˤʤê¤Þ¤¹¡£
115 ÀÅŪ¤Ë¥¢¥É¥ì¥¹¤¬³ä¤êÅö¤Æ¤é¤ì¤¿¥¯¥é¥¤¥¢¥ó¥È¤ä¡¢
116 ÁÇÀ­¤Î¤ï¤«¤Ã¤Æ¤¤¤ë¥¯¥é¥¤¥¢¥ó¥È¤Ë¤Î¤ß¥¢¥É¥ì¥¹¤òÄ󶡤¹¤ë¤è¤¦¤ÊÀßÄê¤Ç¤Ï¡¢
117 ¤³¤Î¤è¤¦¤Ê¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ \fIhost\fR Àë¸Àʸ¤¬É¬ÍפǤ¹¡£
118 Æä˥µ¥Ö¥Í¥Ã¥È¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤Æ¤¤¤Ê¤¤Àë¸À¥°¥ë¡¼¥×¤Ë
119 ²¿¤é¤«¤Î¥Ñ¥é¥á¡¼¥¿¤òÍ¿¤¨¤¿¤¤¾ì¹ç¤Ï¡¢
120 \fIgroup\fR Àë¸Àʸ¤¬»È¤¨¤Þ¤¹¡£
121 .PP
122 .\"O For every subnet which will be served, and for every subnet
123 .\"O to which the dhcp server is connected, there must be one \fIsubnet\fR
124 .\"O declaration, which tells dhcpd how to recognize that an address is on
125 .\"O that subnet.  A \fIsubnet\fR declaration is required for each subnet
126 .\"O even if no addresses will be dynamically allocated on that subnet.
127 ¥µ¡¼¥Ó¥¹¤ò¼õ¤±¤ë¥µ¥Ö¥Í¥Ã¥È¤ä¡¢dhcp ¥µ¡¼¥Ð¤¬Àܳ¤¹¤ë¥µ¥Ö¥Í¥Ã¥È¤Ë¤Ï¡¢
128 ¤¹¤Ù¤Æ \fIsubnet\fR Àë¸À¤¬É¬ÍפȤʤê¤Þ¤¹¡£¤³¤ì¤Ë¤è¤Ã¤Æ dhcpd ¤Ï¡¢
129 ¤¢¤ë¥¢¥É¥ì¥¹¤¬¤½¤Î¥µ¥Ö¥Í¥Ã¥È¤Ë¤¢¤ë¤³¤È¤òǧ¼±¤¹¤ë¤Î¤Ç¤¹¡£
130 \fIsubnet\fR Àë¸À¤Ï¡¢
131 ¤½¤Î¥µ¥Ö¥Í¥Ã¥È¤ËưŪ³ä¤êÅö¤Æ¤ò¼õ¤±¤ë¥¢¥É¥ì¥¹¤¬¤Ê¤¯¤Æ¤âɬÍפǤ¹¡£
132 .PP
133 .\"O Some installations have physical networks on which more than one IP
134 .\"O subnet operates.   For example, if there is a site-wide requirement
135 .\"O that 8-bit subnet masks be used, but a department with a single
136 .\"O physical ethernet network expands to the point where it has more than
137 .\"O 254 nodes, it may be necessary to run two 8-bit subnets on the same
138 .\"O ethernet until such time as a new physical network can be added.   In
139 .\"O this case, the \fIsubnet\fR declarations for these two networks may be
140 .\"O enclosed in a \fIshared-network\fR declaration.
141 ¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï¡¢°ì¤Ä¤ÎʪÍýŪ¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¾å¤Ç
142 2 ¤Ä°Ê¾å¤Î IP ¥µ¥Ö¥Í¥Ã¥È¤¬Æ°ºî¤¹¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
143 Î㤨¤Ð¡¢ÁÈ¿¥¤Î¥ë¡¼¥ë¤Ç 8 ¥Ó¥Ã¥È¤Î¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯¤ò»È¤Ã¤Æ¤¤¤ë¤È¤·¤Þ¤·¤ç¤¦¡£
144 ¤³¤Î¤È¤­¤¢¤ëÉôÌç¤Ç¡¢
145 °ì¤Ä¤ÎʪÍý¥¤¡¼¥µ¥Í¥Ã¥È¥Í¥Ã¥È¥ï¡¼¥¯¤ËÀܳ¤¹¤ë¥Î¡¼¥É¤¬ 254 ¤ò±Û¤¨¤Æ¤·¤Þ¤Ã¤¿¤é¡¢
146 ¿·¤·¤¤ÊªÍý¥Í¥Ã¥È¥ï¡¼¥¯¤¬ÄɲäǤ­¤ë¤Þ¤Ç¤Ï¡¢
147 ¤½¤Î¥¤¡¼¥µ¥Í¥Ã¥È¤Ç 8 ¥Ó¥Ã¥È¤Î¥µ¥Ö¥Í¥Ã¥È¤ò 2 ¤ÄÁö¤é¤»¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Ç¤·¤ç¤¦¡£
148 ¤³¤Î¤è¤¦¤Ê¾ì¹ç¤Ë¤Ï¡¢
149 ¤³¤ì¤é¤Î 2 ¤Ä¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤ËÂФ¹¤ë \fIsubnet\fR Àë¸À¤Ï¡¢
150 \fIshared-network\fR (¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯) Àë¸À¤Ç°Ï¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
151 .PP
152 .\"O Some sites may have departments which have clients on more than one
153 .\"O subnet, but it may be desirable to offer those clients a uniform set
154 .\"O of parameters which are different than what would be offered to
155 .\"O clients from other departments on the same subnet.   For clients which
156 .\"O will be declared explicitly with \fIhost\fR declarations, these
157 .\"O declarations can be enclosed in a \fIgroup\fR declaration along with
158 .\"O the parameters which are common to that department.   For clients
159 .\"O whose addresses will be dynamically assigned, there is currently no
160 .\"O way to group parameter assignments other than by network topology.
161 ¥µ¥¤¥È¤Ë¤è¤Ã¤Æ¤Ï¡¢
162 ¤¢¤ëÉôÌç¤Î¥¯¥é¥¤¥¢¥ó¥È¤¬ 2 ¤Ä°Ê¾å¤Î¥µ¥Ö¥Í¥Ã¥È¤ËÀܳ¤µ¤ì¤Æ¤¤¤ë¤³¤È¤â¤¢¤ë¤Ç¤·¤ç¤¦¡£
163 ¤³¤Î¤È¤­¤³¤ì¤é¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ë¶¦Ä̤Υѥé¥á¡¼¥¿¤òÍ¿¤¨¡¢
164 ¤«¤ÄƱ¤¸¥µ¥Ö¥Í¥Ã¥È¤Ë¤¤¤ëÊ̤ÎÉôÌç¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ë¤Ï
165 °ã¤¦¥Ñ¥é¥á¡¼¥¿¤òÍ¿¤¨¤¿¤¤¤È¤·¤Þ¤·¤ç¤¦¡£
166 \fIhost\fR Àë¸À¤Ë¤è¤Ã¤ÆÌÀ¼¨Åª¤ËÀë¸À¤¹¤ë¥¯¥é¥¤¥¢¥ó¥È¤Ç¤Ï¡¢
167 ¤³¤ì¤é¤ò \fIgroup\fR Àë¸À¤Ë¤è¤Ã¤Æ°Ï¤Ã¤Æ¡¢
168 ¤½¤ÎÉôÌç¤Ë¶¦Ä̤Υѥé¥á¡¼¥¿¤òÍ¿¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
169 ¥¢¥É¥ì¥¹¤¬Æ°Åª¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¥¯¥é¥¤¥¢¥ó¥È¤Ç¤Ï¡¢
170 º£¤Î¤È¤³¤í¥Í¥Ã¥È¥ï¡¼¥¯¥È¥Ý¥í¥¸¡¼¤Ë¤è¤ë¾¤Ë¤Ï¡¢
171 ¥°¥ë¡¼¥×ñ°Ì¤Ç¤Î¥Ñ¥é¥á¡¼¥¿³ä¤êÅö¤Æ¤ò¹Ô¤¦ÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£
172 .PP
173 .\"O When a client is to be booted, its boot parameters are determined by
174 .\"O first consulting that client's \fIhost\fR declaration (if any), then
175 .\"O consulting the \fIgroup\fR declaration (if any) which enclosed that
176 .\"O \fIhost\fR declaration, then consulting the \fIsubnet\fR declaration
177 .\"O for the subnet on which the client is booting, then consulting the
178 .\"O \fIshared-network\fR declaration (if any) containing that subnet, and
179 .\"O finally consulting the top-level parameters which may be specified
180 .\"O outside of any declaration.
181 ¤¢¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬¥Ö¡¼¥È¤¹¤ë¾ì¹ç¡¢
182 ¤½¤Î¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤ò·èÄꤹ¤ë¤Ë¤Ï¡¢
183 ¤Þ¤º¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Î \fIhost\fR Àë¸À¤¬ (¸ºß¤¹¤ì¤Ð) »²¾È¤µ¤ì¤Þ¤¹¡£
184 ¼¡¤Ë¤½¤Î \fIhost\fR Àë¸À¤ò°Ï¤Ã¤Æ¤¤¤ë
185 \fIgroup\fR Àë¸À¤¬ (¸ºß¤¹¤ì¤Ð) »²¾È¤µ¤ì¤Þ¤¹¡£
186 ¤½¤Î¼¡¤Ë¤Ï¥Ö¡¼¥È¤¹¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬½ê°¤¹¤ë¥µ¥Ö¥Í¥Ã¥È¤Î
187 \fIsubnet\fR Àë¸À¤¬»²¾È¤µ¤ì¡¢
188 ¤µ¤é¤Ë¤½¤Î¥µ¥Ö¥Í¥Ã¥È¤ò°Ï¤Ã¤Æ¤¤¤ë
189 \fIshared-network\fR Àë¸À¤¬ (¸ºß¤¹¤ì¤Ð) »²¾È¤µ¤ì¤Þ¤¹¡£
190 ºÇ¸å¤Ë¡¢¤¹¤Ù¤Æ¤ÎÀë¸À¤Î³°Éô¤ËÃÖ¤«¤ì¤Æ¤¤¤ë¡¢
191 ¥È¥Ã¥×¥ì¥Ù¥ë¤Î¥Ñ¥é¥á¡¼¥¿¤¬»²¾È¤µ¤ì¤Þ¤¹¡£
192 .PP
193 .\"O When dhcpd tries to find a \fIhost\fR declaration for a client, it
194 .\"O first looks for a \fIhost\fR declaration which has a
195 .\"O \fIfixed-address\fR parameter which matches the subnet or shared
196 .\"O network on which the client is booting.   If it doesn't find any such
197 .\"O entry, it then tries to find an entry which has no \fIfixed-address\fR
198 .\"O parameter.   If no such entry is found, then dhcpd acts as if there is
199 .\"O no entry in the dhcpd.conf file for that client, even if there is an
200 .\"O entry for that client on a different subnet or shared network.
201 dhcpd ¤¬¥¯¥é¥¤¥¢¥ó¥È¤ËÂбþ¤¹¤ë \fIhost\fR Àë¸À¤òõ¤¹¤È¤­¤Ë¤Ï¡¢
202 ¤Þ¤º¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤¬¥Ö¡¼¥È¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¥µ¥Ö¥Í¥Ã¥È (¤Þ¤¿¤Ï¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯)
203 ¤Ë¥Þ¥Ã¥Á¤¹¤ë \fIfixed-address\fR ¥Ñ¥é¥á¡¼¥¿¤ò´Þ¤à \fIhost\fR Àë¸À¤òõ¤·¤Þ¤¹¡£
204 ¤½¤Î¤è¤¦¤Ê¥¨¥ó¥È¥ê¤¬¤Ê¤±¤ì¤Ð¡¢
205 \fIfixed-address\fR ¥Ñ¥é¥á¡¼¥¿¤¬´Þ¤Þ¤ì¤Ê¤¤¥¨¥ó¥È¥ê¤òõ¤·¤Þ¤¹¡£
206 ¤½¤Î¤è¤¦¤Ê¥¨¥ó¥È¥ê¤â¤Ê¤±¤ì¤Ð¡¢
207 ¤¿¤È¤¨¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Î¥¨¥ó¥È¥ê¤¬Ê̤Υµ¥Ö¥Í¥Ã¥È¤ä¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤¢¤Ã¤Æ¤â¡¢
208 dhcpd ¤Ï¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Î¥¨¥ó¥È¥ê¤¬
209 dhcpd.conf ¥Õ¥¡¥¤¥ë¤Ë¤Ï¸ºß¤·¤Ê¤¤¤«¤Î¤è¤¦¤ËÆ°ºî¤·¤Þ¤¹¡£
210 .\"O .SH EXAMPLES
211 .SH Îã
212 .PP
213 .\"O A typical dhcpd.conf file will look something like this:
214 ¤è¤¯¤¢¤ë dhcpd.conf ¥Õ¥¡¥¤¥ë¤ÎÎã¤ò¼¨¤·¤Þ¤¹:
215 .nf
216
217 .I global parameters...
218
219 shared-network ISC-BIGGIE {
220   \fIshared-network-specific parameters...\fR
221   subnet 204.254.239.0 netmask 255.255.255.224 {
222     \fIsubnet-specific parameters...\fR
223     range 204.254.239.10 204.254.239.30;
224   }
225   subnet 204.254.239.32 netmask 255.255.255.224 {
226     \fIsubnet-specific parameters...\fR
227     range 204.254.239.42 204.254.239.62;
228   }
229 }
230
231 subnet 204.254.239.64 netmask 255.255.255.224 {
232   \fIsubnet-specific parameters...\fR
233   range 204.254.239.74 204.254.239.94;
234 }
235
236 group {
237   \fIgroup-specific parameters...\fR
238   host zappo.test.isc.org {
239     \fIhost-specific parameters...\fR
240   }
241   host beppo.test.isc.org {
242     \fIhost-specific parameters...\fR
243   }
244   host harpo.test.isc.org {
245     \fIhost-specific parameters...\fR
246   }
247 }
248
249 .ce 1
250 Figure 1
251
252 .fi
253 .PP
254 .\"O Notice that at the beginning of the file, there's a place
255 .\"O for global parameters.   These might be things like the organization's
256 .\"O domain name, the addresses of the name servers (if they are common to
257 .\"O the entire organization), and so on.   So, for example:
258 ¥Õ¥¡¥¤¥ë¤ÎÀèƬ¤Ë¤Ï¥°¥í¡¼¥Ð¥ë¤Ê¥Ñ¥é¥á¡¼¥¿¤Î¤¿¤á¤Î
259 ¾ì½ê¤¬¤¢¤ë¤³¤È¤Ë¤ªµ¤¤Å¤­¤Ë¤Ê¤Ã¤¿¤«¤È»×¤¤¤Þ¤¹¡£
260 ¤³¤³¤Ç¤ÏÁÈ¿¥¤Î¥É¥á¥¤¥ó̾¡¢¥Í¡¼¥à¥µ¡¼¥Ð¤Î¥¢¥É¥ì¥¹
261 (ÁÈ¿¥Á´ÂΤ˶¦Ä̤Τâ¤Î¤¬¤¢¤ì¤Ð) ¤Ê¤É¤ò»ØÄꤷ¤Þ¤¹¡£
262 ½¾¤Ã¤Æ¡¢Î㤨¤Ð¼¡¤Î¤è¤¦¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£
263 .nf
264
265         option domain-name "isc.org";
266         option domain-name-servers ns1.isc.org, ns2.isc.org;
267
268 .ce 1
269 Figure 2
270 .fi
271 .PP
272 .\"O As you can see in Figure 2, it's legal to specify host addresses in
273 .\"O parameters as domain names rather than as numeric IP addresses.  If a
274 .\"O given hostname resolves to more than one IP address (for example, if
275 .\"O that host has two ethernet interfaces), both addresses are supplied to
276 .\"O the client.
277 Figure 2 ¤Ë¤¢¤ë¤È¤ª¤ê¡¢¥Ñ¥é¥á¡¼¥¿¤ËÍ¿¤¨¤ë¥Û¥¹¥È¤Î¥¢¥É¥ì¥¹¤Ï¡¢
278 ¿ôÃÍ·Á¼°¤Î IP ¥¢¥É¥ì¥¹¤Ç¤Ï¤Ê¤¯¥É¥á¥¤¥ó̾¤ÇÍ¿¤¨¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£
279 Í¿¤¨¤é¤ì¤¿¥Û¥¹¥È̾¤¬ 1 ¤Ä°Ê¾å¤Î IP ¥¢¥É¥ì¥¹¤Ë²ò·è¤µ¤ì¤ë
280 (Î㤨¤Ð¥Û¥¹¥È¤¬¥¤¡¼¥µ¥Í¥Ã¥È¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò 2 ¤Ä»ý¤Ã¤Æ¤¤¤ë¤Ê¤É)
281 ¾ì¹ç¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ë¤Ï¤¹¤Ù¤Æ¤Î¥¢¥É¥ì¥¹¤¬ÅϤµ¤ì¤Þ¤¹¡£
282 .PP
283 .\"O In Figure 1, you can see that both the shared-network statement and
284 .\"O the subnet statements can have parameters.   Let us say that the
285 .\"O shared network \fIISC-BIGGIE\fR supports an entire department -
286 .\"O perhaps the accounting department.   If accounting has its own domain,
287 .\"O then a shared-network-specific parameter might be:
288 Figure 1 ¤«¤é¤ï¤«¤ë¤È¤ª¤ê¡¢shared-network Ê¸¤â
289 subnet Ê¸¤â¥Ñ¥é¥á¡¼¥¿¤ò¼è¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
290 ¤³¤³¤Ç¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯ \fIISC-BIGGIE\fR ¤ÏÉôÌç (Î㤨¤Ð·ÐÍýÉôÌç)
291 Á´ÂΤò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤È¤·¤Þ¤·¤ç¤¦¡£
292 ·ÐÍýÉôÌç¤Ë¤Ï¼«Á°¤Î¥É¥á¥¤¥ó¤¬¤¢¤ë¤È¤¹¤ë¤È¡¢
293 shared-network ÀìÍѤΥѥé¥á¡¼¥¿¤È¤·¤Æ°Ê²¼¤òÍ¿¤¨¤ë¤Ù¤­¤Ç¤·¤ç¤¦¡£
294 .nf
295
296         option domain-name "accounting.isc.org";
297 .fi
298 .PP
299 .\"O All subnet declarations appearing in the shared-network declaration
300 .\"O would then have the domain-name option set to "accounting.isc.org"
301 .\"O instead of just "isc.org".
302 ¤¹¤ë¤È shared-network Àë¸À¤ÎÆâÉô¤Ë¤¢¤ë subnet Àë¸À¤Ç¤Ï¡¢
303 domain-name ¥ª¥×¥·¥ç¥ó¤Ïñ¤Ê¤ë "isc.org" ¤Ç¤Ï¤Ê¤¯ "accounting.isc.org"
304 ¤Ë¤Ê¤ê¤Þ¤¹¡£
305 .PP
306 .\"O The most obvious reason for having subnet-specific parameters as
307 .\"O shown in Figure 1 is that each subnet, of necessity, has its own
308 .\"O router.   So for the first subnet, for example, there should be
309 .\"O something like:
310 Figure 1 ¤Î¤è¤¦¤Ë subnet ¤Ë¸ÇÍ­¤Î¥Ñ¥é¥á¡¼¥¿¤òÍ¿¤¨¤¿¤¤¤Î¤Ï¡¢
311 ÅöÁ³¤Ê¤¬¤é¡¢¥µ¥Ö¥Í¥Ã¥È¤Ï¤½¤ì¤¾¤ì°ã¤Ã¤¿¥ë¡¼¥¿¤òɬÍפȤ¹¤ë¤«¤é¤Ç¤¹¡£
312 ¤·¤¿¤¬¤Ã¤ÆºÇ½é¤Î¥µ¥Ö¥Í¥Ã¥È¤Ë¤Ï¡¢
313 Î㤨¤Ð°Ê²¼¤Î¤è¤¦¤Êʸ¤¬ÃÖ¤«¤ì¤ë¤³¤È¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£
314 .nf
315
316         option routers 204.254.239.1;
317 .fi
318 .PP
319 .\"O Note that the address here is specified numerically.   This is not
320 .\"O required - if you have a different domain name for each interface on
321 .\"O your router, it's perfectly legitimate to use the domain name for that
322 .\"O interface instead of the numeric address.   However, in many cases
323 .\"O there may be only one domain name for all of a router's IP addresses, and
324 .\"O it would not be appropriate to use that name here.
325 ¤³¤³¤Ç¤Ï¥¢¥É¥ì¥¹¤Ï¿ôÃͤǻØÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£
326 ¤³¤ì¤Ïɬ¿Ü¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
327 ¤â¤·¥ë¡¼¥¿¤Î³Æ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤¬ÊÌ¡¹¤Î¥É¥á¥¤¥ó̾¤ò»ý¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢
328 ¤½¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î»ØÄê¤Ë¤Ï¡¢¿ôÃͤǤʤ¯¥É¥á¥¤¥ó̾¤òÍѤ¤¤Æ¤âÁ´¤¯¤«¤Þ¤¤¤Þ¤»¤ó¡£
329 ¤·¤«¤·¤Ê¤¬¤é¡¢Â¿¤¯¤Î¾ì¹ç¥ë¡¼¥¿¤Î IP ¥¢¥É¥ì¥¹¤½¤ì¤¾¤ì¤Ë¤Ï
330 °ì¤Ä¤ÎƱ¤¸¥É¥á¥¤¥ó̾¤¬¤Ä¤±¤é¤ì¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¤«¤é¡¢
331 ¤³¤³¤Ç¤½¤Î̾Á°¤òÍѤ¤¤ë¤Î¤ÏŬÀڤǤϤʤ¤¤Ç¤·¤ç¤¦¡£
332 .PP
333 .\"O In Figure 1 there is also a \fIgroup\fR statement, which provides
334 .\"O common parameters for a set of three hosts - zappo, beppo and harpo.
335 .\"O As you can see, these hosts are all in the test.isc.org domain, so it
336 .\"O might make sense for a group-specific parameter to override the domain
337 .\"O name supplied to these hosts:
338 Figure 1 ¤Ç¤Ï¡¢\fIgroup\fR Ê¸¤â»È¤ï¤ì¤Æ¤ª¤ê¡¢
339 3 ¤Ä¤Î¥Û¥¹¥È (zappo, beppo, harpo) ¤Ë¶¦Ä̤Υѥé¥á¡¼¥¿¤ò¤¢¤¿¤¨¤Æ¤¤¤Þ¤¹¡£
340 ¤ª¤ï¤«¤ê¤Î¤è¤¦¤Ë¡¢¤³¤ì¤é¤Î¥Û¥¹¥È¤Ï¤¹¤Ù¤Æ test.isc.org ¥É¥á¥¤¥ó¤Ë°¤·¤Æ¤¤¤Þ¤¹¡£
341 ¤·¤¿¤¬¤Ã¤Æ¤³¤ì¤é¤Î¥Û¥¹¥È¤Ë¤Ï¡¢
342 ¥°¥ë¡¼¥×¸ÇÍ­¤Î¥Ñ¥é¥á¡¼¥¿¤È¤·¤Æ¥É¥á¥¤¥ó̾¤ò¾å½ñ¤­¤¹¤ë¤«¤¿¤Á¤Ç
343 Í¿¤¨¤ë¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£
344 .nf
345
346         option domain-name "test.isc.org";
347 .fi
348 .PP
349 .\"O Also, given the domain they're in, these are probably test machines.
350 .\"O If we wanted to test the DHCP leasing mechanism, we might set the
351 .\"O lease timeout somewhat shorter than the default:
352 ¤Þ¤¿¡¢½ê°¤¹¤ë¥É¥á¥¤¥ó̾¤«¤éÁÛÁü¤Ç¤­¤ë¤è¤¦¤Ë¡¢
353 ¤³¤ì¤é¤Ï¤ª¤½¤é¤¯¥Æ¥¹¥ÈÍѤΥޥ·¥ó¤Ç¤·¤ç¤¦¡£
354 DHCP Âߤ·½Ð¤·µ¡¹½¤ò¥Æ¥¹¥È¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢
355 Âߤ·½Ð¤·¤Î´ü¸Â¤ò¥Ç¥Õ¥©¥ë¥È¤è¤ê¤Ï¾¯¡¹Ã»¤¯¤·¤Æ¤ª¤¯¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£
356 .nf
357
358         max-lease-time 120;
359         default-lease-time 120;
360 .fi
361 .PP
362 .\"O You may have noticed that while some parameters start with the
363 .\"O \fIoption\fR keyword, some do not.   Parameters starting with the
364 .\"O \fIoption\fR keyword correspond to actual DHCP options, while
365 .\"O parameters that do not start with the option keyword either control
366 .\"O the behaviour of the DHCP server (e.g., how long a lease dhcpd will
367 .\"O give out), or specify client parameters that are not optional in the
368 .\"O DHCP protocol (for example, server-name and filename).
369 ¤³¤ì¤Þ¤Ç¤Î¤È¤³¤í¤Ç¡¢\fIoption\fR ¥­¡¼¥ï¡¼¥É¤Ë¤è¤Ã¤Æ»Ï¤Þ¤ë¥Ñ¥é¥á¡¼¥¿¤È¡¢
370 ¤½¤¦¤Ç¤Ê¤¤¥Ñ¥é¥á¡¼¥¿¤È¤¬¤¢¤ë¤³¤È¤Ë¤ªµ¤¤Å¤­¤Ë¤Ê¤Ã¤¿¤Ç¤·¤ç¤¦¤«¡£
371 \fIoption\fR ¥­¡¼¥ï¡¼¥É¤Ç»Ï¤Þ¤ë¥Ñ¥é¥á¡¼¥¿¤Ï¡¢
372 ¼ÂºÝ¤Î DHCP ¥ª¥×¥·¥ç¥ó¤Ë´ØÏ¢¤·¤¿¤â¤Î¤Ç¤¹¡£
373 ¤½¤¦¤Ç¤Ê¤¤¤â¤Î¤Ï¡¢
374 DHCP ¥µ¡¼¥Ð¤ÎÆ°ºî¤òÀ©¸æ¤¹¤ë¤â¤Î (Î㤨¤Ð dhcpd ¤¬Ä󶡤¹¤ëÂߤ·½Ð¤·¤Î´ü¸Â¤Ê¤É) ¤«¡¢
375 DHCP ¥×¥í¥È¥³¥ë¤Ç¤ÏÄ󶡤µ¤ì¤Æ¤¤¤Ê¤¤¥¯¥é¥¤¥¢¥ó¥ÈÍѤΥѥé¥á¡¼¥¿
376 (Î㤨¤Ð¥µ¡¼¥Ð̾¤ä¥Õ¥¡¥¤¥ë̾) ¤Ç¤¹¡£
377 .PP
378 .\"O In Figure 1, each host had \fIhost-specific parameters\fR.   These
379 .\"O could include such things as the \fIhostname\fR option, the name of a
380 .\"O file to upload (the \fIfilename parameter) and the address of the
381 .\"O server from which to upload the file (the \fInext-server\fR
382 .\"O parameter).   In general, any parameter can appear anywhere that
383 .\"O parameters are allowed, and will be applied according to the scope in
384 .\"O which the parameter appears.
385 Figure 1 ¤Ç¤Ï¡¢³Æ¥Û¥¹¥È¤Ï¡Ö¥Û¥¹¥È¸ÇÍ­¤Î¥Ñ¥é¥á¡¼¥¿¡×¤ò»ý¤Ã¤Æ¤¤¤Þ¤·¤¿¡£
386 ¤³¤ì¤é¤Ë¤ÏÎ㤨¤Ð¡¢\fIhostname\fR ¥ª¥×¥·¥ç¥ó¡¢
387 ¼èÆÀ¤¹¤ë¤¹¤ë¥Õ¥¡¥¤¥ë (\fIfilename\fR ¥Ñ¥é¥á¡¼¥¿)¡¢
388 ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ë¥Û¥¹¥È (\fInext-server\fR ¥Ñ¥é¥á¡¼¥¿)
389 ¤Ê¤É¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
390 °ìÈÌŪ¤Ë¤Ï¡¢¥Ñ¥é¥á¡¼¥¿¤ò»ØÄê¤Ç¤­¤ë¾ì½ê¤Ë¤Ï¤É¤ó¤Ê¥Ñ¥é¥á¡¼¥¿¤Ç¤â»ØÄê¤Ç¤­¡¢
391 ¤½¤Î¥Ñ¥é¥á¡¼¥¿¤ÏÃÖ¤«¤ì¤¿¾ì½ê¤Î¥¹¥³¡¼¥×¤Ë¤·¤¿¤¬¤Ã¤ÆŬÍѤµ¤ì¤Þ¤¹¡£
392 .PP
393 .\"O Imagine that you have a site with a lot of NCD X-Terminals.   These
394 .\"O terminals come in a variety of models, and you want to specify the
395 .\"O boot files for each models.   One way to do this would be to have host
396 .\"O declarations for each server and group them by model:
397 NCD ¤Î X Ã¼Ëö¤¬¤¿¤¯¤µ¤ó¤¢¤ë¤è¤¦¤Ê¥µ¥¤¥È¤òÁÛÁü¤·¤Æ¤¯¤À¤µ¤¤¡£
398 ¤³¤ì¤é¤ÎüËö¤Ë¤Ï¤µ¤Þ¤¶¤Þ¤Ê¥â¥Ç¥ë¤¬¤¢¤ë¤Î¤Ç¡¢
399 ¤½¤ì¤¾¤ì¤Î¥â¥Ç¥ë¤ËÂФ·¤ÆÊÌ¡¹¤Î¥Ö¡¼¥È¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤¿¤¤¤È¤·¤Þ¤¹¡£
400 ¤³¤ì¤ò¹Ô¤¦°ì¤Ä¤ÎÊýË¡¤Ï¡¢
401 ³ÆüËö¤Ë host Àë¸À¤ò¤µ¤»¡¢¤½¤ì¤é¤ò¥â¥Ç¥ë¤´¤È¤Ë group ²½¤¹¤ë¤³¤È¤Ç¤¹¡£
402 .nf
403
404 group {
405   filename "Xncd19r";
406   next-server ncd-booter;
407
408   host ncd1 { hardware ethernet 0:c0:c3:49:2b:57; }
409   host ncd4 { hardware ethernet 0:c0:c3:80:fc:32; }
410   host ncd8 { hardware ethernet 0:c0:c3:22:46:81; }
411 }
412
413 group {
414   filename "Xncd19c";
415   next-server ncd-booter;
416
417   host ncd2 { hardware ethernet 0:c0:c3:88:2d:81; }
418   host ncd3 { hardware ethernet 0:c0:c3:00:14:11; }
419 }
420
421 group {
422   filename "XncdHMX";
423   next-server ncd-booter;
424
425   host ncd1 { hardware ethernet 0:c0:c3:11:90:23; }
426   host ncd4 { hardware ethernet 0:c0:c3:91:a7:8; }
427   host ncd8 { hardware ethernet 0:c0:c3:cc:a:8f; }
428 }
429 .fi
430 .\"O .SH REFERENCE: DECLARATIONS
431 .SH ¥ê¥Õ¥¡¥ì¥ó¥¹: Àë¸Àʸ
432 .PP
433 .\"O .B The 
434 .I shared-network
435 .\"O .B statement
436 .B ʸ
437 .PP
438 .nf
439  \fBshared-network\fR \fIname\fR \fB{\fR
440    [ \fIparameters\fR ]
441    [ \fIdeclarations\fR ]
442  \fB}\fR
443 .fi
444 .PP
445 .\"O The \fIshared-network\fR statement is used to inform the DHCP server
446 .\"O that some IP subnets actually share the same physical network.  Any
447 .\"O subnets in a shared network should be declared within a
448 .\"O \fIshared-network\fR statement.  Parameters specified in the
449 .\"O \fIshared-network\fR statement will be used when booting clients on
450 .\"O those subnets unless parameters provided at the subnet or host level
451 .\"O override them.  If any subnet in a shared network has addresses
452 .\"O available for dynamic allocation, those addresses are collected into a
453 .\"O common pool for that shared network and assigned to clients as needed.
454 .\"O There is no way to distinguish on which subnet of a shared network a
455 .\"O client should boot.
456 \fIshared-network\fR Ê¸¤Ï¡¢Ê£¿ô¤Î IP ¥µ¥Ö¥Í¥Ã¥È¤¬¼ÂºÝ¤Ë¤Ï
457 °ì¤Ä¤ÎʪÍý¥Í¥Ã¥È¥ï¡¼¥¯¤ò¶¦Í­¤·¤Æ¤¤¤ë¤³¤È¤ò DHCP ¥µ¡¼¥Ð¤ËÅÁ¤¨¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
458 ¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯Æâ¤Ë¤¢¤ë¥µ¥Ö¥Í¥Ã¥È¤Ï¡¢
459 \fIshared-network\fR Ê¸¤ÎÆâÉô¤ÇÀë¸À¤¹¤ë¤è¤¦¤Ë¤¹¤Ù¤­¤Ç¤¹¡£
460 \fIshared-network\fR Ê¸¤ÎÆâÉô¤Ç»ØÄꤵ¤ì¤¿¥Ñ¥é¥á¡¼¥¿¤Ï¡¢
461 ¤½¤ì¤é¤Î¥µ¥Ö¥Í¥Ã¥È¤Ç¥Ö¡¼¥È¤·¤¿¥¯¥é¥¤¥¢¥ó¥È¤Ë¤è¤Ã¤ÆÍѤ¤¤é¤ì¤Þ¤¹
462 (¤¿¤À¤·¤½¤Î¥Ñ¥é¥á¡¼¥¿¤¬¥µ¥Ö¥Í¥Ã¥È¤ä¥Û¥¹¥È¥ì¥Ù¥ë¤Ç¾å½ñ¤­¤µ¤ì¤¿¾ì¹ç¤ò½ü¤¯)¡£
463 ¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯¤Ë°¤¹¤ë¥µ¥Ö¥Í¥Ã¥È¤ËưŪ³ä¤êÅö¤Æ²Äǽ¤Ê¥¢¥É¥ì¥¹¤¬¤¢¤ë¤È¡¢
464 ¤³¤ì¤é¤Î¥¢¥É¥ì¥¹¤Ï¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯ÍѤξì½ê¤Ë¶¦Ä̤˥ס¼¥ë¤µ¤ì¡¢
465 ɬÍפ˱þ¤¸¤Æ¥¯¥é¥¤¥¢¥ó¥È¤ËÄ󶡤µ¤ì¤Þ¤¹¡£
466 ¤¢¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬¡¢(¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯¤Ë°¤¹¤ë)
467 ¤É¤Î¥µ¥Ö¥Í¥Ã¥È¤«¤é¥Ö¡¼¥È¤µ¤»¤ë¤Ù¤­¤«¤ò¼±Ê̤¹¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£
468 .PP
469 .\"O .I Name
470 .\"O should be the name of the shared network.   This name is used when
471 .\"O printing debugging messages, so it should be descriptive for the
472 .\"O shared network.   The name may have the syntax of a valid domain name
473 .\"O (although it will never be used as such), or it may be any arbitrary
474 .\"O name, enclosed in quotes.
475 .I name
476 ¤Ë¤Ï¶¦Ḁ̈ͥåȥ¥¯¤Î̾Á°¤ò»ØÄꤷ¤Æ¤ª¤­¤Þ¤·¤ç¤¦¡£
477 ¤³¤Î̾Á°¤Ï¥Ç¥Ð¥Ã¥°¥á¥Ã¥»¡¼¥¸¤Î½ÐÎÏ»þ¤ËÍѤ¤¤é¤ì¤ë¤Î¤Ç¡¢
478 ¤½¤Î¶¦Ḁ̈ͥåȥ¥¯¤Îǧ¼±¤ËÌòΩ¤Á¤Þ¤¹¡£
479 ̾Á°¤Ë¤Ï¥É¥á¥¤¥ó̾¤È¤·¤ÆÍ­¸ú¤Ê½ñ¼° (¤¿¤À¤·¥É¥á¥¤¥ó̾¤È¤·¤Æ¤ÏÍѤ¤¤é¤ì¤Ê¤¤)
480 ¤¬»È¤¨¤Þ¤¹¡£
481 ¤¢¤ë¤¤¤Ï¥¯¥©¡¼¥È¤¹¤ì¤Ð¤É¤ó¤Ê̾Á°¤Ç¤â»È¤¨¤Þ¤¹¡£
482 .PP
483 .\"O .B The 
484 .I subnet
485 .\"O .B statement
486 .B ʸ
487 .PP
488 .nf
489  \fBsubnet\fR \fIsubnet-number\fR \fBnetmask\fR \fInetmask\fR \fB{\fR
490    [ \fIparameters\fR ]
491    [ \fIdeclarations\fR ]
492  \fB}\fR
493 .fi
494 .PP
495 .\"O The \fIsubnet\fR statement is used to provide dhcpd with enough
496 .\"O information to tell whether or not an IP address is on that subnet.
497 .\"O It may also be used to provide subnet-specific parameters and to
498 .\"O specify what addresses may be dynamically allocated to clients booting
499 .\"O on that subnet.   Such addresses are specified using the \fIrange\fR
500 .\"O declaration.
501 \fIsubnet\fR Ê¸¤Ï¡¢
502 ¤¢¤ë IP ¥¢¥É¥ì¥¹¤¬ÆÃÄê¤Î¥µ¥Ö¥Í¥Ã¥È¤Ë°¤·¤Æ¤¤¤ë¤«¤É¤¦¤«È½ÃǤ¹¤ë¤¿¤á¤Î¾ðÊó¤ò
503 dhcpd ¤ËÍ¿¤¨¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
504 ¤Þ¤¿¥µ¥Ö¥Í¥Ã¥È¸ÇÍ­¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ØÄꤷ¤¿¤ê¡¢
505 ¤½¤Î¥µ¥Ö¥Í¥Ã¥È¤Ç¥Ö¡¼¥È¤·¤¿¥¯¥é¥¤¥¢¥ó¥È¤Ë
506 ưŪ³ä¤êÅö¤Æ²Äǽ¤Ê¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë¤¿¤á¤Ë¤âÍøÍѤµ¤ì¤Þ¤¹¡£
507 ¸å¼Ô¤Î¤è¤¦¤Ê¥¢¥É¥ì¥¹¤Ï \fIrange\fR Àë¸À¤Ç»ØÄꤵ¤ì¤Þ¤¹¡£
508 .PP
509 .\"O The
510 .\"O .I subnet-number
511 .\"O should be an IP address or domain name which resolves to the subnet
512 .\"O number of the subnet being described.   The 
513 .\"O .I netmask
514 .\"O should be an IP address or domain name which resolves to the subnet mask
515 .\"O of the subnet being described.   The subnet number, together with the
516 .\"O netmask, are sufficient to determine whether any given IP address is
517 .\"O on the specified subnet.
518 .I subnet-number
519 ¤Ë¤Ï IP ¥¢¥É¥ì¥¹¤«¡¢
520 ¤¢¤ë¤¤¤ÏÀë¸À¤¹¤ë¥µ¥Ö¥Í¥Ã¥È¤Î IP ÈÖ¹æ¤Ë²ò·è¤µ¤ì¤ë¥É¥á¥¤¥ó̾¤òÍ¿¤¨¤Þ¤¹¡£
521 .I netmask
522 ¤Ë¤Ï IP ¥¢¥É¥ì¥¹¤«¡¢
523 ¤¢¤ë¤¤¤ÏÀë¸À¤¹¤ë¥µ¥Ö¥Í¥Ã¥È¤Î¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯¤Ë²ò·è¤µ¤ì¤ë¥É¥á¥¤¥ó̾¤òÍ¿¤¨¤Þ¤¹¡£
524 ¥µ¥Ö¥Í¥Ã¥ÈÈÖ¹æ¤È¥Í¥Ã¥È¥Þ¥¹¥¯¤È¤òÍ¿¤¨¤ë¤È¡¢
525 ¤¢¤ëÍ¿¤¨¤é¤ì¤¿ IP Èֹ椬
526 ¤½¤Î¥µ¥Ö¥Í¥Ã¥È¤Ë°¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤òȽÃǤǤ­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
527 .PP
528 .\"O Although a netmask must be given with every subnet declaration, it is
529 .\"O recommended that if there is any variance in subnet masks at a site, a
530 .\"O subnet-mask option statement be used in each subnet declaration to set
531 .\"O the desired subnet mask, since any subnet-mask option statement will
532 .\"O override the subnet mask declared in the subnet statement.
533 ¥Í¥Ã¥È¥Þ¥¹¥¯¤Ï¤¹¤Ù¤Æ¤Î subnet Àë¸À¤ËɬÍפǤ¹¤¬¡¢
534 ¤¢¤ë¥µ¥¤¥È¤ÎÆâÉô¤ÇÍѤ¤¤Æ¤¤¤ë¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯¤ËÊ£¿ô¤Î¼ïÎब¤¢¤ë¾ì¹ç¤Ï¡¢
535 subnet-mask ¥ª¥×¥·¥ç¥óʸ¤ò³Æ subnet Àë¸À¤ÎÆâÉô¤ÇÍѤ¤¤Æ¡¢
536 ŬÀڤʥµ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯¤òÀßÄꤹ¤ë¤³¤È¤â¤·¤Æ¤ª¤¯¤Ù¤­¤Ç¤¹¡£
537 ¤Ê¤¼¤«¤È¤¤¤¦¤È¡¢subnet-mask ¥ª¥×¥·¥ç¥óʸ¤Ï¡¢
538 subnet Ê¸¤ÇÀë¸À¤µ¤ì¤¿¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯¤è¤êÍ¥À褵¤ì¤ë¤«¤é¤Ç¤¹¡£
539 .PP
540 .\"O .B The
541 .I range
542 .\"O .B statement
543 .B ʸ
544 .PP
545 .nf
546  \fBrange\fR [ \fBdynamic-bootp\fR ] \fIlow-address\fR [ \fIhigh-address\fR]\fB;\fR
547 .fi
548 .PP
549 .\"O For any subnet on which addresses will be assigned dynamically, there
550 .\"O must be at least one \fIrange\fR statement.   The range statement
551 .\"O gives the lowest and highest IP addresses in a range.   All IP
552 .\"O addresses in the range should be in the subnet in which the
553 .\"O \fIrange\fR statement is declared.   The \fIdynamic-bootp\fR flag may
554 .\"O be specified if addresses in the specified range may be dynamically
555 .\"O assigned to BOOTP clients as well as DHCP clients.   When specifying a
556 .\"O single address, \fIhigh-address\fR can be omitted.
557 ưŪ¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¥¢¥É¥ì¥¹¤ò´Þ¤à¥µ¥Ö¥Í¥Ã¥È¤Ç¤Ï¡¢
558 ¾¯¤Ê¤¯¤È¤â \fIrange\fR Ê¸¤ò°ì¤Ä»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
559 range Ê¸¤Ë¤Ï IP ¥¢¥É¥ì¥¹¤ÎÈϰϤκǾ®ÃÍ¡¦ºÇÂçÃͤòÍ¿¤¨¤Þ¤¹¡£
560 ¤½¤ÎÈϰϤËÆþ¤ë IP ¥¢¥É¥ì¥¹¤Î¤¹¤Ù¤Æ¤Ï¡¢
561 \fIrange\fR Ê¸¤¬Àë¸À¤µ¤ì¤¿¥µ¥Ö¥Í¥Ã¥È¤ÎÃæ¤ËÆþ¤Ã¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
562 »ØÄꤷ¤¿ÈϰϤΥ¢¥É¥ì¥¹¤ò DHCP ¥¯¥é¥¤¥¢¥ó¥È¤È
563 BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Ë³ä¤êÅö¤Æ¤ÆÎɤ¤¾ì¹ç¤Ï¡¢
564 \fIdynamic-bootp\fR ¥Õ¥é¥°¤ò»ØÄꤷ¤Þ¤¹¡£
565 ¥¢¥É¥ì¥¹ 1 ¤Ä¤À¤±¤ò³ä¤êÅö¤Æ¤ë¾ì¹ç¤Ï¡¢
566 \fIhigh-address\fR ¤Ï¾Êά¤Ç¤­¤Þ¤¹¡£
567 .PP
568 .\"O .B The
569 .I host
570 .\"O .B statement
571 .B ʸ
572 .PP
573 .nf
574  \fBhost\fR \fIhostname\fR {
575    [ \fIparameters\fR ]
576    [ \fIdeclarations\fR ]
577  \fB}\fR
578 .fi
579 .PP
580 .\"O There must be at least one
581 .\"O .B host
582 .\"O statement for every BOOTP client that is to be served.   
583 .\"O .B host
584 .\"O statements may also be specified for DHCP clients, although this is
585 .\"O not required unless booting is only enabled for known hosts.
586 ¥µ¡¼¥Ó¥¹ÂоݤȤʤë BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤Ë¤Ï¡¢¤½¤ì¤¾¤ì
587 .B host
588 ¤¬ºÇÄã¤Ò¤È¤Ä¤Å¤ÄɬÍפˤʤê¤Þ¤¹¡£
589 DHCP ¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ¤â
590 .B host
591 ʸ¤Ï»ØÄê¤Ç¤­¤Þ¤¹¤¬¡¢
592 ÁÇÀ­¤Î¤ï¤«¤é¤Ê¤¤¥Û¥¹¥È¤Ë¤Ï¥Ö¡¼¥È¤òµö²Ä¤·¤Ê¤¤¤è¤¦¤ÊÀßÄê¤Ç¤Ê¤±¤ì¤Ð¡¢
593 »ØÄꤷ¤Ê¤¯¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£
594 .PP
595 .\"O If it is desirable to be able to boot a DHCP or BOOTP
596 .\"O client on more than one subnet with fixed addresses, more than one
597 .\"O address may be specified in the
598 .\"O .I fixed-address
599 .\"O parameter, or more than one
600 .\"O .B host
601 .\"O statement may be specified.
602 ¤¢¤ë DHCP ¥¯¥é¥¤¥¢¥ó¥È¤ä BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤ò¡¢
603 Ê£¿ô¤Î¥µ¥Ö¥Í¥Ã¥È¤Ë¤ª¤¤¤Æ¸ÇÄꥢ¥É¥ì¥¹¤Ç¥Ö¡¼¥È¤µ¤»¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢
604 .I fixed-address
605 ¥Ñ¥é¥á¡¼¥¿¤ËÊ£¿ô¤Î¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë¤«¡¢
606 ¤¢¤ë¤¤¤Ï
607 .B host
608 ʸ¤òÊ£¿ô»ØÄꤷ¤Þ¤¹¡£
609 .PP
610 .\"O If client-specific boot parameters must change based on the network
611 .\"O to which the client is attached, then multiple 
612 .\"O .B host
613 .\"O statements should
614 .\"O be used.
615 ¥¯¥é¥¤¥¢¥ó¥È¸ÇÍ­¤Î¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤ò¡¢
616 Àܳ¤µ¤ì¤¿¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤è¤Ã¤ÆÂ夨¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢
617 .B host
618 ʸ¤òÊ£¿ôÍѤ¤¤ë¤Ù¤­¤Ç¤¹¡£
619 .PP
620 .\"O If a client is to be booted using a fixed address if it's
621 .\"O possible, but should be allocated a dynamic address otherwise, then a
622 .\"O .B host
623 .\"O statement must be specified without a
624 .\"O .B fixed-address
625 .\"O clause.
626 .\"O .I hostname
627 .\"O should be a name identifying the host.  If a \fIhostname\fR option is
628 .\"O not specified for the host, \fIhostname\fR is used.
629 ²Äǽ¤Ê¾ì¹ç¤Ë¤Ï¥¯¥é¥¤¥¢¥ó¥È¤ò¸ÇÄꥢ¥É¥ì¥¹¤Ç¥Ö¡¼¥È¤µ¤»¤¿¤¤¤¬¡¢
630 ¤½¤ì¤¬¤Ç¤­¤Ê¤±¤ì¤ÐưŪ¤Ê¥¢¥É¥ì¥¹¤ò³ä¤êÅö¤Æ¤¿¤¤¡¢¤È¤¤¤¦¾ì¹ç¤Ë¤Ï¡¢
631 .B host
632 ʸ¤ÎÆâÉô¤Ç¤Ï
633 .B fixed-address
634 ʸ¤ò»ØÄꤷ¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£
635 .PP
636 .\"O \fIHost\fR declarations are matched to actual DHCP or BOOTP clients
637 .\"O by matching the \fRdhcp-client-identifier\fR option specified in the
638 .\"O \fIhost\fR declaration to the one supplied by the client, or, if the
639 .\"O \fIhost\fR declaration or the client does not provide a
640 .\"O \fRdhcp-client-identifier\fR option, by matching the \fIhardware\fR
641 .\"O parameter in the \fIhost\fR declaration to the network hardware
642 .\"O address supplied by the client.   BOOTP clients do not normally
643 .\"O provide a \fIdhcp-client-identifier\fR, so the hardware address must
644 .\"O be used for all clients that may boot using the BOOTP protocol.
645 \fIhost\fR Àë¸À¤ò¼ÂºÝ¤Î DHCP ¥¯¥é¥¤¥¢¥ó¥È¤ä
646 BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Þ¥Ã¥Á¤µ¤»¤ëºÝ¤Ë¤Ï¡¢
647 \fIhost\fR Àë¸À¤ÎÆâÉô¤Ç»ØÄꤵ¤ì¤¿
648 \fIdhcp-client-identifier\fR ¥ª¥×¥·¥ç¥ó¤¬¡¢
649 ¥¯¥é¥¤¥¢¥ó¥È¤¬ÅϤ·¤Æ¤­¤¿¼±Ê̻ҤȥޥåÁ¤¹¤ë¤«¤ò³Îǧ¤·¤Þ¤¹¡£
650 ¤â¤· \fIhost\fR Àë¸À¤ÎÆâÉô¤Ë \fIdhcp-client-identifier\fR ¤¬¤Ê¤«¤Ã¤¿¤ê¡¢
651 ¥¯¥é¥¤¥¢¥ó¥È¤¬¤³¤Î¼±Ê̻ҤòÅϤ·¤Æ¤³¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢
652 \fIhost\fR Àë¸À¤ÎÆâÉô¤Ç»ØÄꤵ¤ì¤¿
653 \fIhardware\fR ¥Ñ¥é¥á¡¼¥¿¤¬¡¢
654 ¥¯¥é¥¤¥¢¥ó¥È¤¬ÅϤ·¤Æ¤­¤¿¥Ï¡¼¥É¥¦¥§¥¢¥¢¥É¥ì¥¹¤È¥Þ¥Ã¥Á¤¹¤ë¤«¤ò³Îǧ¤·¤Þ¤¹¡£
655 BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤ÏÄ̾ï
656 \fIdhcp-client-identifier\fR ¤òÅϤµ¤Ê¤¤¤Î¤Ç¡¢
657 BOOTP ¥×¥í¥È¥³¥ë¤Ç¥Ö¡¼¥È¤µ¤»¤ë¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ¤Ï¡¢
658 ɬ¤º¥Ï¡¼¥É¥¦¥§¥¢¥¢¥É¥ì¥¹¤òÍѤ¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
659 .PP
660 .\"O .B The
661 .I group
662 .\"O .B statement
663 .B ʸ
664 .PP
665 .nf
666  \fBgroup\fR {
667    [ \fIparameters\fR ]
668    [ \fIdeclarations\fR ]
669  \fB}\fR
670 .fi
671 .PP
672 .\"O The group statement is used simply to apply one or more parameters to
673 .\"O a group of declarations.   It can be used to group hosts, shared
674 .\"O networks, subnets, or even other groups.
675 .B group
676 ʸ¤Ï¡¢¤Ê¤ó¤é¤«¤Î¥Ñ¥é¥á¡¼¥¿¤òÀë¸À¤Î¥°¥ë¡¼¥×¤ËŬÍѤ¹¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
677 ¥Û¥¹¥È¡¢¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯¡¢¥µ¥Ö¥Í¥Ã¥ÈÅù¤ò¤Þ¤È¤á¤¿¤ê¡¢
678 ¤¢¤ë¤¤¤Ï¾¤Î¥°¥ë¡¼¥×¤ò¤Þ¤È¤á¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
679 .\"O .SH REFERENCE: ALLOW and DENY
680 .SH ¥ê¥Õ¥¡¥ì¥ó¥¹: ALLOW ¤È DENY
681 .PP
682 .\"O The
683 .\"O .I allow
684 .\"O and
685 .\"O .I deny
686 .\"O statements can be used to control the behaviour of dhcpd to various
687 .\"O sorts of requests.
688 .I allow
689 ʸ¤È
690 .I deny
691 ʸ¤ò»È¤¦¤È¡¢
692 ¤¤¤í¤¤¤í¤ÊÍ×µá¤ËÂФ¹¤ë dhcpd ¤Î¿¶¤ëÉñ¤¤¤òÀ©¸æ¤Ç¤­¤Þ¤¹¡£
693 .PP
694 .PP
695 .\"O .B The
696 .I unknown-clients
697 .\"O .B keyword
698 .B ¥­¡¼¥ï¡¼¥É
699 .PP
700  \fBallow unknown-clients;\fR
701  \fBdeny unknown-clients;\fR
702 .PP
703 .\"O The \fBunknown-clients\fR flag is used to tell dhcpd whether
704 .\"O or not to dynamically assign addresses to unknown clients.   Dynamic
705 .\"O address assignment to unknown clients is \fBallow\fRed by default.
706 .\fBunkown-clients\fR ¥Õ¥é¥°¤Ï¡¢
707 ÁÇÀ­¤Î¤ï¤«¤é¤Ê¤¤ (unkown ¤Ê) ¥¯¥é¥¤¥¢¥ó¥È¤ËưŪ¤Ë¥¢¥É¥ì¥¹¤ò³ä¤êÅö¤Æ¤ë¤«¤É¤¦¤«¤ò
708 dhcpd ¤Ë»Ø¼¨¤·¤Þ¤¹¡£
709 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï unkown ¤Ê¥¯¥é¥¤¥¢¥ó¥È¤Ø¤ÎưŪ¥¢¥É¥ì¥¹³ä¤êÅö¤Æ¤Ï
710 \fBallow\fR (µö²Ä) ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
711 .PP
712 .\"O .B The
713 .I bootp
714 .\"O .B keyword
715 .B ¥­¡¼¥ï¡¼¥É
716 .PP
717  \fBallow bootp;\fR
718  \fBdeny bootp;\fR
719 .PP
720 .\"O The \fBbootp\fR flag is used to tell dhcpd whether
721 .\"O or not to respond to bootp queries.  Bootp queries are \fBallow\fRed
722 .\"O by default.
723 \fBbootp\fR ¥Õ¥é¥°¤Ï¡¢
724 bootp ¥¯¥¨¥ê (Ì䤤¹ç¤ï¤») ¤ËÅú¤¨¤ë¤«¤É¤¦¤«¤ò
725 dhcpd ¤Ë»Ø¼¨¤·¤Þ¤¹¡£
726 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï bootp ¥¯¥¨¥ê¤Ï
727 \fBallow\fR (µö²Ä) ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
728 .PP
729 .\"O .B The
730 .I booting
731 .\"O .B keyword
732 .B ¥­¡¼¥ï¡¼¥É
733 .PP
734  \fBallow booting;\fR
735  \fBdeny booting;\fR
736 .PP
737 .\"O The \fBbooting\fR flag is used to tell dhcpd whether or not to respond
738 .\"O to queries from a particular client.  This keyword only has meaning
739 .\"O when it appears in a host declaration.   By default, booting is
740 .\"O \fBallow\fRed, but if it is disabled for a particular client, then
741 .\"O that client will not be able to get and address from the DHCP server.
742 \fBbooting\fR ¥Õ¥é¥°¤Ï¡¢
743 ÆÃÄê¤Î¥¯¥é¥¤¥¢¥ó¥È¤«¤é¤Î¥¯¥¨¥ê¤ËÅú¤¨¤ë¤«¤É¤¦¤«¤ò
744 dhcpd ¤Ë»Ø¼¨¤·¤Þ¤¹¡£
745 ¤³¤Î¥­¡¼¥ï¡¼¥É¤Ï¡¢host Àë¸À¤ÎÆâÉô¤ËÃÖ¤«¤ì¤¿¾ì¹ç¤Ë¤Î¤ß°ÕÌ£¤ò»ý¤Á¤Þ¤¹¡£
746 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï booting ¤Ï
747 \fBallow\fR (µö²Ä) ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
748 ¤·¤«¤·¤³¤ì¤òÆÃÄê¤Î¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ̵¸ú¤Ë¤¹¤ë¤È¡¢
749 ¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ï¤³¤Î DHCP ¥µ¡¼¥Ð¤«¤é¤Ï¥¢¥É¥ì¥¹¤ò¼èÆÀ¤Ç¤­¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
750 .\"O .SH REFERENCE: PARAMETERS
751 .SH ¥ê¥Õ¥¡¥ì¥ó¥¹: ¥Ñ¥é¥á¡¼¥¿
752 .PP
753 .\"O .B The
754 .I default-lease-time
755 .\"O .B statement
756 .B ʸ
757 .PP
758  \fBdefault-lease-time\fR \fItime\fR\fB;\fR
759 .PP
760 .\"O .I Time
761 .\"O should be the length in seconds that will be assigned to a lease if
762 .\"O the client requesting the lease does not ask for a specific expiration
763 .\"O time.
764 .I time
765 ¤ÏÉÃñ°Ì¤Î»þ´Ö¤Ç¡¢
766 Âߤ·½Ð¤·¤òÍ׵ᤷ¤Æ¤¤¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬Æä˴ü¸Â¤òµá¤á¤Ê¤±¤ì¤Ð¡¢
767 ¤³¤Î»þ´Ö¤¬Âߤ·½Ð¤·»þ´Ö¤Ë¤Ê¤ê¤Þ¤¹¡£
768 .PP
769 .\"O .B The
770 .I max-lease-time
771 .\"O .B statement
772 .B ʸ
773 .PP
774  \fBmax-lease-time\fR \fItime\fR\fB;\fR
775 .PP
776 .\"O .I Time
777 .\"O should be the maximum length in seconds that will be assigned to a
778 .\"O lease if the client requesting the lease asks for a specific
779 .\"O expiration time.
780 .I time
781 ¤ÏÉÃñ°Ì¤Î»þ´Ö¤Ç¡¢
782 Âߤ·½Ð¤·¤òÍ׵ᤷ¤Æ¤¤¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬´ü¸Â¤òµá¤á¤¿¾ì¹ç¤Ë¡¢
783 ³ä¤êÅö¤Æ²Äǽ¤ÊºÇÂç¤ÎÂ߽лþ´Ö¤Ç¤¹¡£
784 .PP
785 .\"O .B The 
786 .I hardware
787 .\"O .B statement
788 .B ʸ
789 .PP
790  \fBhardware\fR \fIhardware-type\fR \fIhardware-address\fR\fB;\fR
791 .PP
792 .\"O In order for a BOOTP client to be recognized, its network hardware
793 .\"O address must be declared using a \fIhardware\fR clause in the
794 .\"O .I host
795 .\"O statement.
796 .\"O .I hardware-type
797 .\"O must be the name of a physical hardware interface type.   Currently,
798 .\"O only the
799 .\"O .B ethernet
800 .\"O and
801 .\"O .B token-ring
802 .\"O types are recognized, although support for a
803 .\"O .B fddi
804 .\"O hardware type (and others) would also be desirable.
805 .\"O The
806 .\"O .I hardware-address
807 .\"O should be a set of hexadecimal octets (numbers from 0 through ff)
808 .\"O seperated by colons.   The \fIhardware\fR statement may also be used
809 .\"O for DHCP clients.
810 BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤¬Ç§¼±¤µ¤ì¤ë¤¿¤á¤Ë¤Ï¡¢
811 .I host
812 ʸ¤ÎÆâÉô¤Ç
813 .I hardware
814 »ØÄê¤Ë¤è¤Ã¤Æ¤½¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥Ï¡¼¥É¥¦¥§¥¢¥¢¥É¥ì¥¹¤¬
815 »ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
816 .I hardware-type
817 ¤ÏʪÍý¥Ï¡¼¥É¥¦¥§¥¢¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î·Á¼°Ì¾¤Ç¤¹¡£
818 ¸½ºß¤Î¤È¤³¤í¤Ï
819 .B ethernet
820 ¤È
821 .B token-ring
822 ¤À¤±¤¬Ç§¼±¤µ¤ì¤Þ¤¹
823 .RB ( fddi
824 ¤Ê¤É¤Î¥Ï¡¼¥É¥¦¥§¥¢·¿¤âǧ¼±¤µ¤ì¤ë¤ÈÎɤ¤¤Î¤Ç¤·¤ç¤¦¤¬)¡£
825 .I hardware-address
826 ¤Ï 16 ¿Ê¥ª¥¯¥Æ¥Ã¥È (0 ¤«¤é ff ¤Þ¤Ç¤Î¿ôÃÍ) ¤Î¥»¥Ã¥È¤Ç¡¢
827 ¶èÀÚ¤ê¤Ï¥³¥í¥ó¤Ç¤¹¡£
828 .I hardware
829 ʸ¤Ï DHCP ¥¯¥é¥¤¥¢¥ó¥È¤Ë¤âÍѤ¤¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
830 .PP
831 .\"O .B The
832 .I filename
833 .\"O .B statement
834 .B ʸ
835 .PP
836  \fBfilename\fR \fB"\fR\fIfilename\fR\fB";\fR
837 .PP
838 .\"O The \fIfilename\fR statement can be used to specify the name of the
839 .\"O initial boot file which is to be loaded by a client.  The
840 .\"O .I filename
841 .\"O should be a filename recognizable to whatever file transfer protocol
842 .\"O the client can be expected to use to load the file.
843 .B filename
844 ʸ¤Ï¥¯¥é¥¤¥¢¥ó¥È¤Ë¥í¡¼¥É¤µ¤»¤ë½é´ü¥Ö¡¼¥È¥Õ¥¡¥¤¥ë¤Î»ØÄê¤Ë»È¤¤¤Þ¤¹¡£
845 .I filename
846 ¤Ï¥¯¥é¥¤¥¢¥ó¥È¤¬»È¤¦¤Ç¤¢¤í¤¦¥Õ¥¡¥¤¥ëžÁ÷¥×¥í¥È¥³¥ë¤Ç
847 ǧ¼±¤µ¤ì¤ë¥Õ¥¡¥¤¥ë̾¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
848 .PP
849 .\"O .B The
850 .I server-name
851 .\"O .B statement
852 .B ʸ
853 .PP
854  \fBserver-name\fR \fB"\fR\fIname\fR\fB";\fR
855 .PP
856 .\"O The \fIserver-name\fR statement can be used to inform the client of
857 .\"O the name of the server from which it is booting.   \fIName\fR should
858 .\"O be the name that will be provided to the client.
859 .B server-name
860 ʸ¤Ï¥¯¥é¥¤¥¢¥ó¥È¤ËÀܳÃæ¤Î¥µ¡¼¥Ð¤Î̾Á°¤òÅÁ¤¨¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
861 .I name
862 ¤Ï¥¯¥é¥¤¥¢¥ó¥È¤ËÅϤµ¤ì¤ë̾Á°¤Ç¤¹¡£
863 .PP
864 .\"O .B The
865 .I next-server
866 .\"O .B statement
867 .B ʸ
868 .PP
869  \fBnext-server\fR \fIserver-name\fR\fB;\fR
870 .PP
871 .\"O The \fInext-server\fR statement is used to specify the host address of
872 .\"O the server from which the initial boot file (specified in the
873 .\"O \fIfilename\fR statement) is to be loaded.   \fIServer-name\fR should
874 .\"O be a numeric IP address or a domain name.   If no \fInext-server\fR
875 .\"O parameter applies to a given client, the DHCP server's IP address is
876 .\"O used.
877 .B next-server
878 ʸ¤Ï½é´ü¥Ö¡¼¥È¥Õ¥¡¥¤¥ë
879 .RI ( filename
880 ʸ¤Ç»ØÄꤷ¤¿¤â¤Î) ¤ò¥í¡¼¥É¤¹¤ë¥µ¡¼¥Ð¤Î¥Û¥¹¥È¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»È¤¤¤Þ¤¹¡£
881 .I server-name
882 ¤Ï¿ôÃͤΠIP ¥¢¥É¥ì¥¹¤«¥É¥á¥¤¥ó̾¤Ç¤¹¡£
883 Àܳ¤·¤Æ¤­¤¿¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤ÆÍ¿¤¨¤ë¤Ù¤­
884 .B next-server
885 ¥Ñ¥é¥á¡¼¥¿¤¬¤Ê¤±¤ì¤Ð¡¢DHCP ¥µ¡¼¥Ð¤Î IP ¥¢¥É¥ì¥¹¤¬ÍѤ¤¤é¤ì¤Þ¤¹¡£
886 .PP
887 .\"O .B The
888 .I fixed-address
889 .\"O .B statement
890 .B ʸ
891 .PP
892  \fBfixed-address\fR \fIaddress\fR [\fB,\fR \fIaddress\fR ... ]\fB;\fR
893 .PP
894 .\"O The \fIfixed-address\fR statement is used to assign one or more fixed
895 .\"O IP addresses to a client.  It should only appear in a \fIhost\fR
896 .\"O declaration.  If more than one address is supplied, then when the
897 .\"O client boots, it will be assigned the address which corresponds to the
898 .\"O network on which it is booting.  If none of the addresses in the
899 .\"O \fIfixed-address\fR statement are on the network on which the client
900 .\"O is booting, that client will not match the \fIhost\fR declaration
901 .\"O containing that \fIfixed-address\fR statement.  Each \fIaddress\fR
902 .\"O should be either an IP address or a domain name which resolves to one
903 .\"O or more IP addresses.
904 .B fixed-address
905 ʸ¤Ï¡¢¤¢¤ë¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ°ì¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î
906 IP ¥¢¥É¥ì¥¹¤ò³ä¤êÅö¤Æ¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
907 .I host
908 Àë¸À¤ÎÆâÉô¤Ç¤Î¤ßÍѤ¤¤é¤ì¤Þ¤¹¡£
909 Ê£¿ô¤Î¥¢¥É¥ì¥¹¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢
910 ¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤¬¥Ö¡¼¥È¤¹¤ë¥Í¥Ã¥È¥ï¡¼¥¯¤Ë½ê°¤¹¤ë¥¢¥É¥ì¥¹¤¬³ä¤êÅö¤Æ¤é¤ì¤Þ¤¹¡£
911 ¥¯¥é¥¤¥¢¥ó¥È¤¬¥Ö¡¼¥È¤¹¤ë¥Í¥Ã¥È¥ï¡¼¥¯¤Ë°¤¹¤ë¥¢¥É¥ì¥¹¤¬
912 .B fixed-address
913 ʸ¤Ë¤Ê¤¤¾ì¹ç¤Ï¡¢¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ï¤½¤Î
914 .B fixed-address
915 ʸ¤¬´Þ¤Þ¤ì¤ë
916 .I host
917 Àë¸À¤Ë¥Þ¥Ã¥Á¤·¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£³Æ
918 .I address
919 ¤Ï IP ¥¢¥É¥ì¥¹¤«¡¢
920 °ì¤Ä (¤Þ¤¿¤ÏÊ£¿ô) ¤Î IP ¥¢¥É¥ì¥¹¤Ë²ò·è¤µ¤ì¤ë¥É¥á¥¤¥ó̾¤Ç¤¹¡£
921 .PP
922 .\"O .B The
923 .I dynamic-bootp-lease-cutoff
924 .\"O .B statement
925 .B ʸ
926 .PP
927  \fBdynamic-bootp-lease-cutoff\fR \fIdate\fR\fB;\fR
928 .PP
929 .\"O The \fIdynamic-bootp-lease-cutoff\fR statement sets the ending time
930 .\"O for all leases assigned dynamically to BOOTP clients.  Because BOOTP
931 .\"O clients do not have any way of renewing leases, and don't know that
932 .\"O their leases could expire, by default dhcpd assignes infinite leases
933 .\"O to all BOOTP clients.  However, it may make sense in some situations
934 .\"O to set a cutoff date for all BOOTP leases - for example, the end of a
935 .\"O school term, or the time at night when a facility is closed and all
936 .\"O machines are required to be powered off.
937 .I dynamic-bootp-lease-cutoff
938 ʸ¤Ï¡¢Æ°Åª¤Ë³ä¤êÅö¤Æ¤¿
939 BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤Ø¤Î¤¹¤Ù¤Æ¤ÎÂߤ·½Ð¤·¤ò½ªÎ»¤µ¤»¤ë»þ¹ï¤òÀßÄꤷ¤Þ¤¹¡£
940 BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤ÏÂߤ·½Ð¤·¤ò¹¹¿·¤¹¤ëµ¡¹½¤ò»ý¤¿¤º¡¢
941 ¤Þ¤¿Âߤ·½Ð¤·¤¬¤¤¤Ä´ü¸ÂÀÚ¤ì¤Ë¤Ê¤ë¤«¤òÃΤé¤Ê¤¤¤Î¤Ç¡¢
942 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï dhcpd ¤Ï BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤Ø¤Ï̵´ü¸Â¤ÎÂߤ·½Ð¤·¤ò¹Ô¤¤¤Þ¤¹¡£
943 ¤·¤«¤·¡¢¤¢¤ë¾ì¹ç¤Ë¤Ï BOOTP ¤ÎÂߤ·½Ð¤·Ää»ß¤Ë°ÕÌ£¤¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
944 Î㤨¤Ð³Ø´ü¤ÎºÇ¸å¤ä¡¢ÌëÃæ¤Î¤¢¤ë»þ´Ö¤Ë¤Ê¤ë¤È»ÜÀߤ¬ÊĤޤäơ¢
945 ¤¹¤Ù¤Æ¤Î¥Þ¥·¥ó¤¬ÅŸ»Ää»ß¤Ë¤Ê¤ë¤è¤¦¤Ê¾ì¹ç¤Ê¤É¤Ç¤¹¡£
946 .PP
947 .\"O .I Date
948 .\"O should be the date on which all assigned BOOTP leases will end.  The
949 .\"O date is specified in the form:
950 .I date
951 ¤Ï³ä¤êÅö¤Æ¤é¤ì¤¿ BOOTP Âߤ·½Ð¤·¤Î¤¹¤Ù¤Æ¤¬½ªÎ»¤¹¤ë»þ¹ï¤Ç¤¹¡£
952 date ¤Ï°Ê²¼¤Î½ñ¼°¤Ç»ØÄꤷ¤Þ¤¹¡£
953 .PP
954 .ce 1
955 W YYYY/MM/DD HH:MM:SS
956 .PP
957 .\"O W is the day of the week expressed as a number
958 .\"O from zero (Sunday) to six (Saturday).  YYYY is the year, including the
959 .\"O century.  MM is the month expressed as a number from 1 to 12.  DD is
960 .\"O the day of the month, counting from 1.  HH is the hour, from zero to
961 .\"O 23.  MM is the minute and SS is the second.  The time is always in
962 .\"O Universal Coordinated Time (UTC), not local time.
963 W ¤ÏÍËÆü¤ò¿ôÃͤǻØÄꤷ¤¿¤â¤Î¤Ç¡¢0 (ÆüÍËÆü) ¤«¤é 6 (ÅÚÍËÆü) ¤Þ¤Ç¤Ç¤¹¡£
964 YYYY ¤Ïǯ¤Ç¡¢À¤µª¤Î·å¤â»ØÄꤷ¤Þ¤¹¡£
965 MM ¤Ï·î¤ò¿ôÃͤǻØÄꤷ¤¿¤â¤Î¤Ç¡¢ 1 ¤«¤é 12 ¥Þ¥Ç¤Ç¤¹¡£
966 DD ¤Ï·îÆâÆü¤ò¿ôÃͤǻØÄꤷ¤¿¤â¤Î¤Ç¡¢ 1 ¤«¤é¿ô¤¨¤Þ¤¹¡£
967 HH ¤Ï»þ´Ö¤Ç¡¢0 ¤«¤é 23 ¤Þ¤Ç¤Ç¤¹¡£
968 ¼¡¤Î MM ¤Ïʬ¤Ç¡¢SS ¤ÏÉäǤ¹¡£
969 »þ¹ï¤Ï¾ï¤Ë¶¨ÄêÀ¤³¦»þ (UTC) ¤Ç»ØÄꤷ¤Þ¤¹ (ÃÏÊý»þ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó)¡£
970 .PP
971 .\"O .B The
972 .I dynamic-bootp-lease-length
973 .\"O .B statement
974 .B ʸ
975 .PP
976  \fBdynamic-bootp-lease-length\fR \fIlength\fR\fB;\fR
977 .PP
978 .\"O The \fIdynamic-bootp-lease-length\fR statement is used to set the
979 .\"O length of leases dynamically assigned to BOOTP clients.   At some
980 .\"O sites, it may be possible to assume that a lease is no longer in
981 .\"O use if its holder has not used BOOTP or DHCP to get its address within
982 .\"O a certain time period.   The period is specified in \fIlength\fR as a
983 .\"O number of seconds.   If a client reboots using BOOTP during the
984 .\"O timeout period, the lease duration is reset to \fIlength\fR, so a
985 .\"O BOOTP client that boots frequently enough will never lose its lease.
986 .\"O Needless to say, this parameter should be adjusted with extreme
987 .\"O caution.
988 .B dynamic-bootp-lease-length
989 ʸ¤Ï BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤Ø¤ÎưŪ³ä¤êÅö¤Æ¤ÎÂߤ·½Ð¤·´ü´Ö¤ÎÀßÄê¤ËÍѤ¤¤Þ¤¹¡£
990 ¥µ¥¤¥È¤Ë¤è¤Ã¤Æ¤Ï¡¢°ìÅÙ¥¢¥É¥ì¥¹¤òÂߤ·½Ð¤·¤¿¥¯¥é¥¤¥¢¥ó¥È¤«¤é
991 °ìÄê¤Î´Ö BOOTP ¤ä DHCP ¤Ç¤ÎºÆ³ä¤êÅö¤ÆÍ׵᤬¤Ê¤±¤ì¤Ð¡¢
992 ¤½¤Î¥¢¥É¥ì¥¹¤Ï¤â¤¦»È¤ï¤ì¤Ê¤¤¡¢¤È¤ß¤Ê¤¹¤³¤È¤¬²Äǽ¤«¤â¤·¤ì¤Þ¤»¤ó¡£
993 Â߽е¡´Ø¤Ï
994 .I length
995 ¤ËÉÃñ°Ì¤Ç»ØÄꤷ¤Þ¤¹¡£
996 ¤½¤Î´ü´Ö¤Î¤¦¤Á¤Ë¥¯¥é¥¤¥¢¥ó¥È¤¬ BOOTP ¤òÍѤ¤¤ÆºÆ¥Ö¡¼¥È¤¹¤ë¤È¡¢
997 Âߤ·½Ð¤·´ü´Ö¤â
998 .I length
999 ¤Ë¥ê¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£
1000 ¤·¤¿¤¬¤Ã¤ÆÉÑÈˤ˥֡¼¥È¤¹¤ë BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤Ï¡¢
1001 ³ä¤êÅö¤Æ¤é¤ì¤¿¥¢¥É¥ì¥¹¤ò¤º¤Ã¤ÈÊÝ»ý¤·Â³¤±¤Þ¤¹¡£
1002 ¸À¤¦¤Þ¤Ç¤â¤¢¤ê¤Þ¤»¤ó¤¬¡¢¤³¤Î¥Ñ¥é¥á¡¼¥¿¤ÏºÙ¿´¤ÎÃí°Õ¤òʧ¤Ã¤Æ·è¤á¤Æ¤¯¤À¤µ¤¤¡£
1003 .PP
1004 .\"O .B The
1005 .I get-lease-hostnames
1006 .\"O .B statement
1007 .B ʸ
1008 .PP
1009  \fBget-lease-hostnames\fR \fIflag\fR\fB;\fR
1010 .PP
1011 .\"O The \fIget-lease-hostnames\fR statement is used to tell dhcpd whether
1012 .\"O or not to look up the domain name corresponding to the IP address of
1013 .\"O each address in the lease pool and use that address for the DHCP
1014 .\"O \fIhostname\fR option.  If \fIflag\fR is true, then this lookup is
1015 .\"O done for all addresses in the current scope.   By default, or if
1016 .\"O \fIflag\fR is false, no lookups are done.
1017 .B get-lease-hostnames
1018 ʸ¤Ï¡¢Âߤ·½Ð¤·ÍѤ˥ס¼¥ë¤µ¤ì¤Æ¤¤¤ë
1019 IP ¥¢¥É¥ì¥¹¤Î¥É¥á¥¤¥ó̾¤ò°ú¤­¡¢
1020 ¤½¤Î¥¢¥É¥ì¥¹¤ò DHCP
1021 .I hostname
1022 ¥ª¥×¥·¥ç¥ó¤ËÍѤ¤¤ë¤«¤É¤¦¤«¤ò dhcpd ¤ËÅÁ¤¨¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
1023 .I flag
1024 ¤¬¿¿¤Ê¤é¤Ð¡¢¸½ºß¤Î¥¹¥³¡¼¥×¤Ë¤¢¤ë¤¹¤Ù¤Æ¤Î¥¢¥É¥ì¥¹¤ËÂФ·¤Æ
1025 ¤³¤Î̾Á°°ú¤­¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
1026 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
1027 .I flag
1028 ¤Ïµ¶¤Ç¡¢Ì¾Á°°ú¤­¤Ï¹Ô¤ï¤ì¤Þ¤»¤ó¡£
1029 .PP
1030 .\"O .B The
1031 .I use-host-decl-names
1032 .\"O .B statement
1033 .B ʸ
1034 .PP
1035  \fBuse-host-decl-names\fR \fIflag\fR\fB;\fR
1036 .PP
1037 .\"O If the \fIuse-host-decl-names\fR parameter is true in a given scope,
1038 .\"O then for every host declaration within that scope, the name provided
1039 .\"O for the host declaration will be supplied to the client as its
1040 .\"O hostname.   So, for example,
1041 .I use-host-decl-names
1042 ¥Ñ¥é¥á¡¼¥¿¤¬¤½¤ÎÃÖ¤«¤ì¤¿¥¹¥³¡¼¥×¤Ç¿¿ (true) ¤À¤È¡¢
1043 ¤½¤Î¥¹¥³¡¼¥×¤ËÃÖ¤«¤ì¤¿¤¹¤Ù¤Æ¤Î host Àë¸À¤Ë¤ª¤¤¤Æ¡¢
1044 Àë¸À¤Ë»È¤ï¤ì¤¿Ì¾Á°¤¬¥Û¥¹¥È̾¤È¤·¤Æ¥¯¥é¥¤¥¢¥ó¥È¤ËÅϤµ¤ì¤Þ¤¹¡£
1045 ¤·¤¿¤¬¤Ã¤ÆÎ㤨¤Ð¡¢
1046 .PP
1047 .nf
1048     group {
1049       use-host-decl-names on;
1050
1051       host joe {
1052         hardware ethernet 08:00:2b:4c:29:32;
1053         fixed-address joe.fugue.com;
1054       }
1055     }
1056
1057 .\"O is equivalent to
1058 ¤Ï¼¡¤ÈÁ´¤¯Æ±¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£
1059
1060       host joe {
1061         hardware ethernet 08:00:2b:4c:29:32;
1062         fixed-address joe.fugue.com;
1063         option host-name "joe";
1064       }
1065 .fi
1066 .PP
1067 .\"O An \fIoption host-name\fR statement within a host declaration will
1068 .\"O override the use of the name in the host declaration.
1069 host Àë¸À¤ÎÆâÉô¤ËÃÖ¤«¤ì¤¿
1070 .I option host-name
1071 ʸ¤Ï¡¢Àë¸À¤ËÍѤ¤¤é¤ì¤¿Ì¾Á°¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£
1072 .PP
1073 .\"HERE GOES
1074 .\"O .B The
1075 .I authoritative
1076 .\"O .B statement
1077 .B ʸ
1078 .PP
1079  \fBauthoritative;\fR
1080 .PP
1081  \fBnot authoritative;\fR
1082 .PP
1083 .\"O The DHCP server will normally assume that the configuration
1084 .\"O information about a given network segment is known to be correct and
1085 .\"O is authoritative.   So if a client requests an IP address on a given
1086 .\"O network segment that the server knows is not valid for that segment,
1087 .\"O the server will respond with a DHCPNAK message, causing the client to
1088 .\"O forget its IP address and try to get a new one.
1089 Ä̾ï DHCP ¥µ¡¼¥Ð¤Ï¡¢¤¢¤ë¥Í¥Ã¥È¥ï¡¼¥¯¥»¥°¥á¥ó¥È¤ÎÀßÄê¾ðÊó¤Ï
1090 Àµ¤·¤¯¤«¤Ä¿®Íê¤Ç¤­¤ë¤È¤ß¤Ê¤·¤Æ¤¤¤Þ¤¹¡£
1091 ¤è¤Ã¤Æ¥¯¥é¥¤¥¢¥ó¥È¤¬¤¢¤ë¥Í¥Ã¥È¥ï¡¼¥¯¥»¥°¥á¥ó¥È¤Î IP ¥¢¥É¥ì¥¹¤òÍ׵ᤷ¤¿¤È¤­¡¢
1092 ¥µ¡¼¥Ð¤¬¤½¤ì¤¬¤½¤Î¥»¥°¥á¥ó¥È¤Ç¤ÏÀµ¤·¤¯¤Ê¤¤¤³¤È¤òÃΤäƤ¤¤ë¤È¡¢
1093 ¥µ¡¼¥Ð¤Ï DHCPNAK ¥á¥Ã¥»¡¼¥¸¤òÊÖ¤·¤Þ¤¹¡£
1094 ¤¹¤ë¤È¥¯¥é¥¤¥¢¥ó¥È¤Ï¤½¤Î IP ¥¢¥É¥ì¥¹¤ò˺¤ì¡¢
1095 ¿·¤·¤¤¥¢¥É¥ì¥¹¤ò¼èÆÀ¤·¤è¤¦¤È¤·¤Þ¤¹¡£
1096 .PP
1097 .\"O If a DHCP server is being configured by somebody who is not the
1098 .\"O network administrator and who therefore does not wish to assert this
1099 .\"O level of authority, then the statement "not authoritative" should be
1100 .\"O written in the appropriate scope in the configuration file.
1101 DHCP ¥µ¡¼¥Ð¤¬¥Í¥Ã¥È¥ï¡¼¥¯´ÉÍý¼Ô¤Ç¤Ï¤Ê¤¤¿Í´Ö¤Ë¤è¤Ã¤ÆÀßÄꤵ¤ì¡¢
1102 ¤è¤Ã¤Æ¤³¤Î¥ì¥Ù¥ë¤Î¸¢°Ò¤ò»ý¤¿¤»¤¿¤¯¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢
1103 ÀßÄê¥Õ¥¡¥¤¥ë¤ÎŬÀڤʥ¹¥³¡¼¥×¤Ë "not authoritative"
1104 ¤È¤¤¤¦Ê¸¤òÆþ¤ì¤Æ¤ª¤¯¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£
1105 .PP
1106 .\"O Usually, writing \fBnot authoritative;\fR at the top level of the file
1107 .\"O should be sufficient.   However, if a DHCP server is to be set up so
1108 .\"O that it is aware of some networks for which it is authoritative and
1109 .\"O some networks for which it is not, it may be more appropriate to
1110 .\"O declare authority on a per-network-segment basis.
1111 Ä̾ï¤Ï¡¢
1112 .B not authoritative
1113 ¤ò¥Õ¥¡¥¤¥ë¤Î¥È¥Ã¥×¥ì¥Ù¥ë¤Ë½ñ¤¤¤Æ¤ª¤±¤Ð½½Ê¬¤Ç¤¹¡£
1114 ¤·¤«¤·¡¢¤¢¤ë¥Í¥Ã¥È¥ï¡¼¥¯¤ËÂФ·¤Æ¤Ï¸¢°Ò¤ò»ý¤¿¤»¡¢
1115 Ê̤Υͥåȥ¥¯¤ËÂФ·¤Æ¤Ï»ý¤¿¤»¤Ê¤¤¤è¤¦¤Ë DHCP ¥µ¡¼¥Ð¤òÀßÄꤷ¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢
1116 ¥Í¥Ã¥È¥ï¡¼¥¯¥»¥°¥á¥ó¥Èñ°Ì¤Ç authority ¤òÀë¸À¤¹¤ë¤Û¤¦¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£
1117 .PP
1118 .\"O Note that the most specific scope for which the concept of authority
1119 .\"O makes any sense is the physical network segment - either a
1120 .\"O shared-network statement or a subnet statement that is not contained
1121 .\"O within a shared-network statement.  It is not meaningful to specify
1122 .\"O that the server is authoritative for some subnets within a shared
1123 .\"O network, but not authoritative for others, nor is it meaningful to
1124 .\"O specify that the server is authoritative for some host declarations
1125 .\"O and not others.
1126 authority ¤¬°ÕÌ£¤ò»ý¤Ä¥¹¥³¡¼¥×¤Ï¡¢ÊªÍý¥Í¥Ã¥È¥ï¡¼¥¯¥»¥°¥á¥ó¥È¤Îñ°Ì¤Ç¤¹¡£
1127 ¤¹¤Ê¤ï¤Á shared-network Ê¸¤«¡¢
1128 shared-network Ê¸¤ÎÆâÉô¤Ë¤Ï¤Ê¤¤ subnet Ê¸¤Ç¤¹¡£
1129 ¶¦Í­¥Í¥Ã¥È¥ï¡¼¥¯¤Ë°¤·¤Æ¤¤¤ë¥µ¥Ö¥Í¥Ã¥È¤Î°ìÉô¤Î¤ß¤ËÂФ·¤Æ
1130 ¥µ¡¼¥Ð¤Ë¸¢°Ò¤ò»ý¤¿¤»¤Æ¤â°ÕÌ£¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1131 ¤Þ¤¿°ìÉô¤Î host Àë¸À¤ËÂФ·¤Æ¤Î¤ß¥µ¡¼¥Ð¤Ë¸¢°Ò¤ò»ý¤¿¤»¤Æ¤â¡¢
1132 Ʊ¤¸¤¯°ÕÌ£¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1133 .PP
1134 .\"O .B The
1135 .I use-lease-addr-for-default-route
1136 .\"O .B statement
1137 .B ʸ
1138 .PP
1139  \fBuse-lease-addr-for-default-route\fR \fIflag\fR\fB;\fR
1140 .PP
1141 .\"O If the \fIuse-lease-addr-for-default-route\fR parameter is true in a
1142 .\"O given scope, then instead of sending the value specified in the
1143 .\"O routers option (or sending no value at all), the IP address of the
1144 .\"O lease being assigned is sent to the client.   This supposedly causes
1145 .\"O Win95 machines to ARP for all IP addresses, which can be helpful if
1146 .\"O your router is configured for proxy ARP.
1147 .B use-lease-addr-for-default-route
1148 ¥Ñ¥é¥á¡¼¥¿¤¬¤½¤ÎÃÖ¤«¤ì¤¿¥¹¥³¡¼¥×¤Ç¿¿¤À¤È¡¢
1149 routers ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤷ¤¿ÃͤòÁ÷¤ë (¤¢¤ë¤¤¤ÏÃͤòÁ´¤¯Á÷¤é¤Ê¤¤)
1150 Âå¤ï¤ê¤Ë¡¢³ä¤êÅö¤Æ¤è¤¦¤È¤·¤Æ¤¤¤ë IP ¥¢¥É¥ì¥¹¤ò¥¯¥é¥¤¥¢¥ó¥È¤ËÁ÷¤ê¤Þ¤¹¡£
1151 ¤³¤¦¤¹¤ë¤È Win95 ¥Þ¥·¥ó¤Ï¤¹¤Ù¤Æ¤Î IP ¥¢¥É¥ì¥¹¤ò ARP ¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¡¢
1152 »È¤Ã¤Æ¤¤¤ë¥ë¡¼¥¿¤¬ proxy ARP ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤ÏÌò¤ËΩ¤Á¤Þ¤¹¡£
1153 .PP
1154 .\"O If use-lease-addr-for-default-route is enabled and an option routers
1155 .\"O statement are both in scope, the routers option will be preferred.
1156 .\"O The rationale for this is that in situations where you want to use
1157 .\"O this feature, you probably want it enabled for a whole bunch of
1158 .\"O Windows 95 machines, and you want to override it for a few other
1159 .\"O machines.   Unfortunately, if the opposite happens to be true for you
1160 .\"O site, you are probably better off not trying to use this flag.
1161 use-lease-addr-for-default-route ¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Æ¡¢
1162 option routes Ê¸¤âƱ¤¸¥¹¥³¡¼¥×¤Ë¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢
1163 routes ¥ª¥×¥·¥ç¥ó¤¬Í¥À褵¤ì¤Þ¤¹¡£
1164 ¤³¤ÎÍýͳ¤Ï¡¢¤³¤Îµ¡Ç½¤ò»È¤¤¤¿¤¤¶ÉÌ̤Ǥϡ¢
1165 ¤¿¤¯¤µ¤ó¤¢¤ë Windows 95 ¥Þ¥·¥ó¤¹¤Ù¤Æ¤Ë¤Ï¤³¤Îµ¡Ç½¤òÍ­¸ú¤Ë¤·¡¢
1166 ¤½¤Î¾¿ôÂæ¤Î¥Þ¥·¥ó¤Ç¤Ï¤³¤ì¤ò̵¸ú¤Ë¤·¤¿¤¯¤Ê¤ë¤À¤í¤¦¤«¤é¤Ç¤¹¡£
1167 ÉÔ¹¬¤Ë¤·¤Æ¾õ¶·¤¬µÕ¤Î¾ì¹ç¤Ï¡¢
1168 ¤³¤Î¥Õ¥é¥°¤ÏÍѤ¤¤Ê¤¤¤Û¤¦¤¬¤¿¤Ö¤óÎɤ¤¤Ç¤·¤ç¤¦¡£
1169 .PP
1170 .\"O .B The
1171 .I always-reply-rfc1048
1172 .\"O .B statement
1173 .B ʸ
1174 .PP
1175  \fBalways-reply-rfc1048\fR \fIflag\fR\fB;\fR
1176 .PP
1177 .\"O Some BOOTP clients expect RFC1048-style responses, but do not follow
1178 .\"O RFC1048 when sending their requests.   You can tell that a client is
1179 .\"O having this problem if it is not getting the options you have
1180 .\"O configured for it and if you see in the server log the message
1181 .\"O "(non-rfc1048)" printed with each BOOTREQUEST that is logged.
1182 BOOTP ¥¯¥é¥¤¥¢¥ó¥È¤ÎÃæ¤Ë¤Ï¡¢¼õ¿®¤Ë¤Ï RFC1048 ·Á¼°¤Î¤â¤Î¤ò´üÂÔ¤¹¤ë¤Î¤Ë¡¢
1183 Á÷¿®¤Ç¤Ï RFC1048 ¤ò¼é¤é¤Ê¤¤¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£
1184 ¤¢¤ë¥¯¥é¥¤¥¢¥ó¥È¤¬¤³¤ÎÌäÂê¤òÊú¤¨¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢
1185 ¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤ÏÀßÄꤷ¤¿¥ª¥×¥·¥ç¥ó¤ò¼èÆÀ¤»¤º¡¢
1186 ¤Þ¤¿ BOOTREQUEST ¤¹¤ë¤¿¤Ó¤Ë
1187 ¥µ¡¼¥Ð¤Î¥í¥°¤Ë "(non-rfc1048)" ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¸½¤ì¤Þ¤¹¡£
1188 .PP
1189 .\"O If you want to send rfc1048 options to such a client, you can set the
1190 .\"O .B always-reply-rfc1048
1191 .\"O option in that client's host declaration, and the DHCP server will
1192 .\"O respond with an RFC-1048-style vendor options field.   This flag can
1193 .\"O be set in any scope, and will affect all clients covered by that
1194 .\"O scope.
1195 ¤³¤Î¤è¤¦¤Ê¥¯¥é¥¤¥¢¥ó¥È¤Ë rfc1048 ¥ª¥×¥·¥ç¥ó¤òÁ÷¿®¤·¤¿¤¤¾ì¹ç¤Ï¡¢
1196 ¤½¤Î¥¯¥é¥¤¥¢¥ó¥È¤Î host Àë¸À¤Ë
1197 .B always-reply-rfc1048
1198 ¤òÀßÄꤷ¤Þ¤¹¡£¤¹¤ë¤È DHCP ¥µ¡¼¥Ð¤Ï
1199 RFC-1048 ·Á¼°¤Î¥Ù¥ó¥À¡¼¥ª¥×¥·¥ç¥ó¥Õ¥£¡¼¥ë¥É¤òÍѤ¤¤Æ±þÅú¤·¤Þ¤¹¡£
1200 ¤³¤Î¥Õ¥é¥°¤Ï¤É¤Î¥¹¥³¡¼¥×¤Ë¤âÀßÄê¤Ç¤­¡¢
1201 ¤½¤Î¥¹¥³¡¼¥×¤Ç¥«¥Ð¡¼¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î¥¯¥é¥¤¥¢¥ó¥È¤ËŬÍѤµ¤ì¤Þ¤¹¡£
1202 .PP
1203 .\"O .B The
1204 .I server-identifier
1205 .\"O .B statement
1206 .B ʸ
1207 .PP
1208  \fBserver-identifier \fIhostname\fR\fB;\fR
1209 .PP
1210 .\"O The server-identifier statement can be used to define the value that
1211 .\"O is sent in the DHCP Server Identifier option for a given scope.   The
1212 .\"O value specified \fBmust\fR be an IP address for the DHCP server, and
1213 .\"O must be reachable by all clients served by a particular scope.
1214 .B server-identifier
1215 ʸ¤Ï¡¢¤½¤ì¤¬ÃÖ¤«¤ì¤¿¥¹¥³¡¼¥×Æâ¤Ë¤ª¤¤¤Æ¡¢
1216 DHCP ¥µ¡¼¥Ð¼±Ê̻ҥª¥×¥·¥ç¥ó¤ÇÁ÷¤é¤ì¤ëÃͤòÄêµÁ¤¹¤ë¤¿¤á¤ËÍѤ¤¤Þ¤¹¡£
1217 »ØÄꤹ¤ëÃͤϠDHCP ¥µ¡¼¥Ð¤Î IP ¥¢¥É¥ì¥¹¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢
1218 ¤½¤Î¥¹¥³¡¼¥×¤Ë¤ª¤¤¤Æ¥µ¡¼¥Ó¥¹¤ò¼õ¤±¤ë¤¹¤Ù¤Æ¤Î¥¯¥é¥¤¥¢¥ó¥È¤«¤é
1219 Åþã²Äǽ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1220 .PP
1221 .\"O The use of the server-identifier statement is not recommended - the only
1222 .\"O reason to use it is to force a value other than the default value to be
1223 .\"O sent on occasions where the default value would be incorrect.   The default
1224 .\"O value is the first IP address associated with the physical network interface
1225 .\"O on which the request arrived.
1226 server-identifier Ê¸¤Î»ÈÍѤϴ«¤á¤é¤ì¤Þ¤»¤ó¡£
1227 Í£°ì¤ÎÍøÍѶÉÌ̤ϡ¢¥Ç¥Õ¥©¥ë¥È¤ÇÁ÷¤é¤ì¤ëÃͤ¬´Ö°ã¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¡¢
1228 ¤½¤ÎÃͤòÊ̤Τâ¤Î¤ËÊѹ¹¤¹¤ë¾ì¹ç¤À¤±¤Ç¤¹¡£
1229 ¥Ç¥Õ¥©¥ë¥È¤ÎÃͤϡ¢Í׵᤬Åþ㤷¤¿ÊªÍý¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ë
1230 ´ØÏ¢ÉÕ¤±¤é¤ì¤¿ºÇ½é¤Î IP ¥¢¥É¥ì¥¹¤Ç¤¹¡£
1231 .PP
1232 .\"O The usual case where the
1233 .\"O \fIserver-identifier\fR statement needs to be sent is when a physical
1234 .\"O interface has more than one IP address, and the one being sent by default
1235 .\"O isn't appropriate for some or all clients served by that interface.
1236 .\"O Another common case is when an alias is defined for the purpose of
1237 .\"O having a consistent IP address for the DHCP server, and it is desired
1238 .\"O that the clients use this IP address when contacting the server.
1239 .I server-identifier
1240 ʸ¤¬É¬Íפˤʤë¤Î¤Ï¡¢ÊªÍý¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ËÊ£¿ô¤Î IP ¥¢¥É¥ì¥¹¤¬¤Ä¤¤¤Æ¤¤¤Æ¡¢
1241 ¥Ç¥Õ¥©¥ë¥È¤ÇÁ÷¤é¤ì¤ë¥¢¥É¥ì¥¹¤¬¡¢
1242 ¥µ¡¼¥Ó¥¹¤ò¼õ¤±¤ë°ìÉô¤Þ¤¿¤ÏÁ´Éô¤Î¥¯¥é¥¤¥¢¥ó¥È¤Ë¤È¤Ã¤ÆŬÀڤǤϤʤ¤¾ì¹ç¤Ç¤¹¡£
1243 ¾¤Ë¤¢¤êÆÀ¤ëÎã¤È¤·¤Æ¤Ï¡¢
1244 DHCP ¥µ¡¼¥Ð¤Î IP ¥¢¥É¥ì¥¹¤ò°ì´Ó¤µ¤»¤ë¤¿¤á¤Ë IP ¥¨¥¤¥ê¥¢¥¹¤¬ÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢
1245 ¥¯¥é¥¤¥¢¥ó¥È¤¬¥µ¡¼¥Ð¤¤¤óÀܳ¤¹¤ëºÝ¤Ë¤Ï¤³¤Î
1246 IP ¥¢¥É¥ì¥¹¤òÍѤ¤¤ë¤Î¤¬Ë¾¤Þ¤·¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£
1247 .PP
1248 .\"O Supplying a value for the dhcp-server-identifier option is equivalent
1249 .\"O to using the server-identifier statement.
1250 .\"O .SH REFERENCE: OPTION STATEMENTS
1251 .SH ¥ê¥Õ¥¡¥ì¥ó¥¹: ¥ª¥×¥·¥ç¥óʸ
1252 .PP
1253 .\"O DHCP option statements are documented in the
1254 .\"O .B dhcp-options(5)
1255 .\"O manual page.
1256 DHCP ¥ª¥×¥·¥ç¥óʸ¤Ï¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸
1257 .BR dhcp-options (5)
1258 ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
1259 .\"O .SH SEE ALSO
1260 .SH ´ØÏ¢¹àÌÜ
1261 dhcpd.conf(5), dhcpd.leases(5), RFC2132, RFC2131.
1262 .\"O .SH AUTHOR
1263 .SH Ãø¼Ô
1264 .\"O .B dhcpd(8)
1265 .\"O was written by Ted Lemon <mellon@vix.com>
1266 .\"O under a contract with Vixie Labs.   Funding
1267 .\"O for this project was provided by the Internet Software Corporation.
1268 .\"O Information about the Internet Software Consortium can be found at
1269 .\"O .B http://www.isc.org/isc.
1270 .BR dhcpd (8)
1271 ¤Ï Ted Lemon <mellon@vix.com>
1272 ¤¬ Vixie Labs ¤È¤Î·ÀÌó¤Î¤â¤È¤Ë½ñ¤­¤Þ¤·¤¿¡£
1273 ¤³¤Î¥×¥í¥¸¥§¥¯¥È¤Î»ñ¶â¤Ï¡¢
1274 Internet Software Corporation ¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤Þ¤·¤¿¡£
1275 Internet Software Consortium ¤Î¾ðÊó¤Ï
1276 .B http://www.isc.org/isc
1277 ¤Ë¤¢¤ê¤Þ¤¹¡£