You are not logged in.
Pages: 1
hi, i am a new user of ArchLinux and VirtualBox, before i used debian and vmware, but now i want to try Virtualbox i installed virtualbox in my Arch but i can't get to connect with the virtualhost.
the steps that make were:
1 sudo pacman -S virtualbox-ose
2 put vboxdrv into /etc/rc.conf modules section : MODULES=(... vboxdrv)
3 put my user into virtualbox group: vboxusers:x:108:insulae
4 create virtualmachine with a network interface with nat
5 in my new virtual machine i installed another Arch with My_real_IP +1
6 Then i try to ping from one machine to another and the response is: Destination Host Unreachable
what is wrong?
i have the last Arch and VirtualBox 1.4.0
Grettings
insulae
Last edited by insulae (2007-06-16 23:13:58)
Offline
Actually I was about to post the same topic in "Workstation User"... In my case I installed windows XP and although I have set network adapter to NAT, my virtual PC apears to have no lan cards.... and I wonder whether I haven't set up something right, or something went wrong with the installation of my virtual WinXP.
Last edited by Dheart (2007-06-16 19:52:14)
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
The way NAT works is a little tricky and no, ping does not always work. That is because the interface in the guest is not bound to any on the host. What it does is establishing a connection from inside the guest and wait for packets that reuse it. Pings work differently as they are not TCP with would require a reliable destination-source scenario. Instead ICMP will time out. Pinging from within the guest does not work cos the kernel on the host catches replies and does not pass them through the guest.
What you need in order to make this work is either a bridged network or a dedicated interface on the host.
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
but Virtualbox don't have Bridge mode (in the qt gui interface), how i can create a bridge?, i need to connect the virtual host to internet.
i have this "structure" [server 10.1.1.253] --- [eth0 workstation 10.1.1.2] --- [virtual host 10.1.1.3]
Grettings
insulae
Offline
You can do that with regular NAT. Simply configure you eth0 in the guest with dhcp. Then try to wget a website, that should work fine.
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
naaaaaaaaaaaaaa you have right!! hehehe, it had never imagined to me to prove DHCP in the host.
I hope that in future versions the Virtualbox brings with "easy bridge network" to, like vmware.
kth5 Thanks a lot!!
Grettings
insulae
Offline
Yup, unfortunately virtualbox is not yet as easy to set up when it comes to not default NAT. qemu is actually similarly difficult to handle, vmware is the only thing I know that makes it a breeze to configure this kind of thing.
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
Geez - I'm sitting around pinging and not getting anything, changing settings.........THEN I read this and realize I've had a network connection the entire time lol.
I'm glad this was here - I would have spent a year trying to figure this out:)
Offline
Wasted almost an hour or more trying to ping something! Virtualbox is nice and fast, but this thing almost sent be back to vmware. Now all I need is to get sound working on this and the count down to stop dual booting begins :-)
Offline
Pages: 1