Ignore:
Timestamp:
03/08/2017 12:47:35 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
ac11646
Parents:
945b760
Message:

Update /etc/hosts in network configuration.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11204 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/networkd.xml

    r945b760 rbd4a1d9  
    238238<literal># Begin /etc/hosts
    239239
    240 127.0.0.1 <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> localhost <replaceable>[alias1] [alias2] ...</replaceable>
    241 ::1       <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> localhost <replaceable>[alias1] [alias2] ...</replaceable>
     240127.0.0.1 localhost
     241127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
     242::1       localhost ip6-localhost ip6-loopback
     243ff02::1   ip6-allnodes
     244ff02::2   ip6-allrouters
    242245
    243246# End /etc/hosts</literal>
     
    245248
    246249     <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents
    247 the IPv6 loopback interface.</para>
     250     the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved
     251     specifically for the FQDN.</para>
    248252
    249253     <para>If using a static address, create the <filename>/etc/hosts</filename>
     
    254258
    255259127.0.0.1 localhost
    256 ::1       localhost
    257 <replaceable>&lt;192.168.0.2&gt;</replaceable> <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2] ...</replaceable>
     260127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
     261<replaceable>&lt;192.168.0.2&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2] ...</replaceable>
     262::1       localhost ip6-localhost ip6-loopback
     263ff02::1   ip6-allnodes
     264ff02::2   ip6-allrouters
    258265
    259266# End /etc/hosts</literal>
     
    261268
    262269     <para>The <replaceable>&lt;192.168.0.2&gt;</replaceable>,
    263      <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable>, and
     270     <replaceable>&lt;FQDN&gt;</replaceable>, and
    264271     <replaceable>&lt;HOSTNAME&gt;</replaceable> values need to be
    265272     changed for specific uses or requirements (if assigned an IP address by a
Note: See TracChangeset for help on using the changeset viewer.