Tag Archives: srvctl modify network

Change dynamic IPV4 to IPV6 address in RAC Environment

Change dynamic IPV4 to IPV6 address in RAC Environment

Following are the steps to change dynamic IPv4 to IPv6 address

1. Add an IPV6 subnet address with root user.

srvctl modify network -netnum network_number –subnet ipv6_subnet/ipv6_prefix_length[/interface] -nettype autoconfig
-- Example
srvctl modify network -netnum 3 -subnet 2001:db8:122:344:c0:2:2100::/64 -nettype autoconfig

2. Add an IPv6 network resource to OCR.

oifcfg setif -global if_name/subnet:public

3. Start the IPv6 dynamic addresses

srvctl modify network -netnum network_number -iptype both
-- Example
srvctl modify network -netnum 3 -iptype both

4. Change all clients served by the cluster from IPv4 networks and addresses to IPv6 networks and addresses.

5. Turn off the IPv4 part of the dynamic addresses on the cluster

srvctl modify network -iptype ipv6

6. check status

srvctl status scan

Commands used for Transition the network to IPv4, IPv6 or both VIP address

-- for support ipv6
srvctl modify network -iptype ipv6

-- for support both ipv6 or ipv4
srvctl modify network -netnum 3 -iptype both

-- for support ipv4
srvctl modify network -iptype ipv4