Path: blob/main/documentation/manual-pages/ja/man8/bootpd.8
18093 views
.\" Copyright (c) 1988, 1989, 1991 Carnegie Mellon University .\" .\" %FreeBSD: src/libexec/bootpd/bootpd.8,v 1.20 2004/07/02 21:28:48 ru Exp % .\" $FreeBSD$ .\" .Dd February 10, 2004 .Dt BOOTPD 8 .Os .Sh ̾�� .Nm bootpd , bootpgw .Nd �����ͥåȥ֡��ȥץ��ȥ��륵����/�����ȥ����� .Sh �� .Nm .Op Fl i | s .Op Fl c Ar chdir-path .Op Fl d Ar level .Op Fl h Ar hostname .Op Fl t Ar timeout .Oo .Ar bootptab .Op Ar dumpfile .Oc .Nm bootpgw .Op Fl i | s .Op Fl d Ar level .Op Fl h Ar hostname .Op Fl t Ar timeout .Ar server .Sh ���� .Nm �桼�ƥ���ƥ��� RFC951, RFC1532, RFC1533 ��������줿 �����ͥåȥ֡��ȥץ��ȥ��� (BOOTP) �����Ф����������ΤǤ��� .Nm bootpgw �桼�ƥ���ƥ��ϡ���ȱ������륵�֥ͥåȾ�Υ��饤����Ȥȡ� �̤Υ��֥ͥåȾ�� BOOTP ������ (���ʤ�� .Nm ) �Ȥδ֤�ž������Τ˻Ȥ��롢ñ��� BOOTP �����ȥ�������������Ƥ��ޤ��� .Nm �ޤ��� .Nm bootpgw �� BOOTREPLY �ѥ��åȤ�ž�����ޤ����� .Nm bootpgw ������ BOOTREQUEST �ѥ��åȤ�ž�����ޤ��� .Pp �ơ��Υͥåȥ���������ȤˤĤ����̾��ĤΥۥ��Ȥǡ� �ʲ��ιԤΤɤ줫��ե����� .Pa /etc/inetd.conf �˴ޤ�뤳�Ȥˤ�ꡢ .Nm ���뤤�� .Nm bootpgw �� .Xr inetd 8 ���鵯ư�����褦�����ꤵ��ޤ�: .Pp .Dl bootps dgram udp wait root /usr/libexec/bootpd bootpd /etc/bootptab .Dl bootps dgram udp wait root /usr/libexec/bootpgw bootpgw server .Pp ����ư��⡼�ɤϡ�inetd �⡼�ɡפȸƤФ졢 �֡�������夷�����ˤ��� .Nm (���뤤�� .Nm bootpgw ) �Ϥ��ޤ��� �⤷�Ǹ�˥ѥ��åȤ�������Ƥ��� 15 ʬ������̤Υѥ��åȤ�������ʤ��Τʤ顢 �����ƥ�λ�ϲ�ʤ��褦�˽�λ���ޤ��� .Fl t ���ץ�����Υ����ॢ���Ȼ��֤����椷�ޤ� (���ץ����)�� .Pp ¾���̾�Υ��ޥ�ɤΤ褦��ñ�˥����뤫�鵯ư���뤳�Ȥǡ� .Nm (���뤤�� .Nm bootpgw ) ��֥�����ɥ�������⡼�ɡ�( .Xr inetd 8 �ʤ�) �Ǽ¹Ԥ��뤳�Ȥ��ǽ�Ǥ��� .Nm ���礭�ʥ���ե�����졼�����ǡ����١����Τ�ȤǻȤ�����ˤϡ� inetd �⡼�ɤǤε�ư�����ٱ䤬 ���饤����Ȥ�����Ф������ᤤ������˸����Τǡ� ������ɥ�������⡼�ɤ��ä����Ω���ޤ��� (�㤨�� .Pa /etc/rc.local ���� .Nm ��ƤӤ������Ȥˤ�äơ� ������ɥ�������⡼�ɤǼ�ưŪ�˵�ư���뤳�Ȥ��Ǥ��ޤ���) .Nm bootpgw ������ե�������ɤޤʤ��Τǡ� ��ư�����ٱ�Ϥ��ʤ꾮������ ������ɥ�������⡼�ɤϤ��ޤ����Ω���ޤ��� .Pp �ɤ���Υץ������⡢inetd ����ƤӽФ��줿�������뤫��ƤӽФ��줿���� ��ưŪ�˸��Ф�����ưŪ��Ŭ���ʥ⡼�ɤ����ޤ��� .Fl s �� .Fl i ���ץ����ϳơ���������ɥ�������⡼�ɤ� inetd �⡼�ɤ�������Τ� �Ȥ��ޤ� (���ץ����) .Sh ���ץ���� �ʲ��Υ��ץ�������Ѳ�ǽ�Ǥ�: .Bl -tag -width indent .It Fl t Ar timeout .Nm ���뤤�� .Nm bootpgw �ץ���������λ�������� BOOTP �ѥ��åȤ��Ԥ� .Ar timeout �� (ʬñ��) ����ꤷ�ޤ��� �⤷ .Ar timeout ʬ��˥ѥ��åȤ�������ʤ���С��ץ������Ͻ�λ���ޤ��� timeout ���ͤ� 0 �ξ��ϡֱʱ�˼¹Ԥ���פȤ�����̣�Ǥ��� ������ɥ�������⡼�ɤǤϡ����Υ��ץ����� 0 �˶�������ޤ��� .It Fl d Ar debug-level ���������ǥХå���å��������̤����椹���ѿ� .Ar debug-level �����ꤷ�ޤ��� �㤨�С� .Fl d Ns 4 �� .Fl d 4 �Ǥϡ��ǥХå���٥뤬 4 �����ꤵ��ޤ��� �Ť��С������� .Nm �Ȥθߴ����Τ��ᡢ�����Υѥ������ά (�Ĥޤꡢ .Fl d ����) ����� ñ�˥ǥХå���٥���Ĥ������ä����ޤ��� .It Fl c Ar chdir-path ���饤����ȤΥ֡��ȥե������¸�ߤȥ�����������֤� .Nm �ǻȤ��륫���ȥǥ��쥯�ȥ�����ꤷ�ޤ��� ���饤����ȤΥ֡��ȥե����뤬���Хѥ�̾�ǻ��ꤵ��Ƥ��ơ� .Nm �� TFTP �����Ф�Ʊ�������ȥǥ��쥯�ȥ� (ŵ��Ū�ˤ� .Pa /tftpboot ) ��ɬ�פȤ���Ȥ���ͭ�ѤǤ��� ���Υ��ץ����� .Nm bootpgw �ˤ�äƤ�ǧ������ޤ��� .It Fl h Ar hostname ��³���ԤäƤ��� IP ���ɥ쥹���б�����ۥ���̾����ꤷ�ޤ��� �ǥե���ȤǤ� .Nm �� .Xr gethostname 3 ���֤��ޥ���Υۥ���̾���б����� IP ���ɥ쥹���Ԥ��ޤ��� .It Fl i ����Ū�� inetd �⡼�ɤˤ��ޤ��� ���Υ��ץ����ϻ����٤�Ǥ������Ť��С������� .Nm �Ȥθߴ����Τ���˻Ĥ��Ƥ���ޤ��� .It Fl s ����Ū�˥�����ɥ�������⡼�ɤˤ��ޤ��� ���Υ��ץ����ϻ����٤�Ǥ����� �Ť��С������� .Nm �Ȥθߴ����Τ���˻Ĥ��Ƥ���ޤ��� .It Ar bootptab .Nm �������ɤ��� ����ե������̾������ꤷ�ޤ� .No ( Nm �Τ�)�� ����Ϥ��餫�����ΤäƤ��륯�饤����Ȥ� ���Υ��饤����ȤΥ��ץ����˴ؤ���ǡ����١����Ǥ��� .It Ar dumpfile .Nm ����SIGUSR1 �����ʥ����������Ȥ��� �����ǡ����١��������פ���ե������̾������ꤷ�ޤ� .No ( Nm �Τ�)�� ���Υ��ץ����� .Nm �� -DDEBUG �ե饰�դ��ǥ���ѥ��뤵�줿�Ȥ�����ǧ������ޤ��� .It Ar server .Nm bootpgw �������������Ƥ� BOOTREQUEST �ѥ��åȤ�ž�����롢 BOOTP �����Ф�̾������ꤷ�ޤ� .Pf ( Nm bootpgw �Τ�)�� .El .Sh ��� .Em bootps �ݡ��Ȥ�����줿�ɤ�ʥѥ��åȤ������� �ɤ�� BOOTREPLY �ѥ��åȤ�ñ���ž������Ȥ������� .Nm �� .Nm bootpgw ������������ư���ޤ��� BOOTREQUEST �ΰ����ϰ㤤�ޤ��� .Pp .Nm bootpgw ��ư��ϻ��ˡ����ޥ�ɹԥѥ����Ȥ���̾����Ϳ����줿 BOOTP �����ФΥ��ɥ쥹����ޤ��� .Nm bootpgw �� BOOTREQUEST �ѥ��åȤ���������Ȥ��� �ѥ��åȤΡ֥����ȥ��������ɥ쥹�פȡ֥ۥå��ץե�����ɤ����ꤷ�� �ѥ��åȤ����˷����ɥ쥹�� BOOT �����Ф�ž�����ޤ��� ��ѥ��åȤϡ� ���饤����Ȥ����ʤ��Ȥ� 3 �ä��ԤäƤ���ȥѥ��åȤ������Ƥ�����ˤ��� ž������ޤ��� .Pp .Nm ��ư��ϻ�������ե����� (�̾� .Pa /etc/bootptab ) ���ɤߤ��ߤޤ��� ����ǡ����餫�����ΤäƤ��륯�饤����Ȥ� ���饤����ȤΥ��ץ����˴ؤ��������ǡ����١������������ޤ��� ���������ǡ����١����ϡ� .Nm ���������ǥ����ʥ� (SIGHUP) ����������Ȥ��� �ޤ�������ե����뤬�ѹ����줿���Ȥ� ȯ�������Ȥ��ˡ����ɤ߹��ߤ��Ԥʤ��ޤ��� .Pp .Nm �� BOOTREQUEST �ѥ��åȤ���������Ȥ��� ���饤����Ȥ���˰��פ���ǡ����١�������ȥ��õ���ޤ��� �⤷���Υ��饤����Ȥ餫�����ΤäƤ���� .Nm �����˸��դ����ǡ����١�������ȥ��Ȥä� BOOTREPLY �ѥ��åȤ������� (�Ҥ�äȤ����饲���ȥ�������Ȥä�) ���饤����Ȥ�����������ޤ��� �⤷���饤����Ȥ�̤�Τʤ�С�(debug > 0 �ΤȤ������դ�Ф���) ��ϼΤƤ��ޤ��� .Pp .Nm �� -DDEBUG ���ץ����ǥ���ѥ��뤵��Ƥ���С� SIGUSR1 �����ʥ������������ǡ����١�����ե����� .Pa /tmp/bootpd.dump �������ޥ�ɹԥѥ����ǻ��ꤵ�줿����ץե������ ����פ��ޤ��� .Pp ������λ��ɤ���Υץ������⡢ (���̤� .Pa /etc/services ��Ȥ�) .Xr getservbyname 3 ��Ƥ֤��Ȥ� UDP �ݡ����ֹ����ꤷ�ޤ��� ��ĤΥ����ӥ�̾ (�ȥݡ����ֹ�) ���Ȥ��ޤ�: .Pp .Dl bootps \- BOOTP �������Ե��ݡ��� .Dl bootpc \- BOOTP ���饤������Ϥ���ݡ��� .Pp �⤷�ݡ����ֹ椬 .Xr getservbyname 3 ��ȤäƷ���Ǥ��ʤ��Ȥ��ˤϡ� �ǥե�����ͤ� bootps=67 �� bootpc=68 �Ǥ��� .Sh ��Ϣ�ե����� .Bl -tag -width /tmp/bootpd.dump -compact .It Pa /etc/bootptab .Nm �ˤ�ä��ɤ߹��ޤ��ǡ����١����ե����롣 .It Pa /tmp/bootpd.dump .Nm �ˤ�ä����������ǥХå�����ץե����롣 .It Pa /etc/services �����ͥåȥ����ӥ��ֹ档 .It Pa /tftpboot TFTP �����Ф� .Nm �ǻȤ���ŵ��Ū�����ȥǥ��쥯�ȥꡣ .El .Sh �Х� �ơ��Υۥ��ȥ���ȥ�� 1024 ʸ����ۤ��ƤϤ����ޤ��� .Sh ��ϫ�� ���������Ǥϸ��ߡ� .An Walter L. Wimer Aq [email protected] �ˤ�ä� �ݼ餵��Ƥ��ޤ��� .Pp ���ꥸ�ʥ�� BOOTP �����Ф� ������ե�������ؤ� .An Bill Croft �ˤ�ä� 1986 ǯ 1 ��˺�������ޤ����� .Pp ���ߤΥС������� .Nm �����ˡ�Carnegie Mellon University �� .An David Kovar , .An Drew D. Perkins , .An Walter L. Wimer �λŻ��ˤ���ΤǤ��� .Pp ��ǽ��ĥ�ȥХ��ե������ϰʲ������ι��ˤ��ޤ�: (����ե��٥åȽ�) .Pp .An -split .An Danny Backx Aq [email protected] , .An John Brezak Aq [email protected] , .An Frank da Cruz Aq [email protected] , .An David R. Linn Aq [email protected] , .An Jim McKim Aq [email protected] , .An Gordon W. Ross Aq [email protected] , .An Jason Zions Aq [email protected] . .Sh ��Ϣ���� .Xr bootptab 5 , .Xr inetd 8 , .Xr tftpd 8 .Pp DARPA Internet Request For Comments: .Bl -tag -width RFC1533 -compact .It RFC951 Bootstrap Protocol .It RFC1532 Clarifications and Extensions for the Bootstrap Protocol .It RFC1533 DHCP Options and BOOTP Vendor Extensions .El