JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: IP Services     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information


Part I TCP/IP Administration

1.  Planning the Network Deployment

2.  Considerations When Using IPv6 Addresses

3.  Configuring an IPv4 Network

4.  Enabling IPv6 on the Network

Configuring an IPv6 Interface

How to Configure a System For IPv6

How to Turn Off IPv6 Address Autoconfiguration

Configuring an IPv6 Router

How to Configure an IPv6-Enabled Router

Modifying an IPv6 Interface Configuration for Hosts and Servers

Using Temporary Addresses for an Interface

How to Configure a Temporary Address

Configuring an IPv6 Token

How to Configure a User-Specified IPv6 Token

Administering IPv6-Enabled Interfaces on Servers

How to Enable IPv6 on a Server's Interfaces

Configuring Name Service Support for IPv6

How to Add IPv6 Addresses to DNS

How to Display IPv6 Name Service Information

How to Verify That DNS IPv6 PTR Records Are Updated Correctly

How to Display IPv6 Information Through NIS

5.  Administering a TCP/IP Network

6.  Configuring IP Tunnels

7.  Troubleshooting Network Problems

8.  IPv4 Reference

9.  IPv6 Reference


10.  About DHCP (Overview)

11.  Administering the ISC DHCP Service

12.  Configuring and Administering the DHCP Client

13.  DHCP Commands and Files (Reference)

Part III IP Security

14.  IP Security Architecture (Overview)

15.  Configuring IPsec (Tasks)

16.  IP Security Architecture (Reference)

17.  Internet Key Exchange (Overview)

18.  Configuring IKE (Tasks)

19.  Internet Key Exchange (Reference)

20.  IP Filter in Oracle Solaris (Overview)

21.  IP Filter (Tasks)

Part IV Networking Performance

22.  Integrated Load Balancer Overview

23.  Configuration of Integrated Load Balancer (Tasks)

24.  Virtual Router Redundancy Protocol (Overview)

25.  VRRP Configuration (Tasks)

26.  Implementing Congestion Control

Part V IP Quality of Service (IPQoS)

27.  Introducing IPQoS (Overview)

28.  Planning for an IPQoS-Enabled Network (Tasks)

29.  Creating the IPQoS Configuration File (Tasks)

30.  Starting and Maintaining IPQoS (Tasks)

31.  Using Flow Accounting and Statistics Gathering (Tasks)

32.  IPQoS in Detail (Reference)



Configuring an IPv6 Interface

As an initial step to use IPv6 on a network, configure IPv6 on the system's IP interface.

During the Oracle Solaris installation process, you can enable IPv6 on one or more of a system's interfaces. If you enable IPv6 support during installation, then after the installation is completed, the following IPv6-related files and tables are in place:

This section describes how to enable IPv6 on the interfaces after Oracle Solaris installation has been completed.

How to Configure a System For IPv6

Begin your IPv6 configuration process by enabling IPv6 on the interfaces of all systems that will become IPv6 nodes. Initially, the interface obtains its IPv6 address through the autoconfiguration process, as described in IPv6 Address Autoconfiguration in System Administration Guide: IP Services. You then can tailor the node's configuration based on its function in the IPv6 network, either as a host, server, or router.

Note - If the interface is on the same link as a router that currently advertises an IPv6 prefix, the interface obtains that site prefix as part of its autoconfigured addresses. For more information, refer to How to Configure an IPv6-Enabled Router.

The following procedure explains how to enable IPv6 for an interface that was added after an Oracle Solaris installation.

  1. Configure the IP interface by using the appropriate commands.

    Refer to How to Configure an IP Interface.

    Note - When you assign the IP address, make sure to use the correct option to assign an IPv6 address:

    # ipadm create-addr -T addrconf addrobj

    To add more addresses, use the following syntax:

    # ipadm create-addr -T static ipv6-address addrobj

  2. Start the IPv6 daemonin.ndpd.
    # /usr/lib/inet/in.ndpd
  3. (Optional) Create a static IPv6 default route.
    # /usr/sbin/route -p add -inet6 default ipv6-address
  4. (Optional) Create an /etc/inet/ndpd.conf file that defines parameters for interface variables on the node.

    If you need to create temporary addresses for the host's interface, refer to Using Temporary Addresses for an Interface. For details about /etc/inet/ndpd.conf, refer to the ndpd.conf(4) man page and ndpd.conf Configuration File.

  5. (Optional) To display the status of the IP interfaces with their IPv6 configurations, type the following command:
    # ipadm show-addr

Example 4-1 Enabling an IPv6 Interface After Installation

This example shows how to enable IPv6 on the net0 interface. Before you begin, check the status of all interfaces configured on the system.

# ipadm show-addr
lo0/v4    static   ok
net0/v4   static   ok

Only the net0 interface is currently configured for this system. Enable IPv6 on this interface as follows:

# ipadm create-addr -T addrconf net0/v6
# ipadm create-addr -T static -a 2001:db8:3c4d:15:203/64 net0/v6add
# /usr/lib/inet/in.ndpd

# ipadm show-addr
lo0/v4       static     ok
net0/v4      static     ok
net0/v6      addrconf   ok      fe80::203:baff:fe13:14e1/10
lo0/v6       static     ok      ::1/128
net0/v6add   static     ok      2001:db8:3c4d:15:203/64

# route -p add -inet6 default fe80::203:baff:fe13:14e1

Next Steps

How to Turn Off IPv6 Address Autoconfiguration

You normally should use address autoconfiguration to generate the IPv6 addresses for the interfaces of hosts and servers. However, sometimes you might want to turn off address autoconfiguration, especially if you want to manually configure a token, as explained in Configuring an IPv6 Token.

  1. Create an /etc/inet/ndpd.conf file for the node.

    The /etc/inet/ndpd.conf file defines interface variables for the particular node. This file should have the following contents in order to turn off address autoconfiguration for all of the server's interfaces:

    if-variable-name StatelessAddrConf false

    For details about /etc/inet/ndpd.conf, refer to the ndpd.conf(4) man page and ndpd.conf Configuration File.

  2. Update the IPv6 daemon with your changes.
    # pkill -HUP in.ndpd