On 4/15/2016 10:40 AM, Jorell F. wrote:
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"
       }
     ]
   }
}


it is trying to pass the menu to iPXE but iPXE is not receiving a IP address


2016-06-16 20:29:39.051 INFO [kea-dhcp4.dhcp4/16356] DHCP4_STARTED Kea DHCPv4 server version 1.0.0 started 2016-06-16 20:29:39.052 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_WAIT waiting for next DHCPv4 packet with timeout 1000 ms 2016-06-16 20:29:45.059 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_RECEIVED received buffer from 0.0.0.0:68 to 255.255.255.255:67 over interface eth1 2016-06-16 20:29:45.060 DEBUG [kea-dhcp4.options/16356] DHCP4_BUFFER_UNPACK parsing buffer received from 0.0.0.0 to 255.255.255.255 over interface eth1 2016-06-16 20:29:45.061 DEBUG [kea-dhcp4.options/16356] EVAL_RESULT Expression 5iPXE evaluated to 0 2016-06-16 20:29:45.061 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLASS_ASSIGNED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: client packet has been assigned to the following class(es): VENDOR_CLASS_PXEClient:Arch:00000:UNDI:002001 2016-06-16 20:29:45.061 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:45.061 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:45.061 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_RECEIVED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: DHCPDISCOVER (type 1) received from 0.0.0.0 to 255.255.255.255 on interface eth1 2016-06-16 20:29:45.062 DEBUG [kea-dhcp4.packets/16356] DHCP4_QUERY_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea, packet details: local_address=255.255.255.255:67, remote_adress=0.0.0.0:68, msg_type=DHCPDISCOVER (1), transid=0x2adccaea,
options:
  type=053, len=001: 1 (uint8)
type=055, len=024: 1(uint8) 2(uint8) 3(uint8) 5(uint8) 6(uint8) 11(uint8) 12(uint8) 13(uint8) 15(uint8) 16(uint8) 17(uint8) 18(uint8) 43(uint8) 54(uint8) 60(uint8) 67(uint8) 128(uint8) 129(uint8) 130(uint8) 131(uint8) 132(uint8) 133(uint8) 134(uint8) 135(uint8)
  type=057, len=002: 1260 (uint16)
  type=060, len=032: "PXEClient:Arch:00000:UNDI:002001" (string)
  type=093, len=002: 0(uint16)
  type=094, len=003: 1 (uint8) 2 (uint8) 1 (uint8)
  type=097, len=017: 0 (uint8) 564D769AD9A805072E6418BDE7DCCAEA (binary)
