I am using a NUC with Windows 10 Pro (build 10.0.19042). Connected to LAN using WiFi. I.e. no cable.
I have downloaded a Windows Server 2019 (trial version).
(In the end I want to do some testing on AD using 2-3 virtual servers)
I then created 2 Hyper-V machines connected to network using the "Internal" of Virtual switches.
Starting up the 2 VM's showed me ip adresses in the 169- and 164-range (>ipconfig /all).
I was incorrectly expecting it to use IP-adresses from DHCP-server on the host.
I then set the IP-address to a fixed address on the VM (in the same range as the host) by doing the following:
Control Panel --> Network and Internet -> Network Connection --> Ethernet (this is the only choise)
Connect using: Microsoft Hyper-V Network Adapter
In the list of items:
--> Internet Protocol Version 4 (TCP/IPv4) --> Properties:
I set all the other parameters to the same as on the Host (subnet mask, default gateway)
I set the DNS servers to fixed addresses (as on the host)
I then reboot the VM's, but when starting up again and checking Network Connection it says
"Unidentified network" on Microsoft Hyper-V Network
What am I missing ?
I would expect to ping between the 3 entities (2 VMs and one Host). Have I misunderstood something ?