Setting up a network between a host and guest virtual machine
Posted
by
anonymous
on Ask Ubuntu
See other posts from Ask Ubuntu
or by anonymous
Published on 2012-03-28T21:52:37Z
Indexed on
2012/03/28
23:45 UTC
Read the original article
Hit count: 196
(I'm running ubuntu server 12.04 on virtual box)
I'm trying to transfer a file (scp) from my laptop to one of the directories of a virtual machine. I tried sharing folders, but that failed. I'm a bit of a networking newbie.
I've looked at like 20-30 pages. Here's one: http://www.howtoforge.com/moving-files-between-linux-systems-with-scp
I followed those steps exactly. My problem is that when I try using scp, it just hangs. I'm also not sure which network interface to configure (eth0, eth1?) in the guest OS. Another (significant?) detail is that the inet address of eth0 is 10.0.2.15 instead of something like 192.168.x.y.
I've enabled the bridge adapter and the host-only adapter. Both the laptop and guest VM have openssh-server installed. I'm not sure what to do at this point.
Is there a better place to ask about this?
© Ask Ubuntu or respective owner