PXE boot might need different configuration for different subnets (i.e. server names/IPs are different).
PXELinux has a neat feature: in the pxelinux.cfg/ directory, one can put different configuration files for different machines or subnets, identified by the file name:
The configuration file names can be:
- Machine UUID
- MAC Address i.e. 00-11-22-33-44-55
- IP or prefix IP - hexadecimal i.e. :
- C0 for 192.0.0.0/255.0.0.0 subnet
- C0A8 for 192.168.0.0/255.255.0.0 subnet
default
: if nothing else matches, PXELinux will load the config named "default".