[Kea-users] Option 43 PXE Boot (Matrix43; Empirum)

Schechtmann, Alexander Alexander.Schechtmann at unimedizin-mainz.de
Fri Jul 27 19:50:15 UTC 2018


Hello Kea Users,



i'm working on fully implementation of Kea-DHCP in out Network (Migration from ISC-DHCP) and following this project since version 1.0.



Currently ist the next step to implement PXE Boot with Matrix42 (Empirum), that requires only 2 following options (60 and 43)



With ISC-DHCP Implementation was pretty simple.



ISC-DHCP  (/etc/dhcpd.conf)

option vendor-class-identifier "PXEClient";

option vendor-encapsulated-options XX:XX:XX:XX:XX:XX:XX:XX:;

#----------------------------------------------------------------------------------------

With Kea-DHCP i suspect in according to debug with wireshark and port mirroring that the cllient can't right interpret option 43.

I'm not sure, maybe is my definition of client-classes is wrong (semantec error) or something wrong with decoding of value from vendor-encapsulated-options.



Without activated Option for PXE i had successfully tests with boot from KNOPPIX-LiveCD. The client got all defined informations from Kea (IP, Gateway, DNS etc.



If somebody has the something similar issues, i would very grateful for any help Informations.



################################



  "client-classes": [

      {

         "name": "pxeclient",

         "test": "substring(option[60].hex,0,9) == 'PXEClient'",

         "option-def": [

             {

                "name": "vendor-encapsulated-options",

                "code": 43,

                "type": "string"

             }

         ],

         "option-data": [

             {

                "name": "vendor-encapsulated-options",

                "data": "XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX"

             }

           ]

        }

],



   {    "subnet": "XX.XX.XX.0/24",

         "id": XXXXXX,

         "pools": [ { "pool": "XX.XX.XX.200 - XX.XX.XX.220" } ],

         "client-class": "pxeclient",

         "option-data": [

             {

                "name": "routers",

                "data": "XX.XX.XX.XXX"

             }

         ]

    },



Thank you in advance.



Best Regards,



Alexander Schechtmann



--
Alexander Schechtmann
Systemadministrator
________________________________________________
UNIVERSITÄTSMEDIZIN
der Johannes Gutenberg-Universität Mainz
Abteilung Netzwerk und Internetdienste
Servicecenter IT (SC 6)
Langenbeckstr. 1, 55131 Mainz, Gebäude 204, Raum 117
http://www.unimedizin-mainz.de/organisation/verwaltung/servicecenter-it.html<https://cas.it.klinik.uni-mainz.de/owa/redir.aspx?C=jpXPlZ_dVEqHgblPeY0e1PdmTNcv_dEI0O2CIl7lir39i_Nn69HkP7lB-RS5Bto3RHrNZMoOmBQ.&URL=http%3a%2f%2fwww.klinik.uni-mainz.de%2forganisation%2fverwaltung%2fservicecenter-it.html>

<https://cas.it.klinik.uni-mainz.de/owa/redir.aspx?C=jpXPlZ_dVEqHgblPeY0e1PdmTNcv_dEI0O2CIl7lir39i_Nn69HkP7lB-RS5Bto3RHrNZMoOmBQ.&URL=http%3a%2f%2fwww.klinik.uni-mainz.de%2forganisation%2fverwaltung%2fservicecenter-it.html>
Telefon +49 6131 17-85 68
Telefax +49 6131 17-47 85 68
E‐Mail: alexander.schechtmann at unimedizin-mainz.de<https://cas.it.klinik.uni-mainz.de/owa/redir.aspx?C=jpXPlZ_dVEqHgblPeY0e1PdmTNcv_dEI0O2CIl7lir39i_Nn69HkP7lB-RS5Bto3RHrNZMoOmBQ.&URL=mailto%3aalexander.schechtmann%40unimedizin-mainz.de>
PGP Key: http://www.unimedizin-mainz.de/pgpkeys<https://cas.it.klinik.uni-mainz.de/owa/redir.aspx?C=jpXPlZ_dVEqHgblPeY0e1PdmTNcv_dEI0O2CIl7lir39i_Nn69HkP7lB-RS5Bto3RHrNZMoOmBQ.&URL=http%3a%2f%2fwww.unimedizin-mainz.de%2fpgpkeys>/
Key Fingerprint: AB1E316ABE1874A4308798F10CA01563260326032169


More information about the Kea-users mailing list