Search the VMware Knowledge Base (KB)
View by Article ID

DHCP relay agents do not function in NSX (2147322)

  • 1 Ratings
Language Editions


When configuring DHCP relay agents on distributed logical router in NSX for vSphere, you experience  these symptoms:
  • Virtual machines configured on Logical Switches where a DHCP relay agent is configured do not obtain IP addresses.
  • The DHCP server does not receive any initial DHCP discovery packets from the relay agent.
  • DHCP discovery packets are dropped in transit due to TTL expiry.


Upgrading to NSX for vSphere 6.2.5 resolves the issue.


Distributed logical router sets an IP TTL (time to live) of 10 for forwarded DHCP requests from relay agents. If your DHCP server is 10 or more hops away, the TTL will expire in transit and the DHCP discovery packets gets dropped.


This issue is resolved in VMware NSX for vSphere 6.2.5, available at VMware Downloads.

To work around this issue if you do not want to upgrade, configure a DHCP server closer (fewer than 10 hops) to the virtual machines requesting addresses and point the DHCP relay to this server. An Edge Services Gateway (ESG) can be configured for this purpose if required.

Additional Information

To be alerted when this article is updated, click Subscribe to Document in the Actions box.

See Also

Language Editions


Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 1 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 1 Ratings