I've got a problem with my VirtualBox host. I want to do a pxe-boot over the network.
I use VirtualBox on my Windows Host and in my network there's a TFTP/PXE Server where OS-Images are located.
The problem: It's not possible for me to install a dhcp-service on my server that gives the client information about the bootfile because it would interfere with the existing dhcp-server of the network.
I did some research and found out that it is possible to use NAT on my virtual machine and create a "TFTP"-folder in my VB directory where a bootloader is located that will be bootet automatically. When I want to start the networkboot in my virtual machine it doesn't get an IP address from the dhcp server of virtual box. I already created the folder with the right bootloader but it doesn't work. In addition I found the VBoxManage where I was able to reconfigure the services (in our case TFTP) of VB:
Code: Select all
VBoxManage modifyvm "My VM" --nattftpserver1 10.0.2.2
VBoxManage modifyvm "My VM" --nattftpfile1 /srv/tftp/boot/MyPXEBoot.pxe
So my question: is it possible to configure this scenario?
PS: the tftp-/pxe-server works fine with a dhcp-server, but i have to test it without a dhcp-server.