Vmware Workstation is the perfect candidate for configuring local PXE server for testing and development – it contains independent DHCP server that is an equivalent to ISC DHCP v2. All you need is to have your own VM that will be serving as TFTP server for network boot images, there are plenty of instruction on how to do that on Linux (.
I decided to configure my Vmware workstation for windows (windows 7 in that case) DHCP as PXE server using vmNAT network adapter, since I already have Linux VM in vmNAT network which I can configure for TFTP server.
The config file is %SYSTEMDRIVE%\Users\All Users\vmnetdhcp.conf, in order to enable PXE you will need to add 4 lines.
- 2 Lines at the top right after comments
12allow booting;allow bootp; - And another 2 lines inside the subnet block that is related to your VmNAT adapter network
12next-server <Your-TFTP-VM-IP-Here>;filename "pxelinux.0";
You will need to assign static IP to your Linux TFTP server so that network booted VMs will be able to access it. - Now you can go to Administrative tools->Services and restart Vmware DHCP server – if everything correct then it will restart without complains.
- In order to configure your TFTP server use this, or this instruction