Page 1 of 1
Re: How to connect two VMs running in one system
Posted: 18. Sep 2009, 18:52
by neel
Hi...
I need some help with this one...
I have installed virtual box in windows XP. Then i set up two virtual machines in that virtual box. Both being fedora 11.
I have manually given the two VMs diff IPs. They are 192.168.1.24 & 192.168.1.22. But as I run the two VMs simultaneously and try 2 ping each of the IPs
it shows destination unreachable. I have set the netmask to 255.255.255.0.
How can I resolve this issue???
Re: How to connect two VMs running in one system
Posted: 18. Sep 2009, 19:08
by Perryg
What connection mode are you using? NAT, Bridged, Host-only, Internal?
Also look at firewall issues.
Re: How to connect two VMs running in one system
Posted: 18. Sep 2009, 19:55
by neel
Hey thnx 4 taking time & helping out.
Is the connection type an issue??? I am not sure about it. How do I check for that???
I have manually assigned the two VMs diff IPs using the SETUP command in fedora. I can use my http server in both but cant ping each of d 2 VMs.
I have already tried using iptables -F to unblock the firewall in both the VMs.
One more thing the 2 VMs have been installed from same virtual box.
I need some way 2 make these VMs connect each other from my single virtual box.
Re: How to connect two VMs running in one system
Posted: 18. Sep 2009, 20:00
by Perryg
In the VirtualBox main program where you set it all up, look under the network settings and see what you are using. Report back here.
Re: How to connect two VMs running in one system
Posted: 18. Sep 2009, 23:30
by Sasquatch
And please read the manual, chapter 6, to learn more about the network modes.
Re: How to connect two VMs running in one system
Posted: 19. Sep 2009, 04:24
by neel
I just checked the network settings and the two VMs are using NAT.
I changed the settings to Internal Network and tried to ping each of the IPs but it still shows destination unreachable.
Please advice a method so that I can connect the two VMs.
Re: How to connect two VMs running in one system
Posted: 19. Sep 2009, 05:08
by BillG
The IP address and netmask are OK. If they are in the same network it should work.
As suggested earlier, firewalls can block ping.
Re: How to connect two VMs running in one system
Posted: 19. Sep 2009, 11:34
by Sasquatch
With Internal Networking, the name of the network must be the same. If you want to do another test, you can use Host-Only (only difference with Internal is that this includes the Host in the network).
Re: How to connect two VMs running in one system
Posted: 20. Sep 2009, 15:37
by neel
Well i changed the network settings in virtual box to Host-Only and its working.
Thnx to evry1 4 helping.