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


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)


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)



Configuring an IPv6 Router

The first step in configuring IPv6 on a network is configuring IPv6 on a router. Router configuration involves a number of discrete tasks, which are described in this section. You might perform some or all of the tasks, depending on your site requirements.

IPv6 Router Configuration (Task Map)

Perform the next tasks in the following table in order that is shown to configure the IPv6 network. 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.

For Instructions
1. Ensure that you have completed the required prerequisites before you begin IPv6 configuration.
You must complete planning tasks and Oracle Solaris installation with IPv6 enabled interfaces before you configure an IPv6-enabled router.
2. Configure a router.
Define the site prefix for the network.
3. Configure tunnel interfaces on the router.
Set up a manual tunnel or a 6to4 tunnel interface on the router. The local IPv6 network needs tunnels to communicate with other, isolated IPv6 networks.
4. Configure the switches on the network.
If your network configuration includes switches, configure them for IPv6 at this point in the configuration process.
Refer to switch manufacturer's documentation.
5. Configure any hubs on your network.
If your network configuration includes hubs, configure them for IPv6 at this point in the configuration process.
Refer to hub manufacturer's documentation.
6. Configure the network name service for IPv6.
Configure your primary name service (DNS, NIS, or LDAP) to recognize IPv6 addresses after the router is configured for IPv6.
7. (Optional) Modify the addresses for the IPv6-enabled interfaces on hosts and servers.
After IPv6 router configuration, make further modifications on IPv6-enabled hosts and servers.
Configure applications to support IPv6
Different applications might require different actions in order to support IPv6.
Refer to applications' documentation

How to Configure an IPv6-Enabled Router

This procedure assumes that all interfaces of the router were configured for IPv6 during Oracle Solaris installation.

  1. Review which interfaces on the router were configured for IPv6 during installation.
    # ipadm show-addr

    Check the output to ensure that the interfaces that you wanted to configure for IPv6 are now plumbed with link-local addresses. The following sample command output of ipadm show-addr shows the IPv4 and IPv6 addresses that were configured for the router's interfaces.

    lo0/v4    static     ok
    bge0/v4   static     ok
    bge1/v4   static     ok
    bge0/v6   addrconf   ok      fe80::203:baff:fe11:b115/10
    lo0/v6    static     ok      ::1/128
    bge1/v6   addrconf   ok      fe80::203:baff:fe11:b116/10

    The output also shows an IPv6 address object each for the bge0 and bge1 network interfaces, namely, fe80::203:baff:fe11:b115/10 and fe80::203:baff:fe11:b116/10.

  2. Configure IPv6 packet forwarding on all interfaces of the router.
    # ipadm set-prop -p forwarding ipv6
  3. Start the routing daemon.

    The in.ripngd daemon handles IPv6 routing.

    Turn on IPv6 routing in either of the following ways:

    • Use the routeadm command as follows:

      # routeadm -e ipv6-routing -u
    • Use SMF to enable IPv6 routing:

      # svcadm enable ripng:default

    For syntax information on the routeadm command, see the routeadm(1M) man page.

  4. Create the /etc/inet/ndpd.conf file.

    You specify the site prefix to be advertised by the router and other configuration information in /etc/inet/ndpd.conf. This file is read by the in.ndpd daemon, which implements the IPv6 Neighbor Discovery protocol.

    For a list of variables and allowable values, refer to ndpd.conf Configuration File and the ndpd.conf(4)man page.

  5. Type the following text into the /etc/inet/ndpd.conf file:
    ifdefault AdvSendAdvertisements true prefixdefault AdvOnLinkFlag on AdvAutonomousFlag on

    This text tells the in.ndpd daemon to send out router advertisements over all interfaces of the router that are configured for IPv6.

  6. Add additional text to the /etc/inet/ndpd.conf file to configure the site prefix on the various interfaces of the router.

    The text should have the following format:

    prefix global-routing-prefix:subnet ID/64 interface

    The following sample /etc/inet/ndpd.conf file configures the router to advertise the site prefix 2001:0db8:3c4d::/48 over the interfaces bge0 and bge1.

    ifdefault AdvSendAdvertisements true
    prefixdefault AdvOnLinkFlag on AdvAutonomousFlag on
    if bge0 AdvSendAdvertisements 1 prefix 2001:0db8:3c4d:15::0/64 bge0 if bge1 AdvSendAdvertisements 1 prefix 2001:0db8:3c4d:16::0/64 bge1
  7. Reboot the system.

    The IPv6 router begins advertising on the local link any site prefix that is in the ndpd.conf file.

Example 5-2 ipadm show-addr Output Showing IPv6 Interfaces

The following example shows output from the ipadm show-addr command such as you would receive after you finish the Configuring an IPv6 Router procedure.

lo0/v4       static     ok
bge0/v4      static     ok
bge1/v4      static     ok
bge0/v6      addrconf   ok      fe80::203:baff:fe11:b115/10
lo0/v6       static     ok      ::1/128
bge0/v6add   static     ok      2001:db8:3c4d:15:203:baff:fe11:b115/64
bge1/v6      addrconf   ok      fe80::203:baff:fe11:b116/10
bge1/v6add   static     ok      2001:db8:3c4d:16:203:baff:fe11:b116/64

In this example, each interface that was configured for IPv6 now has two addresses. The entry with the address object name such as interface/v6 shows the link-local address for that interface. The entry with the address object name such as interface/v6add shows a global IPv6 address. This address includes the site prefix that you configured in the /etc/ndpd.conf file, in addition to the interface ID. Note that the designation v6add is a randomly defined string. You can define other strings to constitute the second part of the address object name, provided that the interface reflects the interface over which you are creating the IPv6 addresses, for example bge0/mystring, bge0/ipv6addr, and so on.

See Also