Ventoy Forums
external dhcp server - Printable Version

+- Ventoy Forums (
+-- Forum: iVentoy General Use —— iVentoy 使用交流 (
+--- Forum: iVentoy Discussion Forum (
+--- Thread: external dhcp server (/showthread.php?tid=2907)

external dhcp server - eby - 06-25-2024

I'm trying to configure external DHCP server with options for Legacy and UEFI systems and as per the documentation -

dhcp server - isc-dhcp-server version 4.3.5.
iventoy - 1.0.20 - configured in ExternalNet Mode.

I have multiple subnets and only want PXE boot for specific subnet.

When the following config from documentation is used, dhcp server fail to start/restart - isc-dhcp-server.service: Failed with result 'exit-code'.

class "pxeclients" {
        match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";

        if option architecture-type = 00:07 {
            filename "iventoy_loader_16000_uefi";
        } else {
            filename "iventoy_loader_16000_bios";

Setting bootfile to usefi or bios works, but cant set the option for both.

What are the equivalent config to achieve the above on isc-dhcp-server version 4.3.5.