I have a Windows 2008 R2 server connected directly to the Internet (no router - Network1).
I've added a Windows 7 virtual machine (VM).
The desired outcome:
I want to give Internet access to the VM.
There are many ways to accomplish this so I'd like to get your opinion.
This is what I see as potential solutions:
1. Add a router - assign the static IP to the router and use NAT to give internal IP addresses to both the Server and VM.
2. Ask the ISP for another static IP and configure it for the VM
3. The server has 2 NICs. Close to the server is a switch that is part of a totally different network (Network2), so would this work?
- connect NIC1 to the switch and get the Internet Access for the server from Network2
- connect NIC2 to the Ethernet drop with the static IP (Network1) and have the VM use that connection.
Network1 and Network2 are totally separate (with different subnets, gateways, etc.).
It is mandatory that VM's traffic to stay in Network1 - so it should NOT go out with Network2's static IPs.
4. Can I enable NAT in Win 2008 so the VM would use an internal IP like 192.168.2.x and go out on the Internet via the server's static IP (software NAT)?
If yes, how do I redirect ports to the VM?
I'd prefer option 3 or 4 if possible since it would not require buying equipment or paying the ISP for an additional IP address.