Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

This question came from our site for system and network administrators.

3 Answers 3

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???

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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