I quick installed ubuntu on windows 10 hyper-v, it has a default virtual network adapter along with the virtual switch but it doesn't want to connect to the internet.
Ubuntu – Why can’t I connect ubuntu 19.04 installed on windows 10 Hyper-v to the internet
19.04hyper-vwindows 10
Best Answer
I know this is old but deserves an answer.
Doing this will also give your machine a 192.168 address instead of a 172.17
I am assuming, by default, it will not let you connect to the outside world, unless you choose external. I usually create an internal adapter, apply these settings, give it the IP address range I want through powershell. Then give the vm a static IP address.
Hopefully this helps someone.