OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / dhcp2 / draft / man8 / dhcrelay.8
1 .\"     dhcrelay.8
2 .\"
3 .\" Copyright (c) 1997 The Internet Software Consortium.
4 .\" 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 Thu Dec 27 2001 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
41 .\"
42 .TH dhcrelay 8
43 .\"O .SH NAME
44 .\"O dhcrelay - Dynamic Host Configuration Protocol Relay Agent
45 .SH Ì¾Á°
46 dhcrelay \- Dynamic Host Configuration Protocol (ưŪ¥Û¥¹¥ÈÀßÄê¥×¥í¥È¥³¥ë) Ãæ·Ñ¥¨¡¼¥¸¥§¥ó¥È
47 .\"O .SH SYNOPSIS
48 .SH ½ñ¼°
49 .B dhcrelay
50 [
51 .B -p
52 .I port
53 ]
54 [
55 .B -d
56 ]
57 [
58 .B -q
59 ]
60 [
61 .B -i
62 .I if0
63 [
64 .B ...
65 .B -i
66 .I ifN
67 ]
68 ]
69 .I server0
70 [
71 .I ...serverN
72 ]
73 .\"O .SH DESCRIPTION
74 .SH ÀâÌÀ
75 .\"O The Internet Software Consortium DHCP Relay Agent, dhcrelay, provides a
76 .\"O means for relaying DHCP and BOOTP requests from a subnet to which
77 .\"O no DHCP server is directly connected to one or more DHCP servers on other
78 .\"O subnets.
79 Internet Software Consortium DHCP Ãæ·Ñ¥¨¡¼¥¸¥§¥ó¥È dhcrelay ¤Ï¡¢
80 DHCP ¥µ¡¼¥Ð¤¬Ä¾ÀܤˤÏÀܳ¤µ¤ì¤Æ¤¤¤Ê¤¤¥µ¥Ö¥Í¥Ã¥È¤«¤é¤Î
81 DHCP Í×µá¤ä BOOTP Í×µá¤ò¡¢Â¾¤Î¥µ¥Ö¥Í¥Ã¥È¤Ë¤¢¤ë 1 ¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î
82 DHCP ¥µ¡¼¥Ð¤ËÃæ·Ñ¤¹¤ë¼êÃʤòÄ󶡤·¤Þ¤¹¡£
83 .\"O .SH OPERATION
84 .SH Æ°ºî
85 .PP
86 .\"O The DHCP Relay Agent listens for DHCP requests on all interfaces
87 .\"O attached to a host, unless one or more interfaces are specified on the
88 .\"O command line with the
89 .\"O .I -i
90 .\"O flag.
91 ¤³¤Î DHCP Ãæ·Ñ¥¨¡¼¥¸¥§¥ó¥È¤Ï¡¢
92 .I -i
93 ¥Õ¥é¥°¤Ç 1 ¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤ò½ü¤­¡¢
94 ¥Û¥¹¥È¤ËÀܳ¤µ¤ì¤¿¤¹¤Ù¤Æ¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ç DHCP Í×µá¤òÂÔ¤Á¼õ¤±¤Þ¤¹¡£
95 .PP
96 .\"O When a query is received, dhcrelay forwards it to the list of DHCP
97 .\"O servers specified on the command line.   When a reply is received, it
98 .\"O is broadcast or unicast on the network from whence the original
99 .\"O request came.
100 Í×µá¤ò¼õ¿®¤¹¤ë¤È¡¢dhcrelay ¤Ï¤½¤ÎÍ×µá¤ò¡¢
101 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿ DHCP ¥µ¡¼¥Ð¤Î¥ê¥¹¥È¤ØžÁ÷¤·¤Þ¤¹¡£
102 ¤½¤³¤«¤éÊÖÅú¤ò¼õ¤±¤È¤ë¤È¡¢
103 ¤½¤ÎÊÖÅú¤Ï¤â¤È¤â¤È¤ÎÍ׵᤬Í褿¥Í¥Ã¥È¥ï¡¼¥¯¤Ë
104 ¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¤Þ¤¿¤Ï¥æ¥Ë¥­¥ã¥¹¥È¤µ¤ì¤Þ¤¹¡£
105 .PP
106 .\"O It is possible to specify a set of interfaces on which dhcrelay will
107 .\"O listen, so that if dhcrelay is connected through one interface to a
108 .\"O network on which there is no DHCP server, but is connected on another
109 .\"O interface to a network on which there is a DHCP server, it will not
110 .\"O relay DHCP and BOOTP requests from the network on which the server
111 .\"O exists to that server.   This is an imperfect solution.
112 dhcrelay ¤¬ÂÔµ¡¤¹¤ë (1 ¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î)
113 ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
114 ¤³¤ì¤òÍѤ¤¤ì¤Ð¡¢dhcrelay ¤ÎÀܳÀè¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤¬¡¢
115 ¤¢¤ë¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹·Ðͳ¤Ç¤Ï DHCP ¥µ¡¼¥Ð¤Î¤¤¤Ê¤¤¤â¤Î¡¢
116 ¤Þ¤¿Ê̤Υ¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹·Ðͳ¤Ç¤Ï DHCP ¥µ¡¼¥Ð¤¬¤¤¤ë¤â¤Î¡¢
117 ¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¡¢
118 ¥µ¡¼¥Ð¤¬¤¤¤ë¦¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤«¤é¤ÎÍ×µá¤ò
119 ¤½¤Î¥µ¡¼¥Ð¤ËžÁ÷¤¹¤ë¤è¤¦¤Ê¤³¤È¤Ï¤·¤Ê¤¤¤è¤¦¤Ë¤Ç¤­¤Þ¤¹¡£
120 ¤³¤ì¤Ï´°Á´¤Ê²ò·èË¡¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡£
121 .\"O .SH COMMAND LINE
122 .SH ¥³¥Þ¥ó¥É¥é¥¤¥ó
123 .PP
124 .\"O The names of the network interfaces that dhcrelay should attempt to
125 .\"O configure may be specified on the command line using the
126 .\"O .I -i
127 .\"O option.  If no interface names
128 .\"O are specified on the command line dhcrelay will identify all network
129 .\"O interfaces, elimininating non-broadcast interfaces if possible, and
130 .\"O attempt to configure each interface.
131 dhcrelay ¤¬ÂÔµ¡¤¹¤ë¤è¤¦ÀßÄꤷ¤¿¤¤¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î̾Á°¤Ï¡¢
132 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î
133 .B -i
134 ¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤Æ»ØÄê¤Ç¤­¤Þ¤¹¡£
135 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤Ò¤È¤Ä¤â¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹Ì¾¤¬»ØÄꤵ¤ì¤Ê¤¤¤È¡¢
136 dhcrelay ¤Ï¤¹¤Ù¤Æ¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤òÍѤ¤¤Þ¤¹¡£
137 ¤¿¤À¤·¥Ö¥í¡¼¥É¥­¥ã¥¹¥È¤Ç¤­¤Ê¤¤¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ï²Äǽ¤Ê¾ì¹ç¤Ï½ü¤­¡¢
138 ¤½¤ì¤«¤é³Æ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤òÀßÄꤷ¤Þ¤¹¡£
139 .PP
140 .\"O If dhcrelay should listen and transmit on a port other than the
141 .\"O standard (port 67), the
142 .\"O .B -p
143 .\"O flag may used.  It should be followed by the udp port number that
144 .\"O dhcrelay should use.  This is mostly useful for debugging purposes.
145 .\"O If the
146 .\"O .B -p
147 .\"O flag is specified, the relay agent will transmit responses to clients
148 .\"O at a port number that is one greater than the one specified - i.e., if
149 .\"O you specify
150 .\"O .B -p
151 .\"O 67, then the relay agent will listen on port 67 and transmit to port
152 .\"O 68.   Transmissions to servers will be sent to the same port number
153 .\"O that it specified in the
154 .\"O .B -p
155 .\"O flag.
156 dhcrelay ¤òɸ½à¤Î¥Ý¡¼¥È (¥Ý¡¼¥È 67) °Ê³°¤ÇÂÔµ¡¤µ¤»¤¿¤¤¾ì¹ç¤Ï
157 .B -p
158 ¥Õ¥é¥°¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£¤³¤Î¸å¤Ë¤Ï dhcrelay ¤òÂÔµ¡¤µ¤»¤ë
159 udp ¤Î¥Ý¡¼¥ÈÈÖ¹æ¤ò½ñ¤­¤Þ¤¹¡£¤³¤ì¤Ï¥Ç¥Ð¥Ã¥°¤ÎÍÑÅÓ¤ËÆäËÊØÍø¤Ç¤¹¡£
160 .B -p
161 ¥Õ¥é¥°¤¬»ØÄꤵ¤ì¤ë¤È¡¢¤³¤ÎÃæ·Ñ¥¨¡¼¥¸¥§¥ó¥È¤Ï»ØÄꤷ¤¿ÈÖ¹æ¤è¤ê¤â
162 1 ¤ÄÂ礭¤Ê¥Ý¡¼¥ÈÈÖ¹æ¤òÍѤ¤¤Æ¥¯¥é¥¤¥¢¥ó¥È¤ËÊÖ»ö¤òÁ÷¤ê¤Þ¤¹¡£
163 ¤Ä¤Þ¤ê
164 .BR -p " 67"
165 ¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢dhcrelay ¤Ï¥Ý¡¼¥È 67 ¤òÄ°¤­¡¢
166 ¥Ý¡¼¥È 67 ¤ËÊÖ»ö¤òÁ÷¤ê¤Þ¤¹¡£¥µ¡¼¥Ð¤Ø¤ÎÃæ·Ñ¤Ï¡¢
167 .B -p
168 ¥Õ¥é¥°¤Ç»ØÄꤷ¤¿¤Î¤ÈƱ¤¸¥Ý¡¼¥ÈÈÖ¹æ¤ËÁ÷¿®¤µ¤ì¤Þ¤¹¡£
169 .PP
170 .\"O Dhcrelay will normally run in the foreground until it has configured
171 .\"O an interface, and then will revert to running in the background.
172 .\"O To run force dhcrelay to always run as a foreground process, the
173 .\"O .B -d
174 .\"O flag should be specified.  This is useful when running dhcrelay under
175 .\"O a debugger, or when running it out of inittab on System V systems.
176 dhcrelay ¤ÏÄ̾磻¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤òÀßÄꤹ¤ë¤Þ¤Ç¤Ï¥Õ¥©¥¢¥°¥é¥¦¥ó¥É¤ÇÆ°ºî¤·¡¢
177 ¤³¤ì¤¬½ªÎ»¤¹¤ë¤È¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Ë°ÜÆ°¤·¤Þ¤¹¡£
178 dhcrelay ¤ò¾ï¤Ë¥Õ¥©¥¢¥°¥é¥¦¥ó¥É¤ÇÆ°ºî¤µ¤»¤ë¤Ë¤Ï¡¢
179 .B -d
180 ¥Õ¥é¥°¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤ì¤Ï dhcrelay ¤ò¥Ç¥Ð¥Ã¥¬¤Î²¼¤ÇÆ°ºî¤µ¤»¤¿¤ê¡¢
181 System V ¥·¥¹¥Æ¥à¤Î inittab °Ê³°¤«¤éÆ°ºî¤µ¤»¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£
182 .PP
183 .\"O Dhcrelay will normally print its network configuration on startup.
184 .\"O This can be annoying in a system startup script - to disable this
185 .\"O behaviour, specify the
186 .\"O .I -q
187 .\"O flag.
188 dhcrelay ¤Ï¡¢µ¯Æ°»þ¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ÀßÄê¤òɽ¼¨¤·¤Þ¤¹¡£
189 ¤³¤ì¤Ï¥·¥¹¥Æ¥à¤Îµ¯Æ°¥¹¥¯¥ê¥×¥È¤Ê¤É¤Ç¤Ï¼ÙË⤫¤â¤·¤ì¤Þ¤»¤ó¡£
190 ¤³¤ÎÆ°ºî¤ò̵¸ú¤Ë¤¹¤ë¤Ë¤Ï
191 .B -q
192 ¥Õ¥é¥°¤ò»ØÄꤷ¤Þ¤¹¡£
193 .PP
194 .\"O The name of at least one DHCP server to which DHCP and BOOTP requests
195 .\"O should be relayed must be specified on the command line.
196 DHCP Í×µá¤ä BOOTP Í×µá¤ÎžÁ÷Àè¤È¤Ê¤ë DHCP ¥µ¡¼¥Ð¤Î̾Á°¤Ï¡¢
197 ¾¯¤Ê¤¯¤È¤â 1 ¤Ä°Ê¾å¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
198 .PP
199 .\"O .SH SEE ALSO
200 .SH ´ØÏ¢¹àÌÜ
201 dhclient(8), dhcpd(8), RFC2132, RFC2131.
202 .\"O .SH AUTHOR
203 .SH Ãø¼Ô
204 .\"O .B dhcrelay(8)
205 .\"O has been written for the Internet Software Consortium
206 .\"O by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
207 .\"O Enterprises.  To learn more about the Internet Software Consortium,
208 .\"O see
209 .\"O .B http://www.vix.com/isc.
210 .\"O To learn more about Vixie
211 .\"O Enterprises, see
212 .\"O .B http://www.vix.com.
213 .\"O .PP
214 .BR dhcpd (8)
215 ¤Ï Ted Lemon <mellon@vix.com>
216 ¤¬ Vixie Enterprises ¤È¶¨ÎϤΤâ¤È
217 Internet Software Consortium ¤Î¤¿¤á¤Ë½ñ¤­¤Þ¤·¤¿¡£
218 Internet Software Consortium ¤Î¾ðÊó¤Ï
219 .B http://www.isc.org/isc
220 ¤Ë¤¢¤ê¤Þ¤¹¡£
221 Vixie Enterprises ¤Î¾ðÊó¤Ï
222 .B http://www.vix.com
223 ¤Ë¤¢¤ê¤Þ¤¹¡£