12
1
My Main Rig is a Windows 7 Professional laptop. On this machine is two Virtual Machines, both of which are also Windows 7 Professional. I need these VMs to be able to see each other but I also need them to access to the internet.
Currently they are all connected to the public internet at the hotel I am staying at but I am unable to see the other machines because this is a public network.
What I need to do is create a private network amongst my physical machine and the two virtual machines that reside within it. How can I do that?
I found how to make it think the public network a private network, but not how to create a private network that exists within the machine while still seeing the outside world.
My Google-fu hasn't revealed much - maybe I am using the wrong terms.
UPDATE: I added an additional NIC to both VM's and set them to local. I then started the VMs and tried to create a new network. However I can now see other machines on the hotel network and presumably they can see me (not desired). Can anyone give a detailed explanation of how to set this up or a link to a site that does? I can't be the only person who wants a private internal network on their PC?!
UPDATE2: Found this that describes what I want to do. Will try tomorrow to see if it works - seems I was almost there.
UPDATE3: Seems it didn't work. Added bounty which will be awarded for anyone who can do a step by step guide for getting two virtual machines to communicate. Extra cudos for using MySQL & Apache on the VMs!
This seems the most logical suggestion, I will try this first. – graham.reeds – 2011-06-02T22:49:34.843
Okay, now what? The both VMs are on Loop Back Adaptor but there is no network between the machines. Do I need to set a static IP address for them? – graham.reeds – 2011-06-02T23:20:47.897
Yes, as this virtual network doesn't have a DHCP server. Choose another network segment than that serviced by your router, for example 200.200.200.x rather than 192.168.x.x. – harrymc – 2011-06-03T09:18:50.213
Still not got it working. I assigned the 1st VM 192.168.200.1 and the second VM 192.168.200.2. That didn't work so I also assigned the host to 192.168.200.100. That didn't work. I also disabled ipv6 in case that confused the issue. Still no joy. Imagine, for an instant, I am really really dumb. Explain in simple steps how this should work and how to go about it. – graham.reeds – 2011-06-05T22:20:13.280
Before you ask "What errors did I get" - by not working I mean I can't ping the other VM. – graham.reeds – 2011-06-05T22:22:53.720
Perhaps this article will help. See also the troubleshooting advice by the end of this other article.
– harrymc – 2011-06-06T06:31:15.060Seemed good right up til step 4. Soon as I did that the Host wanted to change the static ip from 192.168.200.100 to 192.168.137.1. I've allowed it for now - need to reconfigure the VM to use 192.168.137.x now. Will do that later when I get back from work. – graham.reeds – 2011-06-06T07:32:52.987
Do you mean that the host & VMs can see each other now ? – harrymc – 2011-06-06T07:43:38.793
Once I had disabled the firewall, which I am not too happy about. – graham.reeds – 2011-06-06T08:36:16.933
The firewall probably doesn't like the new network, but it is parametrable (do that after everything works correctly). – harrymc – 2011-06-06T08:54:01.700
So why did the host want to reconfigure the network from the number I had set it to to something different? It is not the same as the hotel network as that is 192.168.254.x. – graham.reeds – 2011-06-06T09:16:23.373
Was it ICS ? It has this habit. Better to go along with it. – harrymc – 2011-06-06T10:05:23.407
So change my network from 192.168.200.x to 192.168.137.x? Will do. – graham.reeds – 2011-06-06T11:27:41.157
Yes, on the Loopback Adapter. – harrymc – 2011-06-06T11:32:17.770
Okay, I can ping each other and I can ping google.co.uk (.com failed to find but that is due to geolocation redirection I think). I can also ping the name of the machines. – graham.reeds – 2011-06-07T09:47:20.110
Then mission accomplished. – harrymc – 2011-06-07T10:24:51.223
Still need to get the firewalls turned back on. A job for tonight. – graham.reeds – 2011-06-07T12:37:27.257
Well, in the rush to set up the firewall you forgot to accept the answer and assign the bounty. – harrymc – 2011-06-08T18:28:22.603
Well I thought that you accepted the best answer after the completion date and that would assign it. Doesn't seem much point in accepting early in the bounty phase in case a better answer came along later that was more complete. Sorry about that. – graham.reeds – 2011-06-09T11:08:03.583
Just checked the FAQ and it is perfectly clear. Once again my apologies. Can moderators change this? – graham.reeds – 2011-06-09T11:10:47.077
It's too late now, so half of your reps went up in smoke. I have been trying without success to convince the developers that this behavior needs changing. It could have been worse : without at least 2 votes your entire reps would have been lost. – harrymc – 2011-06-09T12:58:02.237
I agree. A decent way would be at the end of the bounty time a grace period of 3 days to allocate the bounty. Then that would allow me (who wasn't online last night due to the hotel internet connection disappearing) to allocate the bounty. – graham.reeds – 2011-06-09T13:29:31.567
You could always float your suggestion on Meta Super User. With enough upvotes it will be accepted and implemented. Drop me a comment if you do.
– harrymc – 2011-06-09T13:38:57.363http://meta.superuser.com/questions/2695/change-to-the-bounty-system – graham.reeds – 2011-06-10T08:18:22.883