[Kea-users] Flex options hook library

Christoph Pleger Christoph.Pleger at cs.tu-dortmund.de
Wed Jun 4 08:56:24 UTC 2025


> > I have tried almost exactly that, only adjusted the library
> > location,
> > and the result was that this only works when the host name is
> > already
> > part of the client request
> 
> => not surprising as the test part of the ifelse asks for this...

But there is no need at all to set a host name, neither in the client
request, nor in the server reply.

> 
> > Is it possible to make (almost) the above work when host-name is
> > part of the server answer?
> 
> => yes 
> 

how?

> but in fact in this case you should not need the flex-option hook
> i.e. just boot-file-name option at the same time as the host-name one.

This was just for testing und what I really want in the server reply is
a boot-file-name that depends on

1. the client class, which is part of the host declaration

2. if the DHCP client uses UEFI PXE boot or BIOS PXE boot

Regards
  Christoph 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250604/f99c3eaf/attachment.sig>


More information about the Kea-users mailing list