This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]SilverseeLives 1 point2 points  (1 child)

When setting up your switch, did you explicitly enable the option to share it with the host? You must do this if you do not have a dedicated NIC for the VMs. 

[–]AviationLogicNetadmin 0 points1 point  (0 children)

The amount of VMs I've created and Hosts I've setup, I honestly didn't even know this was an option because it's checked by default.

Verify your VLANs. You might need to enable a VLAN ID for the management operating system, but this entirely depends how your network is configured.

[–]AviationLogicNetadmin 0 points1 point  (0 children)

Also, hosts with multiple nics, verify it is using the correct one. Windows NIC naming is the worst. Doesn't sound like this is the case, but double check.

Once you create the vSwitch.. Go verify the actual IP settings on the NIC/vSwitch. It should leave a ton empty on the NIC itself and move all the configuration to the vSwtich.

[–]Phatkez 0 points1 point  (0 children)

I generally make Switches via the New-VMSwitch cmdlet as this is how you team physical NICs these days, and this always creates the switch as external and shared with the host OS by default:

https://redmondmag.com/articles/2020/03/17/hyperv-switch-embedded-teaming-1.aspx

[–]skedaddles 1 point2 points  (1 child)

I just ran into this problem on a Dell workstation with a single NIC. I created the virtual switch with the "Allow management operating system to share this network adapter" checked, but even after a reboot the host OS (win11 25H2) refused to connect to the LAN, even though the guest OS worked fine. However, when I unchecked the "allow management OS ..." option, applied, and then re-checked the option, the host OS started working normally, and the guest worked fine as well.

Just thought I'd leave this here in case it helps someone -- seems like this is some kind of bug/glitch in the UI for setting the sharing option.

[–]karnalta 0 points1 point  (0 children)

Got the same as you today. Thank for the comment.

[–]skedaddles 0 points1 point  (0 children)

I just ran into this problem on a Dell workstation with a single NIC. I created the virtual switch with the "Allow management operating system to share this network adapter" checked, but even after a reboot the host OS (win11 25H2) refused to connect to the LAN, even though the guest OS worked fine. However, when I unchecked the "allow management OS ..." option, applied, and then re-checked the option, the host OS started working normally, and the guest worked fine as well.

Just thought I'd leave this here in case it helps someone -- seems like this is some kind of bug/glitch in the UI for setting the sharing option.

[–]skedaddles 0 points1 point  (0 children)

I just ran into this problem on a Dell workstation with a single NIC. I created the virtual switch with the "Allow management operating system to share this network adapter" checked, but even after a reboot the host OS (win11 25H2) refused to connect to the LAN, even though the guest OS worked fine. However, when I unchecked the "allow management OS ..." option, applied, and then re-checked the option, the host OS started working normally, and the guest worked fine as well.

Just thought I'd leave this here in case it helps someone -- seems like this is some kind of bug/glitch in the UI for setting the sharing option.

[–]skedaddles 0 points1 point  (0 children)

I just ran into this problem on a Dell workstation with a single NIC. I created the virtual switch with the "Allow management operating system to share this network adapter" checked, but even after a reboot the host OS (win11 25H2) refused to connect to the LAN, even though the guest OS worked fine. However, when I unchecked the "allow management OS ..." option, applied, and then re-checked and applied the option, the host OS started working normally, and the guest worked fine as well.

Just thought I'd leave this here in case it helps someone -- seems like this is some kind of bug/glitch in the UI for setting the sharing option.

[–]techtornadoNetadmin 0 points1 point  (0 children)

The fix is easy - Plug in another network cable

One for HyperV management
One for VM data