Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next
Chapter 2

Administering IPv6 (Tasks)

This chapter contains procedures for configuring IPv6 on hosts and routers. The text includes the following major topics:

For More Information

Go to

Overview of IPv6

Chapter 1, IPv6 (Overview)

Detailed conceptual information that is related to the IPv6 tasks in this chapter

Chapter 3, IPv6 Files and Commands (Reference)

Details about making the transition from IPv4 to IPv6

Chapter 4, Making the Transition From IPv4 to IPv6 (Reference)

Enabling IPv6 Nodes

This section provides procedures that you might need to configure IPv6 nodes on your network.


Note - The term node in this context refers either to a Solaris server or client host.


Enabling IPv6 Nodes Task Map

Table 2-1 Enabling IPv6 Nodes Task Map

Task

Description

For Instructions

Enable IPv6 on a node

Involves touching hostname6.interface file, displaying addresses, and entering the addresses in the /etc/inet/ipnodes file. See the note that follows this table.

How to Enable IPv6 on a Node

Configure a Solaris IPv6 router

Involves adding entries to the indp.conf file.

How to Configure a Solaris IPv6 Router

Configure a 6to4 router

Involves configuring a 6to4 interface in the /etc/hostname6.ip.6to4tun0 file

How to Configure a 6to4 Router

Add IPv6 addresses to NIS and NIS+

Involves adding entries to the /etc/ipnodes file.

How to Add IPv6 Addresses to NIS and NIS+

Add IPv6 addresses to DNS

Involves adding AAAA records to the DNS zone and reverse zone file.

How to Add IPv6 Addresses to DNS


Note - You can enable IPv6 on a system when you install the Solaris software. If you answered yes to enable IPv6 during the installation process, you can omit the following procedures to enable IPv6.


ProcedureHow to Enable IPv6 on a Node

  1. Become superuser on the system where you want to enable IPv6.

  2. Type the following for each interface.

    # touch /etc/hostname6.interface

    Interface

    Interface name, such as le0, le1.

  3. Reboot the node


    Note - The reboot process sends router discovery packets. The router responds with a prefix. The response enables the node to configure the interfaces with an IPv6 address. Rebooting also restarts key network daemons in IPv6 mode.


  4. Display the IPv6 addresses of all interfaces.

    # ifconfig -a6

    To show both IPv4 and IPv6 addresses, just use the -a option.

  5. Add the IPv6 address to the appropriate name service as follows:

ProcedureHow to Configure a Solaris IPv6 Router

  1. Become superuser on the system to become the router.

  2. Edit the file /etc/inet/ndpd.conf with subnet prefixes by adding one or more of the following entries.

    See the in.ndpd(1M) man page for a list of variables and allowable values. For more information about the ndpd.conf file, see the ndpd.conf(4) man page.

    1. Add entries that specify router behavior for all interfaces.

      ifdefault variable value

    2. Add entries that specify the default behavior of prefix advertisement.

      prefixdefault variable value

    3. Add sets per interface parameter entries.

      if interface variable value

    4. Add advertisements for each entry for interface prefix information.

      prefix prefix/length interface variable value

  3. Reboot the system.


Note - Neighbor discovery (in.ndpd) relays the subnet address prefixes of the hosts to the hosts. Also, the next generation RIP routing protocol (in.ripngd) runs automatically.


Example--ndpd.conf Router Configuration File

# Send router advertisements out all NICs
ifdefault AdvSendAdvertisements on
# Advertise a global prefix and a 
# site local prefix on three interfaces.
# 0x9255 = 146.85
prefix 2:0:0:9255::0/64	 	hme0
prefix fec0:0:0:9255::0/64 	hme0
# 0x9256 = 146.86
prefix 2:0:0:9256::0/64 	hme1
prefix fec0:0:0:9256::0/64	hme1
# 0x9259 = 146.89
prefix 2:0:0:9259::0/64		hme2
prefix fec0:0:0:9259::0/64	hme2

Previous Previous     Contents     Index     Next Next
 

Updated: 2003-09-30, 03:48