|
@@ -45,18 +45,16 @@ The following command creates a sample ifconfig.eth0 file:</para>
|
|
|
|
|
|
<para><screen><userinput>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</userinput>
|
|
<para><screen><userinput>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</userinput>
|
|
ONBOOT=yes
|
|
ONBOOT=yes
|
|
-DEVICE=eth0
|
|
|
|
IP=192.168.1.1
|
|
IP=192.168.1.1
|
|
NETMASK=255.255.255.0
|
|
NETMASK=255.255.255.0
|
|
BROADCAST=192.168.1.255
|
|
BROADCAST=192.168.1.255
|
|
<userinput>EOF</userinput></screen></para>
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
|
|
<para>Of course, the values of those variables have to be changed
|
|
<para>Of course, the values of those variables have to be changed
|
|
-in every file to match the proper setup. Usually NETMASK and BROADCAST
|
|
|
|
-will remain the same, just the DEVICE and IP variables will change per
|
|
|
|
-network interface. If the ONBOOT variable is set to yes, the network script
|
|
|
|
-will bring it up during boot up of the system. If set to anything else but
|
|
|
|
-yes it will be ignored by the network script and thus not brought up.</para>
|
|
|
|
|
|
+in every file to match the proper setup. If the ONBOOT variable is set
|
|
|
|
+to yes, the network script will bring it up during boot up of the system.
|
|
|
|
+If set to anything else but yes it will be ignored by the network script
|
|
|
|
+and thus not brought up.</para>
|
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|