We help IT Professionals succeed at work.

Trying to move a server off prem but virtual machine cannot reach the internet

So im experimenting with a dedicated server that is offsite in attempt to move current server off prem. I purchased one through ionos.com and fired it up. I copied a VHDX hard drive to hyper v and fired that up as well. So far so good.. the Virtual machine has no internet connection. So on the main server I assigned an ip address and also assigned an ip of 192.168.16.2. On the virtual machine I assigned an ip address of 192.168.16.3. They can communicate but the virtual machine cannot reach out to the internet. Im not even sure if thats how its done. I have the same gateway on the virtual machine that was provided by ionos.com. They have no tutorials, and the support is minimal.
Comment
Watch Question

Top Expert 2016

Commented:

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.

Author

Commented:

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.

Author

Commented:

Its set to external. 

Commented:

Don't use IONOS.com for your servers.... horrible customer support. I bailed...