Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Virtual machines lose network connectivity after deploying from template, customizing, and powering on after creation using dynamic portbinding (1037675)

Symptoms

  • Virtual machines that are deployed from a virtual machine or template via customization and Power on this virtual machine after creation on dynamic binding dvportgroup do not have a network connection after boot-up.
  • The hostd log contains entries similar to:

    info 'vm:/vmfs/volumes/4cdc263f-cb60ef1e-d7ca-842b2b04838a/test100/test100.vmx']
    info: Unable to get dvs.portId for ethernet0Unable to get networkName or devName for ethernet0Failed to connect virtual device Ethernet0.
    verbose 'vm:/vmfs/volumes/4cdc263f-cb60ef1e-d7ca-842b2b04838a/test100/test100.vmx'] Auto-answered question Unable to get dvs.portId for ethernet0Unable to get networkName or devName for ethernet0Failed to connect virtual device Ethernet0.
  • If you deploy Virtual machine with dynamic binding on vNetwork Distributed Switch it does gets mapped with dvportgroup after deployment via customisation is complete.

Resolution

Template deployment via customization of a virtual machine with dynamic binding on dvPortgroup is not supported. To restore the connectivity, manually edit the virtual machine settings and map it to appropriate dvSwitch.
 
To manually edit the virtual machine settings and map it to appropriate dvSwitch:
  1. Log into vCenter Server of the ESX host using vSphere Client.
  2. Right-click the deployed virtual machine and choose Edit Settings.
  3. Highlight the network adapter (Network Adapter 1).
  4. Under the Network Connection dropdown, choose the appropriate dvSwitch.
  5. Under device status, ensure that Connected and Connected at power on are selected.
  6. Click OK to apply the changes.

Always use the default port binding (static) while deploying template via customization.

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.

Feedback

  • 4 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)
  • 4 Ratings
Actions
KB: