Share via

No ip address is returned on Hyper-V manager under networking tab

Ron Lawrance 15 Reputation points
2023-03-22T18:46:08.5933333+00:00

In hyper-v manager, the VM shows no ip address under the networking tab

on the hyper-v core host, Get-VMNetworkAdapter returns {} for ipaddress

This prevents guest processing on my backup, since it won't pass the ip.

The VM is a DC, server 2016, and everything works. I tried the steps in this article https://learn.microsoft.com/en-us/troubleshoot/windows-server/virtualization/get-vmnetworkadapter-doesnt-report-ip-addresses

I verified that Key-Value Pair Exchange Integration Service is enabled

Get-WmiObject -Namespace "root\standardcimv2" -Class __Win32Provider | select __NAMESPACE, Name verified that NetTCPIP WMI is running

no invalid class messages from MSFT_NetIPInterfaceAdapter, scrolled a couple screens and I don't see anything invalid classs etc.

How do I fix so Get-VMNetworkAdapter to return the actual ip address of the guest OS, (Winserver 2016)?

thanks!

Ron

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-03-22T22:21:21.4933333+00:00

    You could try patching the host fully, otherwise copy off to removable, clean install it, patch fully, add hyper-v role, import VMs and move on.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    Was this answer helpful?


  2. Anonymous
    2023-03-22T19:21:01.8466667+00:00

    This one may sort it.

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/virtualization/get-vmnetworkadapter-doesnt-report-ip-addresses

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    Was this answer helpful?


  3. Anonymous
    2023-03-22T18:53:54.61+00:00
    Get-VMNetworkAdapter -VMName * | Format-Table -AutoSize 
    
    

    should get all of them on your host assuming they're powered up.

    Was this answer helpful?


Your answer

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