Avatar of cnl83
cnl83
Flag for United States of America asked on

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.
VirtualizationWindows Server 2012Hyper-VStorage Hardware

Avatar of undefined
Last Comment
cnl83

8/22/2022 - Mon
David Johnson, CD

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.

cnl83

ASKER

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.

cnl83

ASKER

Its set to external. 

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
cnl83

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.