• done: network boot server

arch dnsmasq

Raspbian Lite Installation

official image writing

setting up pi netboot

ignore the Pi3B+ on the main dhcp server

dhcp-host=b8:27:eb:e2:6e:cf,ignore
sudo systemctl restart dnsmasq
sudo systemctl status dnsmasq
systemctl restart networking.service
#### dnsmasq.conf
# disable dns
port=0
no-resolv

interface=enp3s0
bind-interfaces
dhcp-authoritative

# The optional <mode> keyword may be static which tells
# dnsmasq to enable DHCP for the network specified, but not to
# dynamically allocate IP addresses: only hosts which have
# static addresses given via --dhcp-host or from /etc/ethers
# will be served
#dhcp-range=::,static   # ipv6
dhcp-range=192.168.178.0,static

# RPI3B+1
dhcp-host=b8:27:eb:e2:6e:cf,192.168.178.245,1h

# default gateway
dhcp-option=3,192.168.178.1

# DNS Server
dhcp-option=6,192.168.178.48

# BOOTP Netboot Stuff
dhcp-boot=pxelinux.0,pxeserver,192.168.1.1
log-dhcp
enable-tftp
tftp-root=/tftpboot
pxe-service=0,"Raspberry Pi Boot"