For NSX Edge transport nodes configured with an IPv6 address, you can change the IP address.

To change the IP address of an NSX Edge transport node configured with an IPv6 address, you must first use the NSX CLI to delete the configured IP addresses before reconfiguring the new IP addresses.

Prerequisites

This procedure is for NSX Edge transport nodes with an existing IPv6 address.

Procedure

  1. SSH into the NSX CLI.
  2. Run the CLI command clear interface <interface name> ip to delete all the IP addresses configured on the NSX Edge node.
  3. Configure the new IP addresses with one of the following methods:
    Method Procedure
    API
    Note: The API does not allow configuring IPv4 addresses.
    1. Enter the API PUT https://<nsx-manager>/api/v1/node/interfaces<interface-id>.
    2. For the ip_addresses and prefix_length body parameters, change the corresponding values.
    3. If necessary, change the existing value of the body parameter default_gateway_addresses.
    4. Send the API command.
    CLI
    1. SSH into the NSX CLI.
    2. Run the CLI command set interface command:
      nsx edge> set interface <interface name> ip <IPv4 or IPv6 address> gateway <gateway IP address> plane mgmt
  4. In the NSX CLI, run the command service nsx-proxy restart to restart nsx-proxy.