Previously, I have built a virtual computer lab on my Win7 laptop, using VMworkstation. Virtual machines were Oracle Linux and Win Server 2003. I set them all up with fixed IP addresses and using NAT to communicate with the outside world. My need for communication outside of the virtual net is for the virtual servers to be able to pull updates (mostly yum) from vendor sites, and also for client processes running on the host OS to communicate with server processes on the virtual machines.
Doing this with VMworkstation was quite easy. VMware created a net adapter on the host os, at 192.168.160.1. I gave the virtual servers addresses at 192.168.160.101 to 199, specified NAT, and everything seemed to 'just work'.
When I installed VB (on a different laptop, one that hasn't yet seen VMware), it created a net adapter of 192.254.57.101. I changed the '101' to simply, 1. Then I created a virtual machine using Oracle Linux. Again, I specified NAT and a fixed IP address of 192.254.57.101. (remember, the adapter on the host OS is now at 192.254.57.1). At this point, my very first test of a new machine has been to use Firefox to connect to the web, eventually going to Oracle's public yum server, but in this case I get 'server not found ... cannot find the server at google.com, etc etc.
ifconfig on the guest confirms the IP address I thought I had assigned it ... 192.254.57.101. A ping of the adapter address 192.254.57.1 returns 'host unreachable.
On the host os, a ping of the adapter address (192.254.57.1) returns 'request timed out'.
Some of the reading I've done so far seems to suggest that VB's definition/implementation of the various network configs (NAT, bridged, host-only, etc) has some fundamental differences from the same on VMware. So I am at a loss as to how to proceed at this point, other than shelling out $200 for VMworkstation.
Related quesiton ... I hadn't done an ipconfig on the host os prior to installing VB, but when I did as a part of working the above issue, I see that after the listing for the VB adapter (Ethernet adapter VirtualBox Host-Only Network:), there are four additional adapters, as follows:
Code: Select all
Tunnel adapter isatap.{D3A1FFA7-BF1E-4938-B01A-B8DFE49B3F7F}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.hsd1.tn.comcast.net.:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : hsd1.tn.comcast.net.
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{A62D8874-4A7C-4DDC-B640-2FF68B3255B9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
C:\Users\ed>ping 162.254.57.1
Pinging 162.254.57.1 with 32 bytes of data:
Request timed out.