I want to create a private network between my virtualboxes (say,,, etc.) but I want them to be accessible from the host machine (local IP and also have access to the internet through the host machine.

What should I do? What kind of network should I setup on virtualbox settings as well as installed CentOS on virtualbox?

Need your help, thanks.


I would add two virtual network adapters to each guest: one configured as NAT for access to the internet and one adapter as Host-Only to be private with your host and other virtual machines. Feel free to use DHCP on both interfaces, or configure a static address as necessary.

| improve this answer | |
  • 1
    +1 I think each VM needs 2 adapters too. – StarNamer Aug 24 '12 at 22:17

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.