I am using VirtualBox to run a Ubuntu 11.04 Server as a guest OS. However, using NAT the VM get's a private IP.

I want my guest oses to get their own IP on the network the host is on. I.E., my host's IP is, I want the guest to be instead of 10.?.?.?.

How may I do this?


You need to assign what is called a Bridged Adapter. In the main VirtualBox window, select the VM you want to work with and click the Settings icon. In the settings window, go to Network, and you will see the Settings page for "Adapter 1" Change "Attached to:" to "Bridged" and you should be good to go.

Here's a graphic of what you need to do (change #4 to Bridged): enter image description here

  • +1 for screenshots =) – Handyman5 Jul 1 '11 at 21:09

It's called "bridged" network. Change the network settings for the VM.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.