Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I have different vbox sessions. I run one application on one of them and it shouild be able to reach programms and files located on another session.
How can I do that ? Can I get a url that addresses each of my virtual machines ?
Just to be clear, when you mention vbox, are you referring to VirtualBox?
If so, you have the option to create virtual networks. As I recall, the
options are a bridged network to any one of your host's interfaces, a
host-only network and a NAT network. Check what type(s) you have configured.
The next step would be to make sure each guest can connect to
the host. The easy way is to see if each guest gets an address
from dhcp. If so, your NAT connection is working properly.
If not, we'll have to figure out why.
Would you mind posting the IP addresses of each guest as well
as the IP address of the host on the NAT network?
Last edited by carltm; 10-30-2010 at 09:32 AM.
Reason: added 2nd paragraph
each guest nat works. I have internet access on each guest and shared folders working.
But I need one application running on one guest to call another one running on another guest.
This is already working inside the same session, my program calls the other one asking him to look for an url. with localhost it works well inside my virtual session.
But I need this program to call another one outside the session, so I cannot use localhost to ask him to search. I need to identify the other virtual machine thanks to an url, but I do not know how to do this.
I'd suggest opening a terminal window on your host and pinging each
of the IP addresses. For example, if one guest uses 192.168.50.102,
type "ping -c1 192.168.50.102". Post the output for each of your guests.
Are you using DHCP in the guests? If you are then each will get an address in the 10.0.2.x range and AFAIK there is no way for them to learn each others addresses, that is VirtualBox does not run a dynamic DNS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.