Symptoms:
• After a virtual machine with DHCP enabled is Bulk migrated or rebooted on an HCX extended network, it is not able to receive an IP address via DHCP.
Cause 1:
• The NSX-T Segment Security Policy default-segment-security-policy has DHCP Server Block enabled by default.
• When HCX is used to extend a network to an vSphere environment that uses NSX-T networking, the default NSX Segment Policy is selected.
Cause 2:
• if the DHCP Server Block & DHCP Client Block are disabled with a custom segment security profile, then the DHCP Server block will block traffic from a DHCP server to a DHCP client.
Note that, this will not block traffic from a DHCP server to a DHCP relay agent.
• DHCP Client Block prevents a VM from acquiring a DHCP IP address by blocking DHCP requests. Even after setting “DHCP Server Block” to Disabled, DFW rules is required to allow the DHCP packets.