Changeset bd4a1d9 for chapter07/networkd.xml
- Timestamp:
- 03/08/2017 12:47:35 AM (8 years ago)
- 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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ac11646
- Parents:
- 945b760
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/networkd.xml
r945b760 rbd4a1d9 238 238 <literal># Begin /etc/hosts 239 239 240 127.0.0.1 <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> localhost <replaceable>[alias1] [alias2] ...</replaceable> 241 ::1 <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> localhost <replaceable>[alias1] [alias2] ...</replaceable> 240 127.0.0.1 localhost 241 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 242 ::1 localhost ip6-localhost ip6-loopback 243 ff02::1 ip6-allnodes 244 ff02::2 ip6-allrouters 242 245 243 246 # End /etc/hosts</literal> … … 245 248 246 249 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents 247 the IPv6 loopback interface.</para> 250 the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved 251 specifically for the FQDN.</para> 248 252 249 253 <para>If using a static address, create the <filename>/etc/hosts</filename> … … 254 258 255 259 127.0.0.1 localhost 256 ::1 localhost 257 <replaceable><192.168.0.2></replaceable> <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 260 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 261 <replaceable><192.168.0.2></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 262 ::1 localhost ip6-localhost ip6-loopback 263 ff02::1 ip6-allnodes 264 ff02::2 ip6-allrouters 258 265 259 266 # End /etc/hosts</literal> … … 261 268 262 269 <para>The <replaceable><192.168.0.2></replaceable>, 263 <replaceable>< HOSTNAME.example.org></replaceable>, and270 <replaceable><FQDN></replaceable>, and 264 271 <replaceable><HOSTNAME></replaceable> values need to be 265 272 changed for specific uses or requirements (if assigned an IP address by a
Note:
See TracChangeset
for help on using the changeset viewer.