Avatar of CtsRutland
 asked on

Setting up test Hyper-v domain - basic network config

I am trying to set up a mini domain using hyper-v guests purely for testing/learning purposes.
I have  Server 2019 & a Windows 10 pro as VMs, currently both on a hyper-v private switch
Hyper-v is running just on Windows 10 on my home PC

I can't get the two guests to communicate at all. The Windows 10 VM does not get an ip address from DHCP on the server.
With manual IPs they can't pin each other

I have DHCP running on my physical router for my home office network, and have created a scope and activated it.

I believe that guests on a private switch should be able to communicate. I must be doing something very stupid that's wrong, but I can't see what it is.

Thanks for any tips! I'm feeling a bit stupid.. I must be missing something obvious.
Windows OSHyper-VNetworking

Avatar of undefined
Last Comment
Philip Elder

8/22/2022 - Mon

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.

Confirm that all VMs are on the same private virtual switch.

VMs on a private virtual switch will have no communication with the host or your physical network.
Philip Elder

What we do is set up a private virtual switch.

All VMs are set up on that vSwitch. The DC is stood up first with ADDS, DNS, and DHCP.

Once the scope is configured in DHCP all other VMs that get stood up will know how to find the DC and other VMs.

We set up a Windows 2008 R2 VM with two virtual NICs. One is hooked to the private vSwitch and the other is hooked to an External vSwitch.

We install RRAS and use that VM as a proxy to get out to the Internet. That way we have a "real" lab setup.

Untangle is a freebie that can be used in the place of Server 2008 R2 RRAS.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy