mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
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
This commit is contained in:
parent
9d2bf097cc
commit
96d63c4873
@ -39,6 +39,10 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>April 12, 2006</para>
|
<para>April 12, 2006</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[jhuntwork] - Rewrote section explaining IP Addresses.
|
||||||
|
Thanks Bryan Kadzban and Bruce Dubbs. Resolves Ticket 1663.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[jhuntwork] - Adjust some redundant text in Berkeley DB page.</para>
|
<para>[jhuntwork] - Adjust some redundant text in Berkeley DB page.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<secondary>/etc/hosts</secondary></indexterm>
|
<secondary>/etc/hosts</secondary></indexterm>
|
||||||
|
|
||||||
<para>If a network card is to be configured, decide on the IP address,
|
<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>
|
<filename>/etc/hosts</filename> file. The syntax is:</para>
|
||||||
|
|
||||||
<screen><literal><IP address> myhost.example.org aliases</literal></screen>
|
<screen><literal><IP address> myhost.example.org aliases</literal></screen>
|
||||||
@ -34,17 +34,18 @@
|
|||||||
address is in the private network IP address range. Valid ranges
|
address is in the private network IP address range. Valid ranges
|
||||||
are:</para>
|
are:</para>
|
||||||
|
|
||||||
<screen><literal> Class Networks
|
<screen><literal>Private Network Address Range Normal Prefix
|
||||||
A 10.0.0.0
|
10.0.0.1 - 10.255.255.254 8
|
||||||
B 172.16.0.0 through 172.31.0.255
|
172.x.0.1 - 172.x.255.254 16
|
||||||
C 192.168.0.0 through 192.168.255.255</literal></screen>
|
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
|
<para>x can be any number in the range 16-31. y can be any number in
|
||||||
IP could be www.linuxfromscratch.org (not recommended because this is
|
the range 0-255.</para>
|
||||||
a valid registered domain address and could cause domain name server
|
|
||||||
issues).</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>
|
This is necessary for certain programs to operate correctly.</para>
|
||||||
|
|
||||||
<para>Create the <filename>/etc/hosts</filename> file by running:</para>
|
<para>Create the <filename>/etc/hosts</filename> file by running:</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user