From abfa34b413e5f248e47dd83c95dff71037a3fc50 Mon Sep 17 00:00:00 2001 From: Krejzi Date: Sun, 29 Jun 2014 14:39:33 +0000 Subject: [PATCH] Add IPv6 loopback interface to /etc/hosts. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10593 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/network.xml | 4 ++++ 1 file changed, 4 insertions(+) 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 # Begin /etc/hosts (network card version) 127.0.0.1 localhost +::1 localhost <192.168.0.2> <HOSTNAME.example.org> [alias1] [alias2] ... # End /etc/hosts (network card version) @@ -227,10 +228,13 @@ EOF # Begin /etc/hosts (no network card version) 127.0.0.1 <HOSTNAME.example.org> <HOSTNAME> localhost +::1 localhost # End /etc/hosts (no network card version) EOF + The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents the IPv6 loopback interface. +