Share via

Hyper-v inside Hyper-v

Handian Sudianto 7,241 Reputation points
2025-03-30T12:12:13.3666667+00:00

My VM running under Azure Local where Azure Local is Hyper-V based. let call this VM is VM1.

Inside this VM1 install Hyper-V role then i create an VM (let we call VM2), but this VM2 can't connect to the network.

VM1 is working fine, can access to the network.

Anyone know why VM2 can't connect to the network?

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Abiola Akinbade 30,490 Reputation points Volunteer Moderator
2025-03-30T15:15:49.8766667+00:00

Looks like you’re dealing with a nested virtualization issue., There are specific networking constraints that can cause VM2 to be isolated from external networks. This may be what we have to check.

Try these suggestions from similar issues I checked:

Create an Internal Virtual Switch, assign an IP to it and create the NAT network. You can then try to configure the vm2 to use the NAT switch.

If that does no work, you can also test with an ICS on the adapter.

See below for reference:

https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/enable-nested-virtualization?source=recommendations

https://learn.microsoft.com/en-us/answers/questions/68614/on-prem-network-access-to-azure-nested-vm-via-site

You can mark it 'Accept Answer' and 'Upvote' if this helped you

Regards,

Abiola

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.