Skip to content

Hyper-V - NATAdapter & Network Adapter #525

@APT-410

Description

@APT-410
  • Operating System Version: Windows 10 Professional
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): Hyper-V
  • Vagrant Version (if applicable): 2.2.10

Description of the issue:

When building with the default switch option 1, during in the CMD prompt, all the switches use the NATswitch still at the end of the build instead of the default switch. I initially tested with option 2 NATSwitch and seemed to hang with WINRM in the build.

There is a second part as well, this is with a full build with option 1 for the default adapter. This error occurs after the shutdown of logger, after the machine is shutdown logger no longer has the IP 192.168.38.103 and is unable to communicate with the other machines, everything works prior to this. I tried to remove the NATAdapter and NATSwitch from logger, then in the GUI for hyper-v add the NATSwitch to the machine but doesn't seem to work.

IPs assigned immediately after deployment: 
PS C:\WINDOWS\system32> Get-VMNetworkAdapter -VMName *

Name            IsManagementOs VMName                SwitchName     MacAddress   Status IPAddresses                               
----            -------------- ------                ----------     ----------   ------ -----------                               
NATAdapter      False          wef.windomain.local   NATSwitch      00155DAB3524 {Ok}   {192.168.38.103}                          
Network Adapter False          logger                NATSwitch      00155DAB3528 {Ok}   {192.168.38.105, fe80::215:5dff:feab:3528}
NATAdapter      False          win10.windomain.local NATSwitch      00155DAB3526 {Ok}   {192.168.38.104}                                                              
NATAdapter      False          dc.windomain.local    NATSwitch      00155DAB3522 {Ok}   {192.168.38.102}  

IP assigned after reboot of logger:
Name            IsManagementOs VMName                SwitchName     MacAddress   Status IPAddresses     
----            -------------- ------                ----------     ----------   ------ -----------     
NATAdapter      False          wef.windomain.local   NATSwitch      00155DAB3524 {Ok}   {192.168.38.103}
Network Adapter False          logger                NATSwitch      00155DAB3528 {Ok}   {}              
NATAdapter      False          win10.windomain.local NATSwitch      00155DAB3526 {Ok}   {192.168.38.104}      
NATAdapter      False          dc.windomain.local    NATSwitch      00155DAB3522 {Ok}   {192.168.38.102}

### Link to Gist Containing Build Logs:
I didn't happen to see the build log generated, after build. I can add those generated during the build in CMD here tomorrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions