Virtual Box or Ubuntu?
Derek Broughton
news at pointerstop.ca
Tue Apr 29 17:55:24 UTC 2008
Peter Garrett wrote:
> On Tue, 29 Apr 2008 13:37:00 -0300
> Derek Broughton <news at pointerstop.ca> wrote:
>
>> The outside world is _easy_ (with NAT) - it's trying to get at anything
>> else on your LAN that is practically impossible!
Actually, I should have said two-way communication was difficult.
> sshfs also works from the guest machine to other machines on the network.
> What doesn't work is access to the virtual machine from the others.
Right. All I ever really wanted to do on the LAN was connect two Windows
bridge-playing programs, but they can't find each other. Now that I think
harder, what it really needs is port redirection. Your wireless router is
set up so that incoming requests to port X get sent to machine Y - and
that's what has to happen for the Host, or other machines on your LAN, to
initiate conversations with the guest. That would be fine for my bridge
program, but impossible if I'm trying to run programs on both the host &
guest that use the same port number (but then, you can't run two programs
on the same machine using the same port, anyway).
> I
> suppose setting up a route to the virtual machine would work, but I
> haven't tried it. The other odd thing is that if I run
> two virtual machines at once, they both have the same (10.0.2.15) IP
> address.... struck me as very odd :)
That's as it should be - the VM is on its own subnet and the shared network
is the _host's_ network, so there is only actually one 10.0.2.15 address
per network.
--
derek
More information about the ubuntu-users
mailing list