You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my Hyper-V environment we have a vswitch named vSwitch01 and a VMNetworkAdapter (Managementos) named "REDE INTERNA". In this way, the Netadapter obtains the name vEthernet (REDE INTERNA).
I configured this way to be possible to have several VMNetworkAdapter in different ID VLANs, and to give me flexibility, if in the future, I need to add the Hyper-V host to other networks.
However, I believe that my configuration model is causing error in the New-HNSNetwork of the start.ps1 script because it search for netadapter with the name "vEthernet (Ethernet *" And in my case is "vEthernet (REDE INTERNA)".
I receive the following error:
VERBOSE: Result : {"Error":"An adapter was not found. ","ErrorCode":2151350278,"Success":false}
Even removing this criterion I get error:
Failed to find a suitable network adapter, check your network settings.
In my investigation I found that the New-hnsnetwork function call the function Get-vmcomputenativemethods, and this function return the following error:
Add-Type : Cannot add type. The type name 'VmCompute.PrivatePInvoke.NativeMethods' already exists.
The text was updated successfully, but these errors were encountered:
Hi all
In my Hyper-V environment we have a vswitch named vSwitch01 and a VMNetworkAdapter (Managementos) named "REDE INTERNA". In this way, the Netadapter obtains the name vEthernet (REDE INTERNA).
I configured this way to be possible to have several VMNetworkAdapter in different ID VLANs, and to give me flexibility, if in the future, I need to add the Hyper-V host to other networks.
However, I believe that my configuration model is causing error in the New-HNSNetwork of the start.ps1 script because it search for netadapter with the name "vEthernet (Ethernet *" And in my case is "vEthernet (REDE INTERNA)".
I receive the following error:
VERBOSE: Result : {"Error":"An adapter was not found. ","ErrorCode":2151350278,"Success":false}
Even removing this criterion I get error:
Failed to find a suitable network adapter, check your network settings.
In my investigation I found that the New-hnsnetwork function call the function Get-vmcomputenativemethods, and this function return the following error:
Add-Type : Cannot add type. The type name 'VmCompute.PrivatePInvoke.NativeMethods' already exists.
The text was updated successfully, but these errors were encountered: