How to migrate NSX TEPs from an old DHCP server to a new DHCP Server
search cancel

How to migrate NSX TEPs from an old DHCP server to a new DHCP Server

book

Article ID: 416070

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

This article covers a scenario for changing the DHCP server used by NSX Host TEPs.

Environment

VMware NSX

Cause

This is a how-to article.

Resolution

Changing to another DHCP server does NOT require changes in Transport Node Profile; however, the steps should be followed to ensure a smooth transition. 

 

Steps:

1. Migrate the existing  DHCP server to a new DHCP server by following vendor best practices  (I.E., Windows DHCP server migration)

2. Ensure existing TEP MAC addresses are reserved in the new DHCP server. 

3. Before switching DHCP servers, release/renew the host TEP IP addresses manually to provide the maximum IP renew time. 

esxcli network ip interface set -i vmk10 --enabled=false

esxcli network ip interface set -i vmk10 --enabled=true

esxcli network ip interface set -i vmk11 --enabled=false

esxcli network ip interface set -i vmk11 --enabled=true

4. Once the DHCP server switching is completed,  re-run step 3 to ensure there are no issues.