hm, i add this to my config (i have already a pxe that works with bios and uefi/bios, but not with uefi-only)
The “next-server” should only be in the 172.18 subnet. I think the positino is right, but it didn’t work, the client tries to use the old pxe-server, not fog…
any ideas?
option routers 172.16.0.2;
option ntp-servers 172.16.0.2;
option time-servers 172.16.0.2;
option lpr-servers 172.16.0.4;
option netbios-name-servers 172.16.0.2;
option wpad-curl code 252 = text;
option wpad-curl "http://admin.mydomain.de/proxy.pac";
option arch code 93 = unsigned integer 16;
if option arch = 00:07 {
filename "efi/grub.efi";
} else {
filename "pxelinux.0";
}
shared-network "schulnetz" {
subnet 172.16.0.0 netmask 255.255.0.0 {
next-server 172.16.0.2;
pool {
range dynamic-bootp 172.16.1.0 172.16.1.25;
allow unknown clients;
deny known clients;
default-lease-time 300;
max-lease-time 600;
}
}
subnet 172.18.0.0 netmask 255.255.0.0 {
next-server 172.18.2.14;
class "UEFI-32-1" {
match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
filename "i386-efi/ipxe.efi";
}
class "UEFI-32-2" {
match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
filename "i386-efi/ipxe.efi";
}
class "UEFI-64-1" {
match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
filename "ipxe.efi";
}
class "UEFI-64-2" {
match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
filename "ipxe.efi";
}
class "UEFI-64-3" {
match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
filename "ipxe.efi";
}
class "Legacy" {
match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
filename "undionly.kkpxe";
}