Reworded network.xml.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6211 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Archaic 2005-06-28 17:57:34 +00:00
parent 06d30243a1
commit 4aa0d18198

View File

@ -27,23 +27,14 @@ class="directory">/etc/rc.d/rc*.d</filename>).</para>
<para>Which interfaces are brought up and down by the network script <para>Which interfaces are brought up and down by the network script
depends on the files and directories in the <filename depends on the files and directories in the <filename
class="directory">/etc/sysconfig/network-devices</filename> hierarchy. class="directory">/etc/sysconfig/network-devices</filename> hierarchy.
This directory should contain a directory for each interface to be configured, This directory should contain a sub-directory for each interface to be configured,
such as <filename>ifconfig.xyz</filename>, where <quote>xyz</quote> is a such as <filename>ifconfig.xyz</filename>, where <quote>xyz</quote> is a
network interface name. Inside this directory would be files defining network interface name. Inside this directory would be files defining
the attributes to this interface, such as its IP address(es), subnet the attributes to this interface, such as its IP address(es), subnet
masks, and so forth.</para> masks, and so forth.</para>
<!-- -->
<para>If the <filename <para>The following command creates a sample <filename>ipv4</filename> file for
class="directory">/etc/sysconfig/network-devices</filename> directory the <emphasis>eth0</emphasis> device:</para>
is to be renamed or moved, make sure to edit the
<filename>/etc/sysconfig/rc</filename> file and update the
<quote>network_devices</quote> option by providing it with the new
path.</para>
<para>New files are created in this directory. The following
command creates a sample <filename>ipv4</filename> file for the
<emphasis>eth0</emphasis> device:</para>
<screen><userinput>cd /etc/sysconfig/network-devices &amp;&amp; <screen><userinput>cd /etc/sysconfig/network-devices &amp;&amp;
mkdir ifconfig.eth0 &amp;&amp; mkdir ifconfig.eth0 &amp;&amp;