I had created azure VM with windows 2019 server gen1.
Then enabled Hyper V feature and provisioned a Ubuntu Hyper-V machine
When I try to turned ON the internet is not connected in that machine. It says 'Activation of network connection failed' error.
My host machine Network and sharing center looks as below
Adapter settings shown as below
The adapters names are as below
Network adapter settings in my Guest Hyper-V machine was as below
But I believe one more adapter is not been listed.
What's wrong here? Why the internet connection is not working in the Hyper-V machine?
In Windows 10 OS we get Default Switch in the Virtual Switch settings by default. In 2019 Windows Sever OS this kind of thing is not there.
When it comes to networking in nested virtualization we need to set-up Hyper-V networking to allow internet access on the nested VMs for that We need to create a HyperV internal switch and we need to set nat rule and gateway for that switch.
Please check this for reference How to Setup Nested Virtualization for Azure VM/VHD and try to setup.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.