If needed you can also define your gateway and DNS servers with the dhcp-option directive as shown below: interface=eth0ĭhcp-range=192.168.101.100,192.168.101.200,12h In nf, enable DHCP, TFTP and PXE booting and set the dhcp-range to match your environment (we are using 192.168.101.100-200).
Setup a PXE Serverįirst, we need to install dnsmasq to provide the DHCP/TFTP server and then edit the nf file: :~$ sudo apt install -y dnsmasq Booting and installing Kali Linux over the network ( PXE) can be useful from a single laptop install with no CDROM or USB ports, to enterprise deployments supporting pre-seeding of the Kali Linux installation.