JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: IP Services     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

Part I TCP/IP Administration

1.  Planning an IPv4 Addressing Scheme (Tasks)

2.  Planning an IPv6 Addressing Scheme (Overview)

3.  Planning an IPv6 Network (Tasks)

4.  Configuring TCP/IP Network Services and IPv4 Addressing (Tasks)

5.  Enabling IPv6 on a Network (Tasks)

Configuring an IPv6 Interface

Enabling IPv6 on an Interface (Task Map)

How to Enable an IPv6 Interface for the Current Session

How to Turn Off IPv6 Address Autoconfiguration

Configuring an IPv6 Router

IPv6 Router Configuration (Task Map)

How to Configure an IPv6-Enabled Router

Modifying an IPv6 Interface Configuration for Hosts and Servers

Modifying an IPv6 Interface Configuration (Task Map)

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

6.  Administering a TCP/IP Network (Tasks)

7.  Configuring IP Tunnels

8.  Troubleshooting Network Problems (Tasks)

9.  TCP/IP and IPv4 in Depth (Reference)

10.  IPv6 in Depth (Reference)

Part II DHCP

11.  About DHCP (Overview)

12.  Planning for DHCP Service (Tasks)

13.  Configuring the DHCP Service (Tasks)

14.  Administering DHCP (Tasks)

15.  Configuring and Administering the DHCP Client

16.  Troubleshooting DHCP (Reference)

17.  DHCP Commands and Files (Reference)

Part III IP Security

18.  IP Security Architecture (Overview)

19.  Configuring IPsec (Tasks)

20.  IP Security Architecture (Reference)

21.  Internet Key Exchange (Overview)

22.  Configuring IKE (Tasks)

23.  Internet Key Exchange (Reference)

24.  IP Filter in Oracle Solaris (Overview)

25.   IP Filter (Tasks)

Part IV Networking Performance

26.  Integrated Load Balancer Overview

27.  Configuration of Integrated Load Balancer Tasks

28.  Virtual Router Redundancy Protocol (Overview)

29.  VRRP Configuration (Tasks)

30.  Implementing Congestion Control

Part V IP Quality of Service (IPQoS)

31.  Introducing IPQoS (Overview)

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

33.  Creating the IPQoS Configuration File (Tasks)

34.  Starting and Maintaining IPQoS (Tasks)

35.  Using Flow Accounting and Statistics Gathering (Tasks)

36.  IPQoS in Detail (Reference)

Glossary

Index

Configuring an IPv6 Interface

The initial step in IPv6 configuration is enabling IPv6 on an interface. You can enable IPv6 support during the Oracle Solaris installation process or by configuring IPv6 on the interfaces of an installed system.

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

This section describes how to enable IPv6 on the interfaces of an installed system.

Enabling IPv6 on an Interface (Task Map)

The following table lists different tasks for configuring the IPv6 interfaces. The table includes a description of what each task accomplishes and the section in the current documentation where the specific steps to perform the task are detailed.

Task
Description
For Instructions
Enable IPv6 on an interface on a system that has already been installed with Oracle Solaris.
Use this task for enabling IPv6 on an interface after Oracle Solaris has been installed.
Turn off IPv6 address autoconfiguration.
Use this task if you need to manually configure the interface ID portion of the IPv6 address.

How to Enable an IPv6 Interface for the Current Session

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. 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.

Before You Begin

Complete the planning tasks for the IPv6 network, such as upgrading hardware and software, and preparing an addressing plan. For more information, see IPv6 Planning (Task Maps).

  1. Enable IPv6 on an interface.
    # ipadm create-addr -T addrconf addrobj

    where addrobj is the IP address identifier that uses the naming convention interface/user-defined-string, such as bge0/v6addr.

    Use the same command syntax to add more IPv6 addresses. Make sure that for each additional IPv6 address, you use a different addrobj value. For example:

    # ipadm create-addr -T static ipv6-address addrobj
  2. Start the IPv6 daemonin.ndpd.
    # /usr/lib/inet/in.ndpd

    Note - You can display the status of a node's IPv6-enabled interfaces by using the ipadm show-addr command.


  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.

Example 5-1 Enabling an IPv6 Interface After Installation

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

# ipadm show-addr
ADDROBJ   TYPE     STATE   ADDR
lo0/v4    static   ok      127.0.0.1/8
bge0/v4   static   ok      172.16.27.74/24

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

# ipadm create-addr -T addrconf bge0/v6
# ipadm create-addr -T static -a 2001:db8:3c4d:15:203/64 bge0/v6add
# /usr/lib/inet/in.ndpd
# ipadm show-addr
ADDROBJ      TYPE       STATE   ADDR
lo0/v4       static     ok      127.0.0.1/8
bge0/v4      static     ok      172.16.27.74/24
bge0/v6      addrconf   ok      fe80::203:baff:fe13:14e1/10
lo0/v6       static     ok      ::1/128
bge0/v6add   static     ok      2001:db8:3c4d:15:203/64

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

The example shows the status of the system's interface before and after bge0becomes IPv6-enabled. Note that the output indicates that only a link-local address was configured for bge0, fe80::203:baff:fe13:14e1/10. This address indicates that as of yet no router on the node's local link advertises a site prefix.

After IPv6 is enabled, you can use the ipadm show-addr command to display both IPv4 and IPv6 addresses for all interfaces on a system.

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