diff options
Diffstat (limited to 'chapter09/networkd.xml')
-rw-r--r-- | chapter09/networkd.xml | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/chapter09/networkd.xml b/chapter09/networkd.xml index 1acc215b9..229b313b1 100644 --- a/chapter09/networkd.xml +++ b/chapter09/networkd.xml @@ -288,6 +288,7 @@ EOF</userinput></screen> <para>Even if not using a network card, a valid FQDN is still required. This is necessary for certain programs, such as MTAs, to operate properly.</para> +<!-- <para>Create the /etc/hosts file using the following command:</para> <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" @@ -301,14 +302,10 @@ ff02::2 ip6-allrouters # End /etc/hosts</literal> EOF</userinput></screen> +--> - <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents - the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved - specifically for the FQDN.</para> - -<!-- - <para>If using a static address, create the <filename>/etc/hosts</filename> - file by running this command instead:</para> + <para>Create the <filename>/etc/hosts</filename> file using the following + command:</para> <screen><userinput>cat > /etc/hosts << "EOF" <literal># Begin /etc/hosts @@ -328,8 +325,14 @@ EOF</userinput></screen> <replaceable><HOSTNAME></replaceable> values need to be changed for specific uses or requirements (if assigned an IP address by a network/system administrator and the machine will be connected to an - existing network). The optional alias name(s) can be omitted.</para> ---> + existing network). The optional alias name(s) can be omitted, and the + <replaceable><192.168.0.2</replaceable> line can be omitted if you + are using a connection configured with DHCP or IPv6 Autoconfiguration.</para> + + <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents + the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved + specifically for the FQDN.</para> + </sect2> </sect1> |