aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/network.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/network.xml')
-rw-r--r--chapter07/network.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index b118be11d..609cf9185 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -18,10 +18,10 @@ runlevel directories
this machine. This is done by adding the proper values to the
/etc/sysconfig/network file by running the following:</para>
-<para><screen><userinput>cat &gt;&gt; /etc/sysconfig/network &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt;&gt; /etc/sysconfig/network &lt;&lt; "EOF"</userinput>
GATEWAY=192.168.1.2
GATEWAY_IF=eth0
-<userinput>EOF</userinput></screen></para>
+<userinput>EOF</userinput></screen>
<para>The values for GATEWAY and GATEWAY_IF need to be changed to match
your network setup. GATEWAY contains the IP address of the default
@@ -45,12 +45,12 @@ update the network_devices by providing it with the new path.</para>
<para>Now, new files are created in that directory containing the following.
The following command creates a sample ifconfig.eth0 file:</para>
-<para><screen><userinput>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</userinput>
ONBOOT=yes
IP=192.168.1.1
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
-<userinput>EOF</userinput></screen></para>
+<userinput>EOF</userinput></screen>
<para>Of course, the values of those variables have to be changed
in every file to match the proper setup. If the ONBOOT variable is set