Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Network link between multiple VirtualBox machines

I am trying out a conferencing application (BigBlueButton).

For this I created an Ubuntu virtual machine that functions as the application server. On this machine I can test the application by navigating to the app url (for example http://10.0.2.15).

I also created a second virtual machine that should function as a client. On this machine I want to be able to navigate to the server as well, but that doesn't seem to be working. If I try to navigate from the client to the server by using the app-url I get nothing, followed by a timeout.

To establish a network between the two machines I tried the following solutions:

  • Create a second network adapter on each virtual machine and attach to "Host-only Adapter" with name "vboxnet0"
  • Create a second adapter on each machine and attach to "Internal network" named "intnet".

I thought that either of above options would be a good solutions, but none of them works.

Can anyone help me out here?

FYI I am using MacOS X as host system.

EDIT: I created my second machine by cloning the first one (using the clone utility). Maybe this causes both machines to be identical which makes them indistinguishable on a network. Would this cause a problem? (As a desktop developer I'm a bit of a noob when it comes to I.T.)

like image 951
StackedCrooked Avatar asked Oct 30 '09 11:10

StackedCrooked


People also ask

Can multiple virtual machines share the same IP address over time?

You can not assign the same IP to multiple vms .

Can virtual machines communicate with each other?

Private network—allows a virtual machine to communicate only with another virtual machine on the host. Internal network—sets up communication between the host system and the virtual machines on it. External network—connects virtual machines and the host physical network.


1 Answers

I just got this to work. What I did was the internal network with the tasteful name on both VMs, but THEN I went to Advanced and set the Promiscuous Mode to "Allow All". I connect just fine now. Try it!

OK, just looked at the dates and it was last updated 2009, but for anyone looking for the answer, here you go!

like image 182
Dana Avatar answered Nov 10 '22 07:11

Dana