[Kea-users] Unable to get offers from kea- DHCP appliance

Kraishak Mahtha kraishak.edu at gmail.com
Thu Jul 20 15:04:15 UTC 2023


Hi All,

I have two subnets 3.4.0.0/16 and 4.0.0.0/16 configured on the kea DHCP
standalone appliance, It used to work fine able to get leases from both
subnets but today, I am not able to get the leases from 4.0.0.0 subnet
(3.4.0.0 is working fine and both have same options and that too basic
router and lease time...)
I see the discover packet is being sent to the DHCP appliance but it is not
sending any offer, I tried checking the logs I see the server is being
tried for different IPs like :

2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for
subnet id 786966 and IPv4 address 4.0.0.2
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address
4.0.0.2
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 4.0.0.2, found 0 host(s)
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id
786966 and address 4.0.0.2
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.dhcpsrv/7850.140433336297216]
DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 4.0.0.2
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for
subnet id 786966 and IPv4 address 4.0.0.3
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address
4.0.0.3
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 4.0.0.3, found 0 host(s)
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id
786966 and address 4.0.0.3
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.dhcpsrv/7850.140433336297216]
DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 4.0.0.3
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for
subnet id 786966 and IPv4 address 4.0.0.4
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address
4.0.0.4
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 4.0.0.4, found 0 host(s)
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id
786966 and address 4.0.0.4
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.dhcpsrv/7850.140433336297216]
DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 4.0.0.4
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for
subnet id 786966 and IPv4 address 4.0.0.5
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address
4.0.0.5
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 4.0.0.5, found 0 host(s)
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.hosts/7850.140433336297216]
HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id
786966 and address 4.0.0.5
2023-07-20 12:53:20.766 DEBUG [kea-dhcp4.dhcpsrv/7850.140433336297216]
DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 4.0.0.5


I thought it would be because that IP is being used but in the network, I
don't see anyone having IP with that and also kea won't do ping before
offering to my knowledge.

Please find the attached log files for more info on kea-dhcp4
and kea-dhcp4.packets module.

Overview summary
Subnet 4.0.0.0 has a MAC address with a pattern: 11:3f:ff****
Subnet 3.4.0.0 has a MAC address with a pattern: 14:3f:ff:***

Can some mean please guide why the server is unable to offer leases for the
4.0.0.0 subnet

Thanks in Advance
Kraishak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230720/e8ce10bd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kea-dhcp4.log.bkp_txt
Type: application/octet-stream
Size: 1602978 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230720/e8ce10bd/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kea-dhcp4-packets.log.bkp_txt
Type: application/octet-stream
Size: 28315 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230720/e8ce10bd/attachment-0003.obj>


More information about the Kea-users mailing list