This may help you:
- Set the NIC for PXE server on the jumper to a static IP.
- Install and config dnsmasq:
```
$ sudo apt-get install dnsmasq
$ sudo vi /etc/dnsmasq.conf
$ sudo service dnsmasq restart
```
Example of /etc/dnsmasq.conf:
```
interface=nic_name ## NIC for PXE Server
bind-interfaces
dhcp-range=10.10.10.150,10.10.10.200 ## DHCP Range for PXE install
dhcp-boot=grubx64.efi ## StarlingX PXE boot file
enable-tftp
tftp-root=/var/lib/tftpboot/uefi ## tftp server location
### Fix PXE/OAM NIC for Test Nodes
# testnode-1
dhcp-host=12:34:56:78:90:AB,10.10.10.151
# testnode-1
dhcp-host=12:34:56:78:90:AC,10.10.10.152
Below is my configuration /etc/dnsmasq.conf:
interface=eno1
# DHCP range-leases
dhcp-range= eno1,192.168.3.50,192.168.3.100,255.255.255.0,1h
# PXE
dhcp-boot=pxelinux.0
# Gateway
dhcp-option=3,192.168.3.3
enable-tftp
tftp-root=/var/lib/tftpboot
dhcp-host=94:c6:91:a9:54:f9,192.168.3.157
sudo apt-get install apache2
systemctl start apache2.service
The attachment is a simple script I wrote, for reference
only.