Page 1 of 1

can you run a dhcp server in a guest

Posted: 16. Feb 2014, 16:49
by pcanham
I am thinking about building a pxeboot guest on my laptop and then having is that i can connect a crossover cable from my machine to a bare metal machine for performing a remote install, I have been having some issues with the dhcp server side of things, so my question is;

Are you able to have a guest running a dhcpd server which an external machine can connect to? I have tried adding a bridge-network interface to the machine but think there is issues that the external machine is broadcasting looking for a dhcp server to acknowledge it and the Guest is not seeing this.

If anyone else has already set something like this up and information would be greatly appreciated.

Re: can you run a dhcp server in a guest

Posted: 16. Feb 2014, 17:06
by mpack
You can run anything on a virtual PC that you can on a real PC, provided it doesn't require a specialised hardware simulation.

If the PC's network card is bridged to a host NIC then the VM will be visible on the network like any of its peers. From there it's just a matter of configuring the network correctly.