Changes in chapter09/network.xml [c5c1e86:1966b8d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/network.xml
rc5c1e86 r1966b8d 18 18 <title>Creating Network Interface Configuration Files</title> 19 19 20 <para> The files in <filename class="directory">/etc/sysconfig/</filename>21 usually de termine which interfaces are brought up and down by the network22 script. This directory should20 <para>Which interfaces are brought up and down by the network script 21 usually depends on the files in <filename 22 class="directory">/etc/sysconfig/</filename>. This directory should 23 23 contain a file for each interface to be configured, such as 24 <filename>ifconfig.xyz</filename>, where <quote>xyz</quote> describes24 <filename>ifconfig.xyz</filename>, where <quote>xyz</quote> should describe 25 25 the network card. The interface name (e.g. eth0) is usually appropriate. 26 Each file contains the attributes of oneinterface, such as its IP27 address(es), subnet masks, and so forth. The stem of28 the filename mustbe <emphasis>ifconfig</emphasis>.</para>26 Inside this file are attributes to this interface, such as its IP 27 address(es), subnet masks, and so forth. It is necessary that the stem of 28 the filename be <emphasis>ifconfig</emphasis>.</para> 29 29 30 30 <note> … … 39 39 configuration of the udev daemon running on the system. The udev 40 40 daemon for LFS (installed in <xref linkend="ch-system-eudev"/>) will 41 not run until the LFS system is booted. So the interface names42 in the LFS system cannot always be determinedby running41 not run until the LFS system is booted. So it's unreliable to 42 determine the interface names being used in LFS system by running 43 43 those commands on the host distro, 44 <emphasis>even in the chroot environment</emphasis>.</para>44 <emphasis>even though in the chroot environment</emphasis>.</para> 45 45 </note> 46 46 … … 60 60 EOF</userinput></screen> 61 61 62 <para>The values in italics must be changed in e ach file, to set63 the interfaces up correctly.</para>62 <para>The values in italics must be changed in every file to match 63 the proper setup.</para> 64 64 65 65 <para>If the <envar>ONBOOT</envar> variable is set to <quote>yes</quote> the 66 66 System V network script will bring up the Network Interface Card (NIC) during 67 the system boot process. If set to anything b esides <quote>yes</quote>,the NIC68 will be ignored by the network script and will not be started automatically.69 Interfacescan be manually started or stopped with the67 the system boot process. If set to anything but <quote>yes</quote> the NIC 68 will be ignored by the network script and not be automatically brought up. 69 The interface can be manually started or stopped with the 70 70 <command>ifup</command> and <command>ifdown</command> commands.</para> 71 71 … … 85 85 variable entirely.</para> 86 86 87 <para>The <envar>PREFIX</envar> variable specifies the number of88 bits used in the subnet. Each segment ofan IP address is 8 bits. If the89 subnet's netmask is 255.255.255.0, then it is using the first three segments87 <para>The <envar>PREFIX</envar> variable contains the number of 88 bits used in the subnet. Each octet in an IP address is 8 bits. If the 89 subnet's netmask is 255.255.255.0, then it is using the first three octets 90 90 (24 bits) to specify the network number. If the netmask is 255.255.255.240, 91 the subnet isusing the first 28 bits. Prefixes longer than 24 bits are91 it would be using the first 28 bits. Prefixes longer than 24 bits are 92 92 commonly used by DSL and cable-based Internet Service Providers (ISPs). 93 93 In this example (PREFIX=24), the netmask is 255.255.255.0. Adjust the … … 140 140 141 141 <sect2 id="ch-config-hostname"> 142 <title>Configuring the System Hostname</title>142 <title>Configuring the system hostname</title> 143 143 144 144 <indexterm zone="ch-config-hostname"> … … 157 157 <para><replaceable><lfs></replaceable> needs to be replaced with the 158 158 name given to the computer. Do not enter the Fully Qualified Domain Name 159 (FQDN) here. That information goesin the159 (FQDN) here. That information is put in the 160 160 <filename>/etc/hosts</filename> file.</para> 161 161
Note:
See TracChangeset
for help on using the changeset viewer.