Prior to migrating from an IPv4 network to an IPv6 network, review the information in Chapter 2, Planning for Using IPv6 Addresses, in Planning for Network Deployment in Oracle Solaris 11.2 to determine whether you need to perform any additional tasks.
The basic steps for migrating from an IPv4 network to an IPv6 network involves first removing all of the existing IPv4 DHCP and static IP addresses, then reconfiguring new IPv6 addresses, as many as are required. If the new IPv6 interface is on the same link as a router that currently advertises an IPv6 prefix, the interface obtains the link prefix. For more information, see Configuring an IPv6 Router in Configuring an Oracle Solaris 11.2 System as a Router or a Load Balancer .Example 3-6 Migrating IPv4 Addresses to IPv6 Addresses
The following examples show how to migrate your existing IPv4 addresses to IPv6 addresses. The process begins by deleting all of the existing IPv4 DHCP and static IP addresses.
# ipadm show-addr net0/ ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 net0/v4 static ok 172.16.27.74/24 # ipadm delete-addr net0/v4
For instructions, see Removing or Modifying an IP Interface Configuration.
Next, the new IPv6 address is created by using the ipadm create addr command with the appropriate options and arguments.
For example, you can create a link-local and addrconf IPv6 address as follows:
# ipadm create-addr -T addrconf -p stateless=yes,stateful=yes net0/v6a
Create a static IPv6 address without DHCPv6 and an addrconf address as follows:
# ipadm create-addr -T addrconf -p stateless=no,stateful=no net0/v6a # ipadm create-addr -T static -a a::b/64 net0/v6b
Create a static IPv6 address as follows:
# ipadm create-addr -T static -a a::b/64 net0/v6b
Display the new IPv6 configuration by using the ipadm show-addr command.
For additional IPv6 configuration steps (required and optional) that are not included this example, refer to Configuring IPv6 Interfaces.