class "pxe" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
}
class "uboot" {
match if substring (option vendor-class-identifier, 0, 6) = "U-boot";
}
subnet 192.168.100.0 netmask 255.255.255.0 {
server-name "192.168.100.254";
option tftp-server-name "192.168.100.254";
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.100.255;
option domain-name-servers 8.8.4.4;
option routers 192.168.100.254;
pool {
range 192.168.100.100 192.168.100.149;
allow members of "uboot";
filename "/tftpboot/otherpath/pxelinux";
}
pool {
range 192.168.100.150 192.168.100.199;
filename "/tftpboot/somepath/pxelinux";
}
}