|
@@ -157,17 +157,21 @@ First create the network-scripts directory by running:
|
|
</literallayout></blockquote>
|
|
</literallayout></blockquote>
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
|
+
|
|
Now, create new files in that directory containing the following.
|
|
Now, create new files in that directory containing the following.
|
|
-Example file names are ifcfg-eth0, ifcfg-eth0:3 and ifcfg-eth1:2
|
|
|
|
|
|
+The following creates a sample file ifcfg-eth0:
|
|
</para>
|
|
</para>
|
|
|
|
|
|
<blockquote><literallayout>
|
|
<blockquote><literallayout>
|
|
|
|
|
|
|
|
+<userinput>cat > /etc/sysconfig/network-scripts/ifcfg-eth0
|
|
|
|
+ << EOF</userinput>
|
|
ONBOOT=yes
|
|
ONBOOT=yes
|
|
DEVICE=eth0
|
|
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>
|
|
|
|
|
|
</literallayout></blockquote>
|
|
</literallayout></blockquote>
|
|
|
|
|