diff --git a/chapter07/network.xml b/chapter07/network.xml index 69bc96176..d863bec3e 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -209,6 +209,7 @@ EOF</userinput></screen> <literal># Begin /etc/hosts (network card version) 127.0.0.1 localhost +::1 localhost <replaceable><192.168.0.2></replaceable> <replaceable><HOSTNAME.example.org></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> # End /etc/hosts (network card version)</literal> @@ -227,10 +228,13 @@ EOF</userinput></screen> <literal># Begin /etc/hosts (no network card version) 127.0.0.1 <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> localhost +::1 localhost # End /etc/hosts (no network card version)</literal> EOF</userinput></screen> + <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents the IPv6 loopback interface.</para> + </sect2> </sect1>