You can use the command-line interface (CLI) to change
the gateway address for a cluster.
Perform the following steps to change the cluster gateway
address:
- Issue the svcinfo
lsclusterip command to list the current gateway address
of the cluster.
- Record the current gateway address for future reference.
- Issue the following command
to change an IPv4 cluster gateway address:
svctask chclusterip -gw cluster_gateway_address -port cluster_port
where cluster_gateway_address is
the new gateway address for the cluster. The port parameter
specifies which port (1 or 2) to apply changes to.
- Issue the following command
to change an IPv6 cluster gateway address:
svctask chclusterip -gw_6 cluster_gateway_address -port cluster_port
where cluster_gateway_address is
the new gateway address for the cluster. The port parameter
specifies which port (1 or 2) to apply changes to.