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