Ignore:
Timestamp:
03/08/2017 12:47:35 AM (7 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, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
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/network.xml

    r945b760 rbd4a1d9  
    268268
    269269127.0.0.1 localhost
    270 <replaceable>&lt;192.168.1.1&gt;</replaceable> <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
     270127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
     271<replaceable>&lt;192.168.1.1&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
     272::1       localhost ip6-localhost ip6-loopback
     273ff02::1   ip6-allnodes
     274ff02::2   ip6-allrouters
    271275
    272276# End /etc/hosts (network card version)</literal>
    273277EOF</userinput></screen>
    274278
    275      <para>The <replaceable>&lt;192.168.1.1&gt;</replaceable> and
    276      <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable> values need to be
     279     <para>The <replaceable>&lt;192.168.1.1&gt;</replaceable>,
     280     <replaceable>&lt;FQDN&gt;</replaceable>, and
     281     <replaceable>&lt;HOSTNAME&gt;</replaceable> values need to be
    277282     changed for specific uses or requirements (if assigned an IP address by a
    278283     network/system administrator and the machine will be connected to an
     
    285290<literal># Begin /etc/hosts (no network card version)
    286291
    287 127.0.0.1 <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> localhost
     292127.0.0.1 localhost
     293127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
     294::1       localhost ip6-localhost ip6-loopback
     295ff02::1   ip6-allnodes
     296ff02::2   ip6-allrouters
    288297
    289298# End /etc/hosts (no network card version)</literal>
Note: See TracChangeset for help on using the changeset viewer.