Ignore:
Timestamp:
Jan 23, 2014, 11:46:09 AM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
4112469
Parents:
05d3e34
Message:

Redo some hosts configuration information regarding systemd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/network/common/hosts.xml

    r05d3e34 r99f8c39  
    2424
    2525  <para>If a network card is to be configured, decide on the IP address,
    26   FQDN, and possible aliases for use in the
     26  fully-qualified domain name (FQDN), and possible aliases for use in the
    2727  <filename>/etc/hosts</filename> file. The syntax is:</para>
    2828
     
    3535  are:</para>
    3636
    37 <screen><literal>  Class Networks
    38   A     10.0.0.0
    39   B     172.16.0.0 through 172.31.0.255
    40   C     192.168.0.0 through 192.168.255.255</literal></screen>
     37<screen><literal>Private Network Address Range       Normal Prefix
     3810.0.0.1 - 10.255.255.254           8
     39172.x.0.1 - 172.x.255.254           16
     40192.168.y.1 - 192.168.y.254         24</literal></screen>
     41
     42  <para>x can be any number in the range 16-31. y can be any number in the
     43  range 0-255.</para>
    4144
    4245  <para>A valid IP address could be 192.168.1.1. A valid FQDN for this
    43   IP could be <uri>www.linuxfromscratch.org</uri> (not recommended
     46  IP could be <uri>www.cross-lfs.org</uri> (not recommended
    4447  because this is a valid registered domain address and could cause
    4548  domain name server issues).</para>
    4649
    47   <para>Even if not using a network card, an FQDN is still required.
     50  <para>Even if not using a network card, a valid FQDN is still required.
    4851  This is necessary for certain programs to operate correctly.</para>
    4952
    50   <para>Create the  <filename>/etc/hosts</filename> file by running:</para>
     53  <para>Create the <filename>/etc/hosts</filename> file by running:</para>
    5154
    5255<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
     
    5457
    5558127.0.0.1 localhost
    56 <replaceable>[192.168.1.1]</replaceable> <replaceable>[&lt;HOSTNAME&gt;.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable>
     59<replaceable>[192.168.1.1]</replaceable> <replaceable>[&lt;HOSTNAME&gt;.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> <replaceable>[alias ...]</replaceable>
    5760
    5861# End /etc/hosts (network card version)</literal>
     
    6366  values need to be changed for specific users or requirements (if
    6467  assigned an IP address by a network/system administrator and the
    65   machine will be connected to an existing network).</para>
    66 
     68  machine will be connected to an existing network). The optional
     69  alias name(s) can be omitted.</para>
    6770
    6871  <para>If a network card is not going to be configured, create the
Note: See TracChangeset for help on using the changeset viewer.