Changeset 5ba3d1d for chapter07/hosts.xml
- Timestamp:
- 08/08/2004 02:11:27 AM (20 years ago)
- Branches:
- 6.0
- Children:
- 1dc34de7
- Parents:
- ef13657
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/hosts.xml
ref13657 r5ba3d1d 18 18 <secondary>/etc/hosts</secondary></indexterm> 19 19 20 <para>If a network card is to be configured, you have to decide on the21 IP-address, FQDN and possible aliases for use in the <filename>/etc/hosts</filename> file. The22 syntax is:</para>20 <para>If a network card is to be configured, decide on the IP-address, 21 FQDN, and possible aliases for use in the 22 <filename>/etc/hosts</filename> file. The syntax is:</para> 23 23 24 24 <screen><IP address> myhost.example.org aliases</screen> 25 25 26 <para>Unless your computer is to be visible to the Internet (e.g., you have a 27 registered domain and a valid block of assigned IP addresses - most of us don't 28 have this) you should make sure that the IP-address is in the private network 29 IP-address range. Valid ranges are:</para> 26 <para>Unless the computer is to be visible to the Internet (e.g., 27 there is a registered domain and a valid block of assigned IP 28 addresses -- most users do not have this), make sure that the IP 29 address is in the private network IP address range. Valid ranges 30 are:</para> 30 31 31 32 <screen> Class Networks … … 34 35 C 192.168.0.0 through 192.168.255.0</screen> 35 36 36 <para>A valid IP address could be 192.168.1.1. A valid FQDN for this IP could 37 be www.linuxfromscratch.org (not recommended as this is a valid registered domain 38 address and could cause your domain name server problems).</para> 37 <para>A valid IP address could be 192.168.1.1. A valid FQDN for this 38 IP could be www.linuxfromscratch.org (not recommended because this is 39 a valid registered domain address and could cause domain name server 40 issues).</para> 39 41 40 <para>If you aren't going to use a network card, you still need to 41 come up with a FQDN. This is necessary for certain programs to operate 42 correctly.</para> 42 <para>Even if not using a network card, an FQDN is still required. 43 This is necessary for certain programs to operate correctly.</para> 43 44 44 45 <para>If a network card is not going to be configured, create the … … 65 66 EOF</userinput></screen> 66 67 67 <para>Of course, the <replaceable>[192.168.1.1]</replaceable> and <replaceable>[<value of HOSTNAME>.example.org]</replaceable> 68 have to be changed to your liking (or requirements if assigned an IP-address 69 by a network/system administrator and this machine is planned to be connected 70 to an existing network).</para> 68 <para>The <replaceable>[192.168.1.1]</replaceable> and 69 <replaceable>[<value of HOSTNAME>.example.org]</replaceable> 70 values need to be changed for a specific users or to requirements (if 71 assigned an IP address by a network/system administrator and the 72 machine will be connected to an existing network).</para> 71 73 72 74 </sect1> 75
Note:
See TracChangeset
for help on using the changeset viewer.