Deploy Eflow Failed with error- Failed to acquire IP address for virtual machine

saurabh-3395 101 Reputation points
2023-02-03T14:20:54.6566667+00:00

Hi Team,

I have enabled Hyper-V and I have two internal switch.

1- Default Switch

2- nat

When Running Deploy-Eflow on my VM I am getting below Error.

Failed to acquire IP address for virtual machine

User's image

Can You please let me know why this error is coming as Deploy-Eflow should use Default Switch and switch is already present.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
598 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,272 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Francisco Cabrera 5 Reputation points Microsoft Employee
    2023-02-13T23:46:25.2533333+00:00

    Hi Saurabh,

    Could you please share the following information:

    1. Are you using Windows Client or Server?
    2. If so, could you please share the Win version (winver)?
    3. Did you create the "nat" virtual switch? Is that virtual switch Internal or External?
    4. If the switch is internal, do you have a DHCP server? Do you have a NAT table?
    5. Could you please share the Deploy-Eflow command you're using? Are you using static Ip?

    Thanks,

    Francisco

    1 person found this answer helpful.
    0 comments No comments

  2. QuantumCache 20,366 Reputation points Moderator
    2023-03-04T20:34:37.2466667+00:00

    Hello @Saurabh Shukla,

    Just wanted to follow-up on this issue, please let us know if you were unblocked on this issue? We are happy to assist you on this issue!

    • Few troubleshooting steps involve checking the virtual network adapter is connected to the correct virtual switch? ("nat" internal switch) and the virtual switch is configured correctly and has a DHCP server enabled ?
    • We can also Verify that the DHCP server is running and has available IP addresses to assign to the virtual machine? Try releasing and renewing the IP address of the virtual machine

    ipconfig /release

    ipconfig /renew

    You can also try assigning a static IP address to the virtual machine manually.

    Please comment in the below section if you need further help in this matter, we would be happy to assist you further!!!


    If this answers your query, do click Accept Answer and Yes for this answer as helpful. And, if you have any further query do let us know by commenting in the below section.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.