Virtual Machine is not getting an IP address properly assigned from DHCP or is reporting an IP conflict
search cancel

Virtual Machine is not getting an IP address properly assigned from DHCP or is reporting an IP conflict

book

Article ID: 430784

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • Virtual machines are unable to obtain a DHCP IP address.
  • The guest operating system indicates a duplicate IP address conflict.
  • The VM receives a DHCP Offer but fails to apply it after sending an ARP broadcast probe.

Environment

  • VMware NSX 4.x
  • VMware vSphere ESXi

Cause

  • Another virtual machine or physical machine may be in a powered-on state, which had been assigned an IP address previously, but is not pingable, not responding to any other traffic, but can send ARP replied
  • A virtual machine requesting DHCP IP address may receive the DHCP Offer with the IP address assignment
  • The VM then sends ARP broadcast probe to determine if the IP address is already being used
  • An ARP response is returned from the ARP probe by an unknown MAC address

Resolution

  • Identify the rogue MAC address from the guest OS logs or a packet capture.
  • Locate the MAC address within the NSX environment:
    • In NSX Manager, navigate to Plan & Troubleshoot > Discovery > MAC Address Table.
    • Search for the rogue MAC address to identify the associated logical port or segment.
  • Examine physical switch MAC address tables if the device is not found within NSX.
  • Power off the conflicting machine or reconfigure it with a unique IP address.