aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/network.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/network.xml')
-rw-r--r--chapter07/network.xml35
1 files changed, 17 insertions, 18 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index f389ec40a..4dbbdd293 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -47,16 +47,15 @@ PREFIX=24
BROADCAST=192.168.1.255</literal>
EOF</userinput></screen>
-<para>The values of these variables must be changed in every file to
-match the proper setup. If the <envar>ONBOOT</envar> variable is
-set to <quote>yes</quote> the network script will bring up the
-Network Interface Card (NIC) during booting of the system. If set
-to anything but <quote>yes</quote> the NIC will be ignored by the
-network script and not brought up.</para>
-
-<para>The <envar>SERVICE</envar> variable defines the method of obtaining the IP
-address. The LFS-Bootscripts package has a modular IP assignment format, and
-creating additional files in the <filename
+<para>The values of these variables must be changed in every file to match the
+proper setup. If the <envar>ONBOOT</envar> variable is set to <quote>yes</quote>
+the network script will bring up the Network Interface Card (NIC) during booting
+of the system. If set to anything but <quote>yes</quote> the NIC will be ignored
+by the network script and not be brought up.</para>
+
+<para>The <envar>SERVICE</envar> variable defines the method used in obtaining
+the IP address. The LFS-Bootscripts package has a modular IP assignment format,
+and creating additional files in the <filename
class="directory">/etc/sysconfig/network-devices/services</filename> directory
allows other IP assignment methods. This is commonly used for Dynamic Host
Configuration Protocol (DHCP), which is addressed in the BLFS book.</para>
@@ -65,14 +64,14 @@ Configuration Protocol (DHCP), which is addressed in the BLFS book.</para>
the default gateway IP address, if one is present. If not, then comment out
the variable entirely.</para>
-<para>The <envar>PREFIX</envar> variable needs to contain the
-number of bits used in the subnet. Each octet in an IP address is 8
-bits. If the subnet's netmask is 255.255.255.0, then it is using the
-first three octets (24 bits) to specify the network number. If the
-netmask is 255.255.255.240, it would be using the first 28 bits.
-Prefixes longer than 24 bits are commonly used by DSL and cable-based
-Internet Service Providers (ISPs). In this example (PREFIX=24), the netmask
-is 255.255.255.0. Adjust according to the specific subnet.</para>
+<para>The <envar>PREFIX</envar> variable needs to contain the number of bits
+used in the subnet. Each octet in an IP address is 8 bits. If the subnet's
+netmask is 255.255.255.0, then it is using the first three octets (24 bits) to
+specify the network number. If the netmask is 255.255.255.240, it would be using
+the first 28 bits. Prefixes longer than 24 bits are commonly used by DSL and
+cable-based Internet Service Providers (ISPs). In this example (PREFIX=24), the
+netmask is 255.255.255.0. Adjust the <envar>PREFIX</envar> variable according to
+your specific subnet.</para>
<beginpage/>