How to make a DHCP server on virtual machine serves other virtual machines(on different physical machines)?

Posted by Tony on Super User See other posts from Super User or by Tony
Published on 2012-09-12T04:03:59Z Indexed on 2012/09/12 15:41 UTC
Read the original article Hit count: 311

I'm building a virtual cluster with VirtualBox and Opensuse. I have 10 physical machines and need several vms on each. The virtual machines are supposed to be in a "private" network, but still have internet access. I was asked to set up a virtual head node working as DHCP server. I installed DHCP server on the virtual head node and it seems works. On VirtualBox I set 2 network adapters to the head node, one bridged adapter and one internal network. One vm on the same physical machine has been set nic as internal network adapter. The vm can get IP address (so DHCP works) but can't access internet. What should I do? Specifically, what network adapter should I choose for head-node and work-nodes in VirtualBox? What in the virtual machines should I do?

© Super User or respective owner

Related posts about virtualbox

Related posts about virtual-machine