Network settings for VirtualBox

Posted on 2009-04-20
Last Modified: 2012-05-06
I'm trying to install virtualbox virtual machines on my laptop. I have a working installation of Windows. The only problem is that I can't get the network configured. I'm used to VMware, which configures a local network automatically. Now I get an ip address like (my local network is on 192.168.1.*), and I can't ping to and from the vm. The same happens when using a Linux vm. Running the vm on a mac or pc doesn't make a difference.
Question by:R7AF
    LVL 29

    Expert Comment

    have you install vmware tool ??

    when you will create a virtual OS, it will asked you to select network bridge mood, have you done that ??
    LVL 13

    Author Comment

    I want to use Sun VirtualBox, not VMware. In the settings of the vm, I can set bridge mode, but still it won't work.
    LVL 2

    Expert Comment

    Hi, I've got the same problem. There is no problem to share my internet connection with a Windows XP image in VMWare, but it doesn't work with VirtualBox. I obtain a warning message telling me about limited connectivity (probably due to an IP address conflict).
    LVL 13

    Author Comment

    I think we may have to configure NAT somehow, but really? And where (host OS or router), and how?
    LVL 3

    Expert Comment

    I've posted a brief comment on JulienVan's question.

    If your physical network uses static addresses, bridge the Virtual adapter and the real interface and set the guest interface to bridged or internal host.

    If the router runs DHCP, and the guest can't get the DHCP address, OR if the guest needs no access to/from the local network, then change the guest interface to NAT.

    Ping didnt work at all with older versions of Virtualbox.
    LVL 13

    Accepted Solution

    I finally solved this issue. Using bridged networking I finally have network configured correctly, both on Windows and OSX.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now