I have a Ubuntu VirtualBox host and two Ubuntu guests. I need to be able to ssh into both guests and be able to ssh to/from guest1 and guest2.

I'm really stuck. I've tried NAT settings, bridged adapters and host-only adapters.

All I want is for each guest to have its own IP address (e.g. guest1=192.168.56.101 and guest2=192.168.56.102).

Is this possible?

link|improve this question
feedback

migrated from serverfault.com Jun 15 '11 at 15:57

This question came from our site for system administrators and desktop support professionals.

3 Answers

up vote 2 down vote accepted

I am currently running an Ubuntu server (with Gnome installed) running a Windows Server 2003 Active Directory as virtual box host and runs no problem using a bridged connection. The host is on 192.168.1.31 and the guest is on 192.68.1.32. Are you even able ping either of the guest computers from another computer other than the host???

link|improve this answer
feedback

Using bridged adapters, each guest should get its own IP address from the network (assuming you are using DHCP) as if it were a physical computer. Once you have that address, ssh to it. The config for the host is setting up the bridged adapters.

Like @hydroparadise I do this regularly without issue.

link|improve this answer
feedback

Apparently, I didn't have ssh-server installed. Installing it fixed my issue.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.