I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell Optiplex 3020).
I found a guide for configuring this on an older version of Ubuntu which seemed to be more or less the same (except the naming convention for network interfaces). Having followed the steps, I can't actually get the PXE boot from another machine (connected to the server via a switch) working, and as best I can tell this is to do with the configuration of dnsmasq which is being used as the DHCP server. The error I receive is
PXE-EH1: No DHCP or proxyDHCP offers were received. PXE-MOF: Exiting PXE ROM
Between the initial guide I was following and some other forums and such I have found whilst troubleshooting I have cobbled together the following /etc/dnsmasq.conf
dhcp-authoritative interface=enp2s0 bind-interfaces dhcp-options=3,0.0.0.0 dhcp-options=6,0.0.0.0 dhcp-range=10.0.0.2,10.0.0.254,6h dhcp-boot=pxelinux.0,dban-server,10.0.0.1
When I run dnsmasq --test the syntax check is OK. And if I restart dnsmasq it throws no errors.
For info the initial config was as below and was only changed when I was having the same issue as I am now.
dhcp-range=10.0.0.2,10.0.0.254,6h dhcp-boot=pxelinux.0,dban-server,10.0.0.1 interface=enp2s0
I think the rest of my setup is OK, but as I can't seem to get dnsmasq to issue a DHCP lease to the other machines.