2016-06-16 20:29:45.062 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:45.062 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:45.062 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLIENTID_IGNORED_FOR_LEASES [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: not using client identifier for lease allocation for subnet 1 2016-06-16 20:29:45.062 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID get one host with IPv4 reservation for subnet id 1, HWADDR hwtype=1 00:0c:29:dc:ca:ea, DUID (no-duid) 2016-06-16 20:29:45.063 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_HWADDR_DUID get all hosts with reservations for HWADDR hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:45.063 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=00:0c:29:dc:ca:ea 2016-06-16 20:29:45.063 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=00:0c:29:dc:ca:ea, found 0 host(s) 2016-06-16 20:29:45.063 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID_NULL host not found using subnet id 1, HW address hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:45.063 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_MEMFILE_GET_SUBID_HWADDR obtaining IPv4 lease for subnet ID 1 and hardware address hwtype=1 00:0c:29:dc:ca:ea 2016-06-16 20:29:45.063 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1 and IPv4 address 192.168.21.65 2016-06-16 20:29:45.063 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 192.168.21.65 2016-06-16 20:29:45.064 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 192.168.21.65, found 0 host(s) 2016-06-16 20:29:45.064 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id 1 and address 192.168.21.65 2016-06-16 20:29:45.064 DEBUG [kea-dhcp4.alloc-engine/16356] ALLOC_ENGINE_V4_OFFER_EXISTING_LEASE allocation engine will try to offer existing lease to the client [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea 2016-06-16 20:29:45.065 DEBUG [kea-dhcp4.leases/16356] DHCP4_LEASE_ADVERT [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: lease 192.168.21.65 will be advertised 2016-06-16 20:29:45.065 DEBUG [kea-dhcp4.options/16356] DHCP4_PACKET_PACK [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: preparing on-wire format of the packet to be sent 2016-06-16 20:29:45.065 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_SEND [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: trying to send packet DHCPOFFER (type 2) from 192.168.21.254:67 to 255.255.255.255:68 on interface eth1 2016-06-16 20:29:45.065 DEBUG [kea-dhcp4.packets/16356] DHCP4_RESPONSE_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: responding with packet DHCPOFFER (type 2), packet details: local_address=192.168.21.254:67, remote_adress=255.255.255.255:68, msg_type=DHCPOFFER (2), transid=0x2adccaea,
options:
  type=001, len=004: 4294967040 (uint32)
  type=002, len=004: -28800 (int32)
  type=003, len=004: 192.168.21.254
  type=006, len=004: 192.168.3.99
  type=015, len=016: "LC01.staging.lan" (string)
  type=051, len=004: 129600 (uint32)
  type=053, len=001: 2 (uint8)
  type=054, len=004: 192.168.21.254
  type=058, len=004: 43200 (uint32)
  type=059, len=004: 50400 (uint32)
  type=067, len=018: "ipxe/undionly.kpxe" (string)
2016-06-16 20:29:45.067 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_WAIT waiting for next DHCPv4 packet with timeout 1000 ms 2016-06-16 20:29:47.118 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_RECEIVED received buffer from 0.0.0.0:68 to 255.255.255.255:67 over interface eth1 2016-06-16 20:29:47.119 DEBUG [kea-dhcp4.options/16356] DHCP4_BUFFER_UNPACK parsing buffer received from 0.0.0.0 to 255.255.255.255 over interface eth1 2016-06-16 20:29:47.120 DEBUG [kea-dhcp4.options/16356] EVAL_RESULT Expression 5iPXE evaluated to 0 2016-06-16 20:29:47.120 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLASS_ASSIGNED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: client packet has been assigned to the following class(es): VENDOR_CLASS_PXEClient:Arch:00000:UNDI:002001 2016-06-16 20:29:47.120 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:47.120 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:47.120 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_RECEIVED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: DHCPREQUEST (type 3) received from 0.0.0.0 to 255.255.255.255 on interface eth1 2016-06-16 20:29:47.121 DEBUG [kea-dhcp4.packets/16356] DHCP4_QUERY_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea, packet details: local_address=255.255.255.255:67, remote_adress=0.0.0.0:68, msg_type=DHCPREQUEST (3), transid=0x2adccaea,
options:
  type=050, len=004: 192.168.21.65 (ipv4-address)
  type=053, len=001: 3 (uint8)
  type=054, len=004: 192.168.21.254 (ipv4-address)
type=055, len=024: 1(uint8) 2(uint8) 3(uint8) 5(uint8) 6(uint8) 11(uint8) 12(uint8) 13(uint8) 15(uint8) 16(uint8) 17(uint8) 18(uint8) 43(uint8) 54(uint8) 60(uint8) 67(uint8) 128(uint8) 129(uint8) 130(uint8) 131(uint8) 132(uint8) 133(uint8) 134(uint8) 135(uint8)
  type=057, len=002: 1260 (uint16)
  type=060, len=032: "PXEClient:Arch:00000:UNDI:002001" (string)
  type=093, len=002: 0(uint16)
  type=094, len=003: 1 (uint8) 2 (uint8) 1 (uint8)
  type=097, len=017: 0 (uint8) 564D769AD9A805072E6418BDE7DCCAEA (binary)
2016-06-16 20:29:47.121 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:47.121 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:47.121 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLIENTID_IGNORED_FOR_LEASES [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: not using client identifier for lease allocation for subnet 1 2016-06-16 20:29:47.121 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID get one host with IPv4 reservation for subnet id 1, HWADDR hwtype=1 00:0c:29:dc:ca:ea, DUID (no-duid) 2016-06-16 20:29:47.121 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_HWADDR_DUID get all hosts with reservations for HWADDR hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:47.121 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=00:0c:29:dc:ca:ea 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=00:0c:29:dc:ca:ea, found 0 host(s) 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID_NULL host not found using subnet id 1, HW address hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_MEMFILE_GET_SUBID_HWADDR obtaining IPv4 lease for subnet ID 1 and hardware address hwtype=1 00:0c:29:dc:ca:ea 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1 and IPv4 address 192.168.21.65 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 192.168.21.65 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 192.168.21.65, found 0 host(s) 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id 1 and address 192.168.21.65 2016-06-16 20:29:47.122 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 192.168.21.65 2016-06-16 20:29:47.123 DEBUG [kea-dhcp4.alloc-engine/16356] ALLOC_ENGINE_V4_REQUEST_EXTEND_LEASE [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: extending lifetime of the lease for address 192.168.21.65 2016-06-16 20:29:47.123 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_MEMFILE_UPDATE_ADDR4 updating IPv4 lease for address 192.168.21.65 2016-06-16 20:29:47.123 DEBUG [kea-dhcp4.leases/16356] DHCP4_LEASE_ALLOC [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: lease 192.168.21.65 has been allocated 2016-06-16 20:29:47.124 DEBUG [kea-dhcp4.options/16356] DHCP4_PACKET_PACK [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: preparing on-wire format of the packet to be sent 2016-06-16 20:29:47.124 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_SEND [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: trying to send packet DHCPACK (type 5) from 192.168.21.254:67 to 255.255.255.255:68 on interface eth1 2016-06-16 20:29:47.124 DEBUG [kea-dhcp4.packets/16356] DHCP4_RESPONSE_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x2adccaea: responding with packet DHCPACK (type 5), packet details: local_address=192.168.21.254:67, remote_adress=255.255.255.255:68, msg_type=DHCPACK (5), transid=0x2adccaea,
options:
  type=001, len=004: 4294967040 (uint32)
  type=002, len=004: -28800 (int32)
  type=003, len=004: 192.168.21.254
  type=006, len=004: 192.168.3.99
  type=015, len=016: "LC01.staging.lan" (string)
  type=051, len=004: 129600 (uint32)
  type=053, len=001: 5 (uint8)
  type=054, len=004: 192.168.21.254
  type=058, len=004: 43200 (uint32)
  type=059, len=004: 50400 (uint32)
  type=067, len=018: "ipxe/undionly.kpxe" (string)
2016-06-16 20:29:47.125 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_WAIT waiting for next DHCPv4 packet with timeout 1000 ms 2016-06-16 20:29:49.049 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_TIMERMGR_RUN_TIMER_OPERATION running operation for timer: reclaim-expired-leases 2016-06-16 20:29:49.049 DEBUG [kea-dhcp4.alloc-engine/16356] ALLOC_ENGINE_V4_LEASES_RECLAMATION_START starting reclamation of expired leases (limit = 100 leases or 250 milliseconds) 2016-06-16 20:29:49.051 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_MEMFILE_GET_EXPIRED6 obtaining maximum 101 of expired IPv6 leases 2016-06-16 20:29:49.052 DEBUG [kea-dhcp4.alloc-engine/16356] ALLOC_ENGINE_V4_LEASES_RECLAMATION_COMPLETE reclaimed 0 leases in 1.188 ms 2016-06-16 20:29:49.052 DEBUG [kea-dhcp4.alloc-engine/16356] ALLOC_ENGINE_V4_NO_MORE_EXPIRED_LEASES all expired leases have been reclaimed 2016-06-16 20:29:49.052 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_TIMERMGR_START_TIMER starting timer: reclaim-expired-leases 2016-06-16 20:29:49.053 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_WAIT_INTERRUPTED interrupted wait for the next packet due to timeout, signal or external socket callback (timeout value is 1000) 2016-06-16 20:29:49.053 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_WAIT waiting for next DHCPv4 packet with timeout 1000 ms 2016-06-16 20:29:49.339 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_RECEIVED received buffer from 0.0.0.0:68 to 255.255.255.255:67 over interface eth1 2016-06-16 20:29:49.339 DEBUG [kea-dhcp4.options/16356] DHCP4_BUFFER_UNPACK parsing buffer received from 0.0.0.0 to 255.255.255.255 over interface eth1 2016-06-16 20:29:49.340 INFO [kea-dhcp4.options/16356] EVAL_RESULT Expression 5iPXE evaluated to 1 2016-06-16 20:29:49.340 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLASS_ASSIGNED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: client packet has been assigned to the following class(es): VENDOR_CLASS_PXEClient:Arch:00000:UNDI:0020015iPXE 2016-06-16 20:29:49.340 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:49.340 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_RECEIVED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: DHCPDISCOVER (type 1) received from 0.0.0.0 to 255.255.255.255 on interface eth1 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.packets/16356] DHCP4_QUERY_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a, packet details: local_address=255.255.255.255:67, remote_adress=0.0.0.0:68, msg_type=DHCPDISCOVER (1), transid=0x5841f53a,
options:
  type=053, len=001: 1 (uint8)
type=055, len=022: 1(uint8) 3(uint8) 6(uint8) 7(uint8) 12(uint8) 15(uint8) 17(uint8) 43(uint8) 60(uint8) 66(uint8) 67(uint8) 119(uint8) 128(uint8) 129(uint8) 130(uint8) 131(uint8) 132(uint8) 133(uint8) 134(uint8) 135(uint8) 175(uint8) 203(uint8)
  type=057, len=002: 1472 (uint16)
  type=060, len=032: "PXEClient:Arch:00000:UNDI:002001" (string)
  type=061, len=007: 01:00:0c:29:dc:ca:ea
  type=077, len=004: 69:50:58:45
  type=093, len=002: 0(uint16)
  type=094, len=003: 1 (uint8) 2 (uint8) 1 (uint8)
  type=097, len=017: 0 (uint8) 9A764D56A8D907052E6418BDE7DCCAEA (binary)
type=175, len=045: b1:05:01:80:86:10:0f:eb:03:01:00:00:17:01:01:22:01:01:13:01:01:11:01:01:27:01:01:19:01:01:10:01:02:21:01:01:15:01:01:18:01:01:12:01:01 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLIENTID_IGNORED_FOR_LEASES [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: not using client identifier for lease allocation for subnet 1 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID get one host with IPv4 reservation for subnet id 1, HWADDR hwtype=1 00:0c:29:dc:ca:ea, DUID (no-duid) 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_HWADDR_DUID get all hosts with reservations for HWADDR hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:49.341 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=00:0c:29:dc:ca:ea 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=00:0c:29:dc:ca:ea, found 0 host(s) 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID_NULL host not found using subnet id 1, HW address hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_MEMFILE_GET_SUBID_HWADDR obtaining IPv4 lease for subnet ID 1 and hardware address hwtype=1 00:0c:29:dc:ca:ea 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1 and IPv4 address 192.168.21.65 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 192.168.21.65 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 192.168.21.65, found 0 host(s) 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id 1 and address 192.168.21.65 2016-06-16 20:29:49.342 DEBUG [kea-dhcp4.alloc-engine/16356] ALLOC_ENGINE_V4_OFFER_EXISTING_LEASE allocation engine will try to offer existing lease to the client [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a 2016-06-16 20:29:49.343 DEBUG [kea-dhcp4.leases/16356] DHCP4_LEASE_ADVERT [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: lease 192.168.21.65 will be advertised 2016-06-16 20:29:49.343 DEBUG [kea-dhcp4.options/16356] DHCP4_PACKET_PACK [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x5841f53a: preparing on-wire format of the packet to be sent 2016-06-16 20:29:49.343 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_SEND [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x5841f53a: trying to send packet DHCPOFFER (type 2) from 192.168.21.254:67 to 255.255.255.255:68 on interface eth1 2016-06-16 20:29:49.343 DEBUG [kea-dhcp4.packets/16356] DHCP4_RESPONSE_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x5841f53a: responding with packet DHCPOFFER (type 2), packet details: local_address=192.168.21.254:67, remote_adress=255.255.255.255:68, msg_type=DHCPOFFER (2), transid=0x5841f53a,
options:
  type=001, len=004: 4294967040 (uint32)
  type=003, len=004: 192.168.21.254
  type=006, len=004: 192.168.3.99
  type=015, len=016: "LC01.staging.lan" (string)
  type=051, len=004: 129600 (uint32)
  type=053, len=001: 2 (uint8)
  type=054, len=004: 192.168.21.254
  type=058, len=004: 43200 (uint32)
  type=059, len=004: 50400 (uint32)
  type=066, len=012: "192.168.3.99" (string)
  type=067, len=039: "http://192.168.3.99:80/ipxe/preboot.php"; (string)
2016-06-16 20:29:49.344 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_WAIT waiting for next DHCPv4 packet with timeout 1000 ms 2016-06-16 20:29:50.303 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_RECEIVED received buffer from 0.0.0.0:68 to 255.255.255.255:67 over interface eth1 2016-06-16 20:29:50.304 DEBUG [kea-dhcp4.options/16356] DHCP4_BUFFER_UNPACK parsing buffer received from 0.0.0.0 to 255.255.255.255 over interface eth1 2016-06-16 20:29:50.304 INFO [kea-dhcp4.options/16356] EVAL_RESULT Expression 5iPXE evaluated to 1 2016-06-16 20:29:50.304 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLASS_ASSIGNED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: client packet has been assigned to the following class(es): VENDOR_CLASS_PXEClient:Arch:00000:UNDI:0020015iPXE 2016-06-16 20:29:50.304 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:50.304 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:50.304 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_RECEIVED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: DHCPDISCOVER (type 1) received from 0.0.0.0 to 255.255.255.255 on interface eth1 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.packets/16356] DHCP4_QUERY_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a, packet details: local_address=255.255.255.255:67, remote_adress=0.0.0.0:68, msg_type=DHCPDISCOVER (1), transid=0x5841f53a,
options:
  type=053, len=001: 1 (uint8)
type=055, len=022: 1(uint8) 3(uint8) 6(uint8) 7(uint8) 12(uint8) 15(uint8) 17(uint8) 43(uint8) 60(uint8) 66(uint8) 67(uint8) 119(uint8) 128(uint8) 129(uint8) 130(uint8) 131(uint8) 132(uint8) 133(uint8) 134(uint8) 135(uint8) 175(uint8) 203(uint8)
  type=057, len=002: 1472 (uint16)
  type=060, len=032: "PXEClient:Arch:00000:UNDI:002001" (string)
  type=061, len=007: 01:00:0c:29:dc:ca:ea
  type=077, len=004: 69:50:58:45
  type=093, len=002: 0(uint16)
  type=094, len=003: 1 (uint8) 2 (uint8) 1 (uint8)
  type=097, len=017: 0 (uint8) 9A764D56A8D907052E6418BDE7DCCAEA (binary)
type=175, len=045: b1:05:01:80:86:10:0f:eb:03:01:00:00:17:01:01:22:01:01:13:01:01:11:01:01:27:01:01:19:01:01:10:01:02:21:01:01:15:01:01:18:01:01:12:01:01 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_SELECTED [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the subnet with ID 1 was selected for client assignments 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.packets/16356] DHCP4_SUBNET_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: the selected subnet details: 192.168.21.0/24 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.dhcp4/16356] DHCP4_CLIENTID_IGNORED_FOR_LEASES [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: not using client identifier for lease allocation for subnet 1 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID get one host with IPv4 reservation for subnet id 1, HWADDR hwtype=1 00:0c:29:dc:ca:ea, DUID (no-duid) 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_HWADDR_DUID get all hosts with reservations for HWADDR hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=00:0c:29:dc:ca:ea 2016-06-16 20:29:50.305 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=00:0c:29:dc:ca:ea, found 0 host(s) 2016-06-16 20:29:50.306 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID_NULL host not found using subnet id 1, HW address hwtype=1 00:0c:29:dc:ca:ea and DUID (no-duid) 2016-06-16 20:29:50.306 DEBUG [kea-dhcp4.dhcpsrv/16356] DHCPSRV_MEMFILE_GET_SUBID_HWADDR obtaining IPv4 lease for subnet ID 1 and hardware address hwtype=1 00:0c:29:dc:ca:ea 2016-06-16 20:29:50.306 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1 and IPv4 address 192.168.21.65 2016-06-16 20:29:50.306 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 192.168.21.65 2016-06-16 20:29:50.306 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 192.168.21.65, found 0 host(s) 2016-06-16 20:29:50.306 DEBUG [kea-dhcp4.hosts/16356] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id 1 and address 192.168.21.65 2016-06-16 20:29:50.306 DEBUG [kea-dhcp4.alloc-engine/16356] ALLOC_ENGINE_V4_OFFER_EXISTING_LEASE allocation engine will try to offer existing lease to the client [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a 2016-06-16 20:29:50.307 DEBUG [kea-dhcp4.leases/16356] DHCP4_LEASE_ADVERT [hwtype=1 00:0c:29:dc:ca:ea], cid=[01:00:0c:29:dc:ca:ea], tid=0x5841f53a: lease 192.168.21.65 will be advertised 2016-06-16 20:29:50.307 DEBUG [kea-dhcp4.options/16356] DHCP4_PACKET_PACK [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x5841f53a: preparing on-wire format of the packet to be sent 2016-06-16 20:29:50.307 DEBUG [kea-dhcp4.packets/16356] DHCP4_PACKET_SEND [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x5841f53a: trying to send packet DHCPOFFER (type 2) from 192.168.21.254:67 to 255.255.255.255:68 on interface eth1 2016-06-16 20:29:50.307 DEBUG [kea-dhcp4.packets/16356] DHCP4_RESPONSE_DATA [hwtype=1 00:0c:29:dc:ca:ea], cid=[no info], tid=0x5841f53a: responding with packet DHCPOFFER (type 2), packet details: local_address=192.168.21.254:67, remote_adress=255.255.255.255:68, msg_type=DHCPOFFER (2), transid=0x5841f53a,
options:
  type=001, len=004: 4294967040 (uint32)
  type=003, len=004: 192.168.21.254
  type=006, len=004: 192.168.3.99
  type=015, len=016: "LC01.staging.lan" (string)
  type=051, len=004: 129600 (uint32)
  type=053, len=001: 2 (uint8)
  type=054, len=004: 192.168.21.254
  type=058, len=004: 43200 (uint32)
  type=059, len=004: 50400 (uint32)
  type=066, len=012: "192.168.3.99" (string)
  type=067, len=039: "http://192.168.3.99:80/ipxe/preboot.php"; (string)
2016-06-16 20:29:50.308 DEBUG [kea-dhcp4.packets/16356] DHCP4_BUFFER_WAIT waiting for next DHCPv4 packet with timeout 1000 ms


_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to