How do I setup the Host Interface?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Roxxor
Posts: 20
Joined: 17. Feb 2009, 20:31

How do I setup the Host Interface?

Post by Roxxor »

Hi!

I have just reinstalled Windows Vista and setup VirtualBox. I want the guest to get access to Internet using the Host Interface but it doesn't work. I want the guest to be a part of my network so it can get an IP address from the DHCP.

Now it seems that Windows has created a new network interface called VirtualBox Host-Only Network that isn´t a part of my other network so it can get an internal IP from there. When I look at the properties of that network, it says the DHCP isn´t activated.

How can I make so the VirtualBox gets an IP from my router?
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: How do I setup the Host Interface?

Post by stefan.becker »

Hostonly is not Hostinterface.

You are searching for "Bridge". Read the Manual about this. And please use newest version (2.24).
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: How do I setup the Host Interface?

Post by Sasquatch »

Host-Only is Host bound, as it's a virtual adapter. Don't use it if you want your VM to be part of your network. Use Bridged, select your physical NIC to use which you also use for internet and you're done. If you can't select an interface for Bridged, you might need to repair the installation, but that should be fixed already.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Roxxor
Posts: 20
Joined: 17. Feb 2009, 20:31

Re: How do I setup the Host Interface?

Post by Roxxor »

Thank you! I got it wokring now.
Post Reply