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 port binding (1037675)

  • 7 Ratings

Symptoms

  • Virtual machines that are deployed from a virtual machine or template using 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 gets mapped with dvportgroup after deployment using customization is complete.

Resolution

Template deployment through 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 in to 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 drop down, 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.

Note: Always use the default port binding (static) while deploying template through 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

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