01-31-2024, 02:34 AM
Use the ExternalNet Mode mode to set up a Linux DHCP service and configure the following configuration as described in the document:
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.254;
range 10.0.0.2 10.0.0.253;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 10.0.0.1;
if option architecture-type = 00:07 {
filename "iventoy_loader_16000_uefi";
} else {
filename "iventoy_loader_16000_bios";
}
}
}
DHCP The service could not start
etc/dhcp/dhcpd.conf line 16: no option named architecture-type in space dhcp
if option architecture-type =
/etc/dhcp/dhcpd.conf line 18: expecting a parameter or declaration
} else
Configuration file errors encountered -- exiting
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.254;
range 10.0.0.2 10.0.0.253;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 10.0.0.1;
if option architecture-type = 00:07 {
filename "iventoy_loader_16000_uefi";
} else {
filename "iventoy_loader_16000_bios";
}
}
}
DHCP The service could not start
etc/dhcp/dhcpd.conf line 16: no option named architecture-type in space dhcp
if option architecture-type =
/etc/dhcp/dhcpd.conf line 18: expecting a parameter or declaration
} else
Configuration file errors encountered -- exiting