This article addresses an issue where non-VMware workloads (such as Hyper-V VMs) connected via an L2 Bridge to an NSX overlay segment fail to receive IP addresses from an external DHCP server (e.g., Infoblox).
1. SSH to the ESXi host of the Edge VM(s): 2. Confirm the DVS Name and dvPort ID: esxcfg-vswitch -l | grep <vm-name> 3. Read the security statistics on this port, noting the "DHCP Block Drop Count": nsxdp-cli swsec get stats --dvs <dvs_name> -p <switchport_ID> | grep -i dhcp DHCPv4 Server Block Drop Count : 56 <------- Confirm that drop count is incrementing.
VMware NSX
The default NSX Segment Security Profile applied to the Edge segments has the DHCP Server Block feature enabled. While this feature allows DHCP requests to reach a relay agent, it identifies legitimate DHCP server responses (DHCPOFFER/DHCPACK) or unicast renewal replies as unauthorized server traffic and drops them at the switch security layer on the Edge.
To resolve this issue, create and apply a custom Segment Security Profile with the DHCP Server Block disabled:
Allow-External-DHCP-Profile).