We have web servers running on older hosted dedicated servers that our SP is deprecating and removing support for.
These are 2008 r2 servers and we don't have the source code to some of the older ASP.NET sites - so we can't just migrate the applications to a new OS on a new server - and the SP won't support an image migration of 2008 r2 running directly on the new servers.
We used disk2vhd and are able to bring up the old 2008 r2 images as Hyper-V VMs on the new 2012 r2 servers.
The problem is when we try to access one of those VMs from the internet...
Our SP provides only one static IP address per hosted server... there is no SP DHCP in place that will hand out IP addresses.
I've been reading for days - and have tried LOTS of variations. From what I understand - everyone says this is "easy to do" - just set up an External vswitch and have your VM NIC connect to that - then set up a port forward, etc. ... ... only none of that works - because the VM doesn't get an IP address.
Right now - my best guess is:
- Use an Internal vswitch
- Set up the VM NIC with ??? IP address and ??? subnet mask
- Use netsh to set static routes for ports 80 and 443 from the host IP address to the ??? VM IP address
But I have become totally lost - and none of the configurations I've tried are successful...
Example of one of our hosted server NICs:
- IP: 172.24.16.207
- Sub: 255.255.252.0
- GW: 172.24.16.1
- (Note: this is only the server IP - not the Public IP)
Windows firewalls are turned off on the host servers and the VMs.
If this is even possible... can anyone help me fill in:
- What the vswitch configuration should be?
- What IP addresses and subnet masks for the VM NIC?
- What (if any) netsh commands are necessary?
- Are there any specific roles/features/services (other than Hyper-V of course) that I should/should-not be running on the host servers in order to make this work?
Or else point me in the proper direction for what I am trying to accomplish?