aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-04-12 20:28:56 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-04-12 20:28:56 +0000
commit96d63c48733fb845302f04e7300902099844fd75 (patch)
tree6261d38938762fb1b4ac6cc4ca9f650ad6bb1b4a /chapter07
parent9d2bf097cc89e0ec1da84e937e0f37feef4ec3aa (diff)
Rewrote section explaining IP Addresses.
Thanks Bryan Kadzban and Bruce Dubbs. Resolves Ticket 1663. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7501 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/hosts.xml21
1 files changed, 11 insertions, 10 deletions
diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml
index 8680d011e..0b196cefd 100644
--- a/chapter07/hosts.xml
+++ b/chapter07/hosts.xml
@@ -23,7 +23,7 @@
<secondary>/etc/hosts</secondary></indexterm>
<para>If a network card is to be configured, decide on the IP address,
- FQDN, and possible aliases for use in the
+ fully-qualified domain name (FQDN), and possible aliases for use in the
<filename>/etc/hosts</filename> file. The syntax is:</para>
<screen><literal>&lt;IP address&gt; myhost.example.org aliases</literal></screen>
@@ -34,17 +34,18 @@
address is in the private network IP address range. Valid ranges
are:</para>
-<screen><literal> Class Networks
- A 10.0.0.0
- B 172.16.0.0 through 172.31.0.255
- C 192.168.0.0 through 192.168.255.255</literal></screen>
+<screen><literal>Private Network Address Range Normal Prefix
+10.0.0.1 - 10.255.255.254 8
+172.x.0.1 - 172.x.255.254 16
+192.168.y.1 - 192.168.y.254 24</literal></screen>
- <para>A valid IP address could be 192.168.1.1. A valid FQDN for this
- IP could be www.linuxfromscratch.org (not recommended because this is
- a valid registered domain address and could cause domain name server
- issues).</para>
+ <para>x can be any number in the range 16-31. y can be any number in
+ the range 0-255.</para>
- <para>Even if not using a network card, an FQDN is still required.
+ <para>A valid private IP address could be 192.168.1.1. A valid FQDN for this
+ IP could be lfs.example.org.</para>
+
+ <para>Even if not using a network card, a valid FQDN is still required.
This is necessary for certain programs to operate correctly.</para>
<para>Create the <filename>/etc/hosts</filename> file by running:</para>