1
<?xml version="1.0" encoding="EUC-JP"?>
2
<!-- retain these comments for translator revision tracking -->
3
<!-- original version: 43558 -->
6
<sect2 condition="supports-bootp" id="tftp-bootp">
8
<title>Setting up a BOOTP server</title>
10
<title>BOOTP ����������</title>
14
There are two BOOTP servers available for GNU/Linux. The first is CMU
15
<command>bootpd</command>. The other is actually a DHCP server: ISC
16
<command>dhcpd</command>. In &debian; these are contained in the
17
<classname>bootp</classname> and <classname>dhcp3-server</classname>
18
packages respectively.
20
GNU/Linux �ǻȤ��� BOOTP �����Ф� 2 �Ĥ���ޤ���
21
�ҤȤĤ� CMU �� <command>bootpd</command> �Ǥ���
22
�⤦ 1 �Ĥϼºݤ� DHCP �����ФǤ�����ISC �� <command>dhcpd</command> �Ǥ���
24
<classname>bootp</classname> �ѥå������� <classname>dhcp3-server</classname>
25
�ѥå������ˤ��줾�����äƤ��ޤ���
30
To use CMU <command>bootpd</command>, you must first uncomment (or
31
add) the relevant line in <filename>/etc/inetd.conf</filename>. On
32
&debian;, you can run <userinput>update-inetd -\-enable
33
bootps</userinput>, then <userinput>/etc/init.d/inetd
34
reload</userinput> to do so. Just in case your BOOTP server does not
35
run Debian, the line in question should look like:
37
CMU <command>bootpd</command> ��Ȥ����ϡ��ޤ� <filename>/etc/inetd.conf</filename> �ե������
38
�����Ԥ��� (�ޤ����ɲ�) ����ɬ�פ�����ޤ���
39
&debian; �Ǥ� <userinput>update-inetd --enable bootps</userinput> ��¹Ԥ���
40
³���� <userinput>/etc/init.d/inetd reload</userinput> �Ȥ���� OK �Ǥ���
41
BOOTP �����Ф� Debian ��ư���ʤ����ϡ��ʲ��Τ褦�ˤ��ޤ���
43
<informalexample><screen>
44
bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120
45
</screen></informalexample>
48
Now, you must create an <filename>/etc/bootptab</filename> file. This
49
has the same sort of familiar and cryptic format as the good old BSD
50
<filename>printcap</filename>, <filename>termcap</filename>, and
51
<filename>disktab</filename> files. See the
52
<filename>bootptab</filename> manual page for more information. For
53
CMU <command>bootpd</command>, you will need to know the hardware
54
(MAC) address of the client. Here is an example
55
<filename>/etc/bootptab</filename>:
57
�����Ǽ��� <filename>/etc/bootptab</filename> ��������ޤ���
59
<filename>printcap</filename>, <filename>termcap</filename>,
60
<filename>disktab</filename> �ե�����ʤɤǤ������ߤΡ�
61
��Τ狼��ˤ��������ˤʤäƤ��ޤ���
62
�ܺ٤� <filename>bootptab</filename> �ޥ˥奢��ڡ����Ƥ���������
63
CMU <command>bootpd</command> �Ǥϡ�
64
���饤����ȤΥϡ��ɥ����� (MAC) ���ɥ쥹���ΤäƤ����ʤ���Фʤ�ޤ���
65
<filename>/etc/bootptab</filename> ������ޤ���
67
<informalexample><screen>
75
</screen></informalexample>
78
You will need to change at least the <quote>ha</quote> option, which
79
specifies the hardware address of the client. The <quote>bf</quote>
80
option specifies the file a client should retrieve via TFTP; see
81
<xref linkend="tftp-images"/> for more details.
83
���ʤ��Ȥ⥯�饤����ȤΥϡ��ɥ��������ɥ쥹����ꤷ�Ƥ���
84
<quote>ha</quote> ���ץ������ѹ�����ɬ�פ�����Ǥ��礦��
85
<quote>bf</quote> ���ץ����ϥ��饤����Ȥ� TFTP �Ǽ�������ե��������ꤷ�Ƥ��ޤ���
86
�ܺ٤� <xref linkend="tftp-images"/> �Ȥ��Ƥ���������
90
On SGI machines you can just enter the command monitor and type
91
<userinput>printenv</userinput>. The value of the
92
<userinput>eaddr</userinput> variable is the machine's MAC address.
95
���ޥ�ɥ�˥����� <userinput>printenv</userinput> �����Ϥ��Ƥ���������
96
<userinput>eaddr</userinput> �ѿ����ޥ���� MAC ���ɥ쥹�Ǥ���
102
By contrast, setting up BOOTP with ISC <command>dhcpd</command> is
103
really easy, because it treats BOOTP clients as a moderately special
104
case of DHCP clients. Some architectures require a complex
105
configuration for booting clients via BOOTP. If yours is one of
106
those, read the section <xref linkend="dhcpd"/>. In that case, you
107
will probably be able to get away with simply adding the
108
<userinput>allow bootp</userinput> directive to the configuration
109
block for the subnet containing the client, and restart
110
<command>dhcpd</command> with <userinput>/etc/init.d/dhcpd3-server
113
�о�Ū�ˡ�ISC <command>dhcpd</command> ��ȤäƤ� BOOTP ������ϼ¤˴�ñ�Ǥ���
114
<command>dhcpd</command> �Ǥϡ�BOOTP ���饤����Ȥ�
115
����ü�� DHCP ���饤����ȤȤ��Ƽ�갷���ޤ���
116
�������ƥ�����ˤ�äƤϡ�BOOTP �ˤ�륯�饤����Ȥε�ư�ˤ�
118
����˳������Ƥ��ޤä��顢<xref linkend="dhcpd"/> ������ɤ�Ǥ���������
119
���ξ�硢���饤����Ȥδޤޤ�륵�֥ͥåȤ�����֥��å���
120
<userinput>allow bootp</userinput> �Ȥ����ǥ��쥯�ƥ��֤��ɲä���
121
<userinput>/etc/init.d/dhcpd3-server restart</userinput> ��
122
<command>dhcpd</command> ��Ƶ�ư��������Ǥ���