The IP address of the service interface of Tier-1 GW cannot be changed and error message "Invalid IP address format. IP string provided ##.##.##.##/value: 24. (Error code: 260)" is shown.
search cancel

The IP address of the service interface of Tier-1 GW cannot be changed and error message "Invalid IP address format. IP string provided ##.##.##.##/value: 24. (Error code: 260)" is shown.

book

Article ID: 382598

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • The IP address setting of a Tier-1 service interface change fails with the following error.

  • The same error is recorded in the NSX Manager logs 

/var/log/nsxapi.log
INFO http-nio-127.0.0.1-7440-exec-326 NsxBaseRestController 231206 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Error in API /nsxapi/api/v1/infra/tier-1s/####-####-####-####-####/locale-services/####-####-####-####-####/interfaces/####-####-####-####-#### caused by exception com.vmware.nsx.management.common.ip.utils.InvalidIPFormatException:  {"moduleName":"common-services","errorCode":260,"errorMessage":"Invalid IP address format. IP string provided ##.##.##.##/value: 24."}

  • There is a static route for 0.0.0.0/0 with scope setting on the Tier-1 GW.

Environment

VMware NSX

Resolution

This issue is resolved in VMware NSX 4.2.1.2 available at Broadcom Downloads.
If you are having difficulty finding and downloading software, please review the KB Download Broadcom products and software.
 

Workaround:

Remove the scope setting from the static route or remove the static route setting itself from the Tier-1 GW once and change the IP address again.