Chapter 21
Configuring 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
ONFIGURATION
Configuration 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 configuration for /etc/resolv.conf to make the request
over IPv6 for the primary DNS server and over IPv4 for the secondary
DNS server.
domain mydomain.com
nameserver 3ffe:80f0:1:1:201:2ff:fe00:2112
nameserver 192.168.25.254
21.2.5 TROUBLESHOOTING
If any of the preceding configurations 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
semicolons (;).
Make sure the addresses we are using for configuration and
ping testing are correct.
Make sure the network you’re connected to is IPv6-capable.
21.3 Configuring Solaris 8 for IPv6
This section provides step-by-step instructions for configuring 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
Networks.
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 fit 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
better.
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
this writing).
Solaris 8 system correctly configured 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 configured and working.
The first thing you’ll need to decide is how you want your IPv6 address
defined. You have two choices: You can either have it automatically con-
figured via the Neighbor Discovery protocol or you can define your IPv6
address statically. We’ll describe the automatic configuration method first,
since that’s the easiest.
21.3.1 AUTOCONFIGURATION
On the Solaris side of things, this is the easiest way to configure 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 prefix. Assuming you have such a beast available,
automatic configuration of your IP address is as simple as using the touch
command.
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 ifconfig -a command to check. The output of that command
will look something like this.

Get IPv6, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.