DHCP Config cannot be deleted from Tier-1 Gateway config (Error code: 503115)
search cancel

DHCP Config cannot be deleted from Tier-1 Gateway config (Error code: 503115)

book

Article ID: 430721

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

When attempting to disable the DHCP configuration on an NSX Tier-1 (T1) Gateway or changing the IP Address Management setting to "No Dynamic IP Address Allocation", the operation fails with the following error:

Error: Modification of DHCP config is not allowed for Tier-1 Gateway '<t1-gw01>' when segment with DHCP are connected. (Error code: 503115)

This occurs even if the connected segments have been switched from "DHCP Server" to "DHCP Relay."

Environment

VMware NSX-T Data Center

VMware NSX 

Cause

This issue is due to a validation logic constraint within the NSX T1 Gateway "Guard." The system incorrectly flags segments configured for DHCP Relay as having an active dependency on the T1 DHCP Server configuration.

Resolution

Workaround:

Step 1: Perform a "Clean Sweep" on Segments and T1

  1. Navigate to Networking > Segments.

  2. Identify all segments currently configured with DHCP Relay.

  3. Edit the segment and navigate to Delete DHCP Config.

  4. Save the segment.

  5. Navigate to Networking > Tier-1 Gateways.

  6. Edit the T1 Gateway.

  7. Change the DHCP configuration to No Dynamic IP Address Allocation.

  8. Save the changes. The error 503115 will no longer trigger as the segments are now "clean."

Re-establish DHCP Relay

  1. Return to Networking > Segments.

  2. Re-edit the segments and navigate to Set DHCP Config.

  3. Change the Type back to DHCP Relay and select the appropriate Relay Profile.

  4. Save the segment.