Conﬁguring IPv6 on Server Operating Systems 359
16 bytes from 3ffe:80f0:1:1:201:2ff:fee8:efa1, icmp_seq=2 hlim=255 time=0.362 ms
16 bytes from 3ffe:80f0:1:1:201:2ff:fee8:efa1, icmp_seq=3 hlim=255 time=0.483 ms
16 bytes from 3ffe:80f0:1:1:201:2ff:fee8:efa1, icmp_seq=4 hlim=255 time=0.352 ms
--- 3ffe:80f0:1:1:201:2ff:fee8:efa1 ping6 statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.352/0.407/0.483 ms
21.2.4 DNS C
Conﬁguration for DNS is still located in /etc/resolv.conf, with the added
bonus of using IPv6 addresses instead of IPv4 address if need be. The
following is the conﬁguration for /etc/resolv.conf to make the request
over IPv6 for the primary DNS server and over IPv4 for the secondary
If any of the preceding conﬁgurations and/or tests do not work for you,
here are some things to check.
• Make sure that all IPv6 IP addresses have colons (:) and not
• Make sure the addresses we are using for conﬁguration and
ping testing are correct.
• Make sure the network you’re connected to is IPv6-capable.
21.3 Conﬁguring Solaris 8 for IPv6
This section provides step-by-step instructions for conﬁguring IPv6 on the
Solaris 8 operating system. Here is what you’ll need for this project.
This section is adapted from a document written by Robert C. Zilbauer Jr., © Zama
360 Part Three • IPv6 Practice
• A platform capable of supporting Solaris 8. A Sun Sparc-based
system would work quite well. Also, most modern Intel or
Intel-compatible systems will ﬁt the bill. I’d recommend at least
1.5GHz of disk space (for a comfortable OS install plus any
third-party niceties you may want) and at least 128MB of RAM.
Of course, in the case of disk space and RAM, more is always
• Network information such as gateway address, netmask, and
the IPv6 address assigned to your new system (if a static
address is desired), and so forth.
• Sun Solaris 8, available for download from Sun Microsystems
for free (http://www.sun.com/software/solaris/binaries/
get.html), or can be purchased for a media fee of $75 (as of
• Solaris 8 system correctly conﬁgured for use with IPv4.
At this point, we’ll assume you have Solaris 8 installed, you chose to
enable the IPv6 stack during the OS installation, and your IPv4 network
connectivity is conﬁgured and working.
The ﬁrst thing you’ll need to decide is how you want your IPv6 address
deﬁned. You have two choices: You can either have it automatically con-
ﬁgured via the Neighbor Discovery protocol or you can deﬁne your IPv6
address statically. We’ll describe the automatic conﬁguration method ﬁrst,
since that’s the easiest.
On the Solaris side of things, this is the easiest way to conﬁgure your
IPv6 address. Of course, this presupposes that there’s a router on your
network running the Neighbor Discovery protocol and advertising the
correct IPv6 address preﬁx. Assuming you have such a beast available,
automatic conﬁguration of your IP address is as simple as using the touch
You’ll need to know the name of the interface over which you want to
use IPv6. The primary interface on a Sun machine is often hme0. On an
Intel-based machine it is often elxl0. However, if you don’t know, you can
usually use the ifconﬁg -a command to check. The output of that command
will look something like this.