Chapter 21
•
Configuring IPv6 on Server Operating Systems 357
ipv6_ifconfig_xl0=“3ffe:80f0:1:1:201:2ff:
fe00:2113 prefixlen 64” # IPv6 address and netmask
ipv6_defaultrouter=“fe80::204:28ff:febf:
b000%xl0” # IPv6 router address/interface
Step number 2 is to insert any outside (if not using DNS) and local host
information. The /etc/hosts file is still being used for both IPv4/IPv6
host resolution and should look similar to the following (comments noted
witha#).
127.0.0.1 localhost.mydomain.com localhost # IPv4 loopback address
192.168.25.5 myhost.mydomain.com myhost # IPv4 local host address
::1 localhost # IPv6 loopback address 3ffe:80f0:
1:1:201:2ff:fe00:2113
my6host.mydomain.com my6host
# IPv6 local IP address
3ffe:80f0:1:1:201:2ff:fe00:2112
ahost # entry for ...