Moving a Secondary Private IP Address to a Different VNIC
Move a secondary private IP address to another VNIC in the same subnet.
Use the network vnic assign-private-ip command and required parameters to move a secondary private IP address from one VNIC to another:
oci network vnic assign-private-ip --ip-address IP_address --unassign-if-already-assigned VNIC_OCID --vnic-ip-id destination_VNIC_OCID ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdatePrivateIp operation to move a private IP address from one VNIC to another.