22 lines
923 B
ISCdhcpd
22 lines
923 B
ISCdhcpd
option arch code 93 = unsigned integer 16;
|
|
|
|
subnet 192.168.1.0 netmask 255.255.255.0 {
|
|
range 192.168.1.150 192.168.1.200; # Change this range as appropriate for your network
|
|
next-server 192.168.1.169; # Change this to the address of your DHCP server
|
|
option subnet-mask 255.255.255.0;
|
|
option routers 192.168.1.254; # Change this to the address of your router
|
|
option broadcast-address 192.168.1.255;
|
|
option domain-name "box.freebox.com"; # This is optional
|
|
option domain-name-servers 1.1.1.1;
|
|
if exists user-class and ( option user-class = "iPXE" ) {
|
|
filename "http://boot.netboot.xyz/menu.ipxe";
|
|
} elsif option arch = encode-int ( 16, 16 ) {
|
|
filename "http://boot.netboot.xyz/ipxe/netboot.xyz.efi";
|
|
option vendor-class-identifier "HTTPClient";
|
|
} elsif option arch = 00:07 {
|
|
filename "netboot.xyz.efi";
|
|
} else {
|
|
filename "netboot.xyz.kpxe";
|
|
}
|
|
}
|