[Kea-users] iPXE menu troubles

Jorell F. fdge00 at gmail.com
Fri Apr 15 17:09:21 UTC 2016


kea v1.0.0
CentOS 7

The ipxe file loads and the client-class is recognized but the ipxe menu 
is not passed to the client.
In the logs this message appears:
EVAL_RESULT Expression Client_iPXE evaluated to 1

I know the menu works with dhcpd I don't know how to make it work with kea.


{
   "Dhcp4":
   {
     "interfaces-config":
     {
       "interfaces": [ "eth1" ]
     },
     "lease-database":
     {
       "type": "memfile"
     },
     "valid-lifetime":     129600,
     "renew-timer":        43200,
     "rebind-timer":       50400,

     "match-client-id": false,

     "option-data":
     [
       {
         "name": "boot-file-name",
         "data": "ipxe/undionly.kpxe"
       },
       {
         "name": "time-offset",
         "data": "-28800"
       },
       {
         "name": "ntp-servers",
         "data": "192.168.3.99"
       },
       {
         "name": "domain-name-servers",
         "data": "192.168.3.99"
       },
       {
         "name": "tftp-server-name",
         "data": "192.168.3.99"
       }
     ],
     "client-classes":
     [
       {
         "name": "Client_iPXE",
         "test": "substring(option[77].hex,0,4) == 'iPXE'",
         "option-data":
         [
           {
             "name": "boot-file-name",
             "code": 67,
             "space": "dhcp4",
             "data": "http://192.168.3.99:80/ipxe/preboot.php"
           }
         ]
       }
     ],
     "next-server": "192.168.3.99",
     "subnet4":
     [
       {
         "pools": [ { "pool": "192.168.21.1 - 192.168.21.200" } ],
         "subnet": "192.168.21.0/24",
         "interface": "eth1",
         "option-data":
         [
           {
             "name": "routers",
             "data": "192.168.21.254"
           },
           {
             "name": "domain-name",
             "data": "LC01.staging.lan"
           }
         ]
       }
     ],

     "expired-leases-processing":
     {
       "reclaim-timer-wait-time": 10,
       "flush-reclaimed-timer-wait-time": 25,
       "hold-reclaimed-time": 3600,
       "max-reclaim-leases": 100,
       "max-reclaim-time": 250,
       "unwarned-reclaim-cycles": 5
     }
   },

   "Logging":
   {
     "loggers":
     [
       {
         "name": "kea-dhcp4",
         "output_options":
         [
           {
             "output": "/var/log/kea-debug.log"
           }
         ],
         "severity": "INFO"
       }
     ]
   }
}



More information about the Kea-users mailing list