1

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?

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

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

3

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

0

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.

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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