Ventoy Forums
PXE ExternalNet Mode Error - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: iVentoy General Use —— iVentoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=7)
+--- Forum: iVentoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=8)
+--- Thread: PXE ExternalNet Mode Error (/showthread.php?tid=2776)



PXE ExternalNet Mode Error - 935756208 - 01-31-2024

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