Option (old Style) <option pxelinux> under 4.3* Version?

Thomas Markwalder tmark at isc.org
Fri Mar 23 13:48:34 UTC 2018


Hello Andreas:

Could you tell me what version of software you are currently running 
(i.e. the older version)?

Per RFC 4578, those option values are not officially assigned for use 
nor are their contents defined.  Because they are do not have an 
official definition, they are compiled out of our source (see 
common/tables.c):

:

#if 0
         /* Referenced by RFC 4578.
          * DO NOT UNCOMMENT THESE DEFINITIONS: these names are placeholders
          * and will not be used in future versions of the software.
          */
         { "pxe-undefined-1", "X", &dhcp_universe, 128, 1 },
         { "pxe-undefined-2", "X", &dhcp_universe, 129, 1 },
         { "pxe-undefined-3", "X", &dhcp_universe, 130, 1 },
         { "pxe-undefined-4", "X", &dhcp_universe, 131, 1 },
         { "pxe-undefined-5", "X", &dhcp_universe, 132, 1 },
         { "pxe-undefined-6", "X", &dhcp_universe, 133, 1 },
         { "pxe-undefined-7", "X", &dhcp_universe, 134, 1 },
         { "pxe-undefined-8", "X", &dhcp_universe, 135, 1 },
#endif

:

This block was added as shown above in 2006, prior to that there were no 
definitions for them at all. As the options are not defined dhcpd will 
not recognize them.

In order to support the syntax you cited, one would have to define an 
option space "pxelinux" and provide option definitions for the 
individual options: ServerNameShort,
ServerNameLong and so forth (see 
https://www.isc.org/wp-content/uploads/2018/02/dhcp44options.html#DEFINING%20NEW%20OPTIONS). 



Thomas Markwalder
ISC Software Engineering


On 03/23/2018 09:07 AM, Andreas Traub wrote:
> Hi @ all,
>
> with older ISC DHCPD Version we could give the DHCPD some Credentials with:
> option pxelinux./ServerNameShort/ "TheServer";
> option pxelinux./ServerNameLong/ "FQDN";
> option pxelinux./ServiceUser/ "UserName";
> option pxelinux./ServicePassword/ "Password";
>
> With newer Versions of the DHCP Server the Syntax has changed it think.
> We want to run ISC DHCPD with the actual Debian GNU/Linux - Stable, Version
> 4.3.5 is in the Repository.
>
> Can someone help me with the Syntax of the actual DHCPD?
>
> I know the Option IDs of the PXE Server, but don't know how to configure it
> in the Config File of the DHCPD.
> Option 129 => ServerNameShort
> Option 131 => Password
> Option 133 => ServerNameLong
> Option 134 => UserName
>
>
> Best regards,
> Andi
>
>
>
> --
> Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list