aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/network.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/network.xml')
-rw-r--r--chapter07/network.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index cc5f25244..b01da80a1 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -17,28 +17,29 @@
<screen><userinput>cd /etc/sysconfig/network-devices &amp;&amp;
mkdir ifconfig.eth0 &amp;&amp;
cat &gt; ifconfig.eth0/ipv4 &lt;&lt; "EOF"
-ONBOOT=yes
+<literal>ONBOOT=yes
SERVICE=ipv4-static
IP=192.168.1.1
GATEWAY=192.168.1.2
PREFIX=24
-BROADCAST=192.168.1.255
+BROADCAST=192.168.1.255</literal>
EOF</userinput></screen>
</sect2>
<sect2 id="resolv.conf">
-<title>Creating the /etc/resolv.conf file</title>
+<title>Creating the /etc/resolv.conf File</title>
<para>Create the file by running the following:</para>
<screen><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
-# Begin /etc/resolv.conf
+<literal># Begin /etc/resolv.conf
domain {<replaceable>[Your Domain Name]</replaceable>}
-nameserver <replaceable>[IP address of your nameserver]</replaceable>
+nameserver <replaceable>[IP address of your primary nameserver]</replaceable>
+nameserver <replaceable>[IP address of your secondary nameserver]</replaceable>
-# End /etc/resolv.conf
+# End /etc/resolv.conf</literal>
EOF</userinput></screen>
</sect2>