it needs an external switch configured in hyper-v and have that switch setup in the network settings of the virtual machine. One reason not getting out to the internet is no default gateway set on the operating system's network adapter.
The switch is setup. I have a gateway setup on the main server. I tried to set the vm with the same info and that didn't work either.
Its set to external.