Ventoy Forums

Full Version: external dhcp server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to configure external DHCP server with options for Legacy and UEFI systems and as per the documentation - https://www.iventoy.com/en/doc_ext_dhcp.html

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'.

Code:
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";
        }
    }

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.

Thanks,