mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 11:49:20 +01:00
Add IPv6 loopback interface to /etc/hosts.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10593 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
abadfc3004
commit
abfa34b413
@ -209,6 +209,7 @@ EOF</userinput></screen>
|
|||||||
<literal># Begin /etc/hosts (network card version)
|
<literal># Begin /etc/hosts (network card version)
|
||||||
|
|
||||||
127.0.0.1 localhost
|
127.0.0.1 localhost
|
||||||
|
::1 localhost
|
||||||
<replaceable><192.168.0.2></replaceable> <replaceable><HOSTNAME.example.org></replaceable> <replaceable>[alias1] [alias2] ...</replaceable>
|
<replaceable><192.168.0.2></replaceable> <replaceable><HOSTNAME.example.org></replaceable> <replaceable>[alias1] [alias2] ...</replaceable>
|
||||||
|
|
||||||
# End /etc/hosts (network card version)</literal>
|
# End /etc/hosts (network card version)</literal>
|
||||||
@ -227,10 +228,13 @@ EOF</userinput></screen>
|
|||||||
<literal># Begin /etc/hosts (no network card version)
|
<literal># Begin /etc/hosts (no network card version)
|
||||||
|
|
||||||
127.0.0.1 <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> localhost
|
127.0.0.1 <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> localhost
|
||||||
|
::1 localhost
|
||||||
|
|
||||||
# End /etc/hosts (no network card version)</literal>
|
# End /etc/hosts (no network card version)</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
|
<para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents the IPv6 loopback interface.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
Loading…
Reference in New Issue
Block a user