Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Windows 7 as base OS and i have installed Virtualbox to install CentOS 6.3. Now, since i am using DHCP for my internet use, is there any way through which i could give a static IP to my CentOS VM and communicate with it. What all procedure would i follow; a link to steps would really facilitate me

share|improve this question

If you just want the virtual machine on the same subnet as the host PC then change the network adapter to a "Bridged adapter".

Turn the virtual machine off - in the VBox manager window click on your virtual machine - in the settings window select the network tab. In the network tab change the "attached to" drop down from NAT to Bridged Adapter. Restart the machine - it will pick up an address from your DHCP server. If you don't want to use DHCP just assign the machine a static IP.

Virtualbox has a pretty good manual

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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