To add the IPv6 subnet, log in as root and use the following command syntax:
srvctl modify network -netnum network_number –subnet ipv6_subnet/
ipv6_prefix_length[/interface] -nettype autoconfig
In the preceding syntax:
-
network_number is the number of the network
-
ipv6_subnet is the subnet of the IPv6 address to which you are changing (for example, 2001:db8:122:344:c0:2:2100::)
-
ipv6_prefix_length is the prefix specifying the IPv6 network address (for example, 64)
For example, the following command modifies network 3 by adding an IPv6 subnet, 2001:db8:122:344:c0:2:2100::, and the prefix length 64:
# srvctl modify network -netnum 3 -subnet
2001:db8:122:344:c0:2:2100::/64 -nettype autoconfig