can you run a dhcp server in a guest

This is for discussing general topics about how to use VirtualBox.
Post Reply
pcanham
Posts: 1
Joined: 16. Feb 2014, 16:44

can you run a dhcp server in a guest

Post 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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: can you run a dhcp server in a guest

Post 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.
Post Reply