On Wednesday 16 Sep 2009 01:51, Kevin Lucas played with alphabet
spaghetti and left this residue on the plate:
> houghi wrote:
>
>> Is there a way I can ssh to a virtual box? I am able to ssh from the
>> VirtualBox distro to my real machine, so there is some sor of
>> connection.
>>
>> However my real machine and the virtual box have the same local IP.
>>
>> houghi
> Hiya,
>
> One option may be to configure VirtualBox's networking into bridged mode.
> See: http://en.opensuse.org/Virtualbox_Network_Bridging. Then ssh to the
> virtual machine's IP as you would another physical machine on the network.
That's exactly how I have mine configured, and it works just fine. More or
less.
> On a side note.... Is this ever going to be made easier? In VMWare bridged
> mode networking has been a drop-down option in the network configuration
> since at least version 3 or something like that.
It is much easier than on that page. Just update to version 3[0] and
it's as simple as clicking "Network", selecting the adaptor you're
wanting to use, clicking on "Attached to:", selecting "Bridged Adapter"
from the pop-up menu and then clicking on the pop-up "Name:"
and selecting the main systems adaptor.
E.g. all my test virtual machines have Adapter 1 enabled, the
"Attached to:" is "Bridged Adapter" and "Name:" is "eth0" . Apart from
a kUbuntu 9.04, which doesn't presently work and I'm trying to figure
out why not, all the virtual machines work fine. They request an IP
using DHCP, my DHCP server assigns them one and I'm then able to ssh to
or from them.
[0] You'll either need to use the one from Sun, or use the VirtualBox
repo on the build service, to get the latest 3.0.6 version. You can
find the 11.1 repo at:
<URL:http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUSE_11.1/>
Regards,
David Bolt
--
Team Acorn:
www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s
openSUSE 10.3 32b | openSUSE 11.0 32b | |
openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2m6
RISC OS 3.6 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02