0

How can I configure my computer (localhost) to assign dynamic IP addresses to virtual machines made by virtual box?

Note: I am using Ubuntu Desktop LTS 16.

6
  • It's not exactly clear what you're asking. Do you want to use bridged networking and run a DHCP server on your host? If not, then Virtualbox has its own DHCP server if you use NAT or Host-only networking. Commented Feb 28, 2017 at 21:24
  • I want to PXE boot them from my local host. All the virtual machines are inside my computer. However, PXE booting seems to need some DHCP configuration. How can I do that?
    – NSD
    Commented Feb 28, 2017 at 21:58
  • The answer is exactly the same as if you had some physical computers on your network that you want to PXE boot. You'll need to set up a PXE boot server on your host. Once you get that running, use bridged networking for your VM's. Commented Mar 1, 2017 at 0:45
  • Can you help me how can I configure that? I am a beginner in Linux and networking. I am getting an error when I execute: cp -fr install/netboot/* /var/lib/tftpboot/
    – NSD
    Commented Mar 1, 2017 at 6:31
  • This is the error: cp: cannot stat 'install/netboot/*': No such file or directory
    – NSD
    Commented Mar 1, 2017 at 6:32

0

You must log in to answer this question.

Browse other questions tagged .