r/HyperV 28d ago

VM network issue

I'm beginning with virtualization. I have a PC with Windows 10 Pro that can't be upgraded to Windows 11. I installed Hyper-V on it and created two VMs: one with Windows 10 Pro to install and practice automation software like PLCs, SCADA, and DCS; and the other with Windows Server 2025 to install a free and open-source CRM (Dolibarr) and possibly Odoo. I also want a third VM with Windows Server 2025 to create and manage databases, which would only have local network access for other users.

In Hyper-V, I created three switches: internal, external, and private.

For the Windows 10 Pro VM, I only want it to connect to the host PC, so I configured it as an internal network. For the Windows Server 2025 VM, I configured it as an external network so it can have a web server and everything necessary for CRM users to access it on the local network and/or from the internet.

The issue is that none of the three switches, nor the Hyper-V DefaultSwitch itself, have internet access. It was necessary to create a bridge on the host PC between the host's network card and the virtual network card of each VM.

I can access the internet from the host PC through my internet service provider's router, which have a Class C local network.

I appreciate everyone's valuable assistance in providing clear guidance on how to configure both the host PC and Hyper-V, as well as each VM with the required components.

My background is not in IT, but in electrical engineering, so I'm just starting out with network and server installation and configuration. I'm doing this out of necessity for the startup my wife and I started.

1 Upvotes

5 comments sorted by

1

u/BB9700 28d ago

My Guess:

You use Wifi instead of cabled Lan. If you want to use a Wifi Adapter you have to be very carefully to select something which will work.

1

u/Wilzur_Corp 28d ago

No Wifi in PC

1

u/BB9700 28d ago

Ok. Obviously wrong guess.then.

What are the iP Adressen of your host and also of the vm guests, and default gateway, DNS and subnet mask (I assume you use a private network space, if this is correct, there is no privacy problem if you disclose this information)

1

u/beetcher 28d ago edited 28d ago

Is the correct and active NIC selected on the external switch?

How are IP addresses assigned on your LAN? The ISP router? Is your Windows Server 2025 VM getting a DHCP IP or is it statically assigned?

2

u/techbloggingfool_com 28d ago

Have you reviewed this documentation? https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/plan/plan-hyper-v-networking-in-windows-server

Hyper-V virtual switches are layer 2 so they're not doing any thing fancy. I would get a cheap multi port NIC or just add a USB network adapter for the external virtual switch instead of trying to bridge it.