2 % This is part of CLFSja package.
4 % This is a CTIE change file for the original XML source of the CLFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <title>Static Networking Configuration</title>
15 <title>スタティックなネットワーク設定</title>
19 <title>Creating the Static Network Interface Configuration Files</title>
21 <title>スタティックネットワークインターフェイス向け設定ファイルの生成</title>
25 <para>Which interfaces are brought up and down by the network script
26 depends on the files and directories in the <filename
27 class="directory">/etc/sysconfig/network-devices</filename> hierarchy.
28 This directory should contain a sub-directory for each interface to be
29 configured, such as <filename>ifconfig.xyz</filename>, where
30 <quote>xyz</quote> is a network interface name. Inside this directory
31 would be files defining the attributes to this interface, such as its IP
32 address(es), subnet masks, and so forth.</para>
35 どのネットワークインターフェースが起動したり停止したりするかは <filename
36 class="directory">/etc/sysconfig/network-devices</filename> ディレクトリ配下のファイルの指定によります。
37 このディレクトリには、設定を行ないたい各ネットワークインターフェースに対するファイル <filename>ifconfig.xyz</filename> を準備します。
38 この<quote>xyz</quote>はネットワークカードインターフェース名 (例えば eth0 など) です。
39 このファイルにはネットワークインターフェースの属性、つまり IP アドレスやサブネットマスクなどを定義します。
44 <para>The following command creates a sample <filename>ipv4</filename>
45 file for the <emphasis>eth0</emphasis> device:</para>
48 以下のコマンドは <emphasis>eth0</emphasis> デバイスに対する <filename>ipv4</filename> ファイルのサンプルを生成するものです。
53 <para os="var-ob">The values of these variables must be changed in every file to match
54 the proper setup. If the <envar>ONBOOT</envar> variable is set to
55 <quote>yes</quote> the network script will bring up the Network Interface
56 Card (NIC) during booting of the system. If set to anything but
57 <quote>yes</quote> the NIC will be ignored by the network script and not
61 各変数の値は、このような設定ファイルの個々において適切なものに書き換えてください。
62 <envar>ONBOOT</envar> 変数を<quote>yes</quote>に設定した場合、システム起動時にネットワークスクリプトがネットワークインターフェースカード (network
63 interface card; NIC) を起動します。
64 <quote>yes</quote>以外に設定すると、ネットワークスクリプトからの NIC の起動がなくなり、NIC は自動では起動しなくなります。
69 <para os="var-s">The <envar>SERVICE</envar> variable defines the method used for
70 obtaining the IP address. The CLFS-Bootscripts package has a modular IP
71 assignment format, and creating additional files in the <filename
72 class="directory">/etc/sysconfig/network-devices/services</filename>
73 directory allows other IP assignment methods.</para>
76 変数 <envar>SERVICE</envar> は IP アドレスの取得方式を定義します。
77 CLFS Bootscripts パッケージにはモジュール化した IP アドレス割り当てフォーマットがあります。
78 <filename class="directory">/etc/sysconfig/network-devices/services</filename> ディレクトリ内に設定ファイルを置くことで、別の IP アドレス割り当て方式を採用することもできます。
83 <para>The <envar>GATEWAY</envar> variable should contain the default
84 gateway IP address, if one is present. If not, then comment out the
85 variable entirely.</para>
88 変数 <envar>GATEWAY</envar> はデフォルトゲートウェイが存在する場合に、その IP アドレスを設定します。
89 存在しない場合はこの変数設定全体をコメントにしてください。
94 <para>The <envar>PREFIX</envar> variable needs to contain the number of
95 bits used in the subnet. Each octet in an IP address is 8 bits. If the
96 subnet's netmask is 255.255.255.0, then it is using the first three octets
97 (24 bits) to specify the network number. If the netmask is 255.255.255.240,
98 it would be using the first 28 bits. Prefixes longer than 24 bits are
99 commonly used by DSL and cable-based Internet Service Providers (ISPs).
100 In this example (PREFIX=24), the netmask is 255.255.255.0. Adjust the
101 <envar>PREFIX</envar> variable according to your specific subnet.</para>
104 変数 <envar>PREFIX</envar> はサブネットマスクにて用いられるビット数を指定します。
105 IP アドレスの各オクテット (octet) は 8 ビットで構成されます。
106 例えばサブネットマスクが 255.255.255.0 である場合、ネットワーク番号 (network number) を特定するには最初の三つのオクテット (24ビット) が用いられることを意味します。
107 もし 255.255.255.240 であるなら、最初の 28 ビットということになります。
108 24 ビットを超えるプレフィックスは、通常は DSL やケーブルを用いたインターネットサービスプロバイダー (Internet Service Provider; ISP) がよく利用しています。
109 上の例 (PREFIX=24) では、サブネットマスクは 255.255.255.0 となります。
110 <envar>PREFIX</envar> 変数の値は、ネットワーク環境に応じて変更してください。
115 <para>To configure another DHCP Interface, Follow <xref linkend="conf-dhcpcd"/>.</para>
118 これ以外に DHCP インターフェースを設定する場合は <xref linkend="conf-dhcpcd"/> に進んでください。