Network settings for VirtualBox

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.
LVL 13
Who is Participating?
R7AFAuthor Commented:
I finally solved this issue. Using bridged networking I finally have network configured correctly, both on Windows and OSX.
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 ??
R7AFAuthor Commented:
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.
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

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).
R7AFAuthor Commented:
I think we may have to configure NAT somehow, but really? And where (host OS or router), and how?
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.