[Kea-users] DHCP4_PACKET_NAK_0001 error for DHCPDISCOVER packet

Tomek Mrugalski tomek at isc.org
Wed Aug 8 20:46:03 UTC 2018


On 08.08.2018 17:43, McBride Lawrence wrote:
> I have now managed to get my Kea server up and running (had to revert to
> v1.1 rpm install from 1.4 source build) and I have also managed to get
> the MySQL backend talking to it as well. However, when I try and test it
> with a single pool in DHCP4 it keeps failaing with the following message:
> 
> ERROR [kea-dhcp4.bad-packets/22903] DHCP4_PACKET_NAK_0001 [hwtype=1
> c8:f9:f9:d6:9c:11], cid=[01:c8:f9:f9:d6:9c:11], tid=0x5e3b: failed to
> select a subnet for incoming packet, src 10.213.233.126, type DHCPDISCOVER
How are your clients connecting to the Kea server? Directly (using the
same link) or via relays? If they're on the same link, you can tell Kea
that a subnet is reachable locally by adding "interface": "eth0" (or
whatever the local interface Kea listens on is). The section defining a
subnet should look more or less like this:

{
    "subnet": "10.213.233.0/25",
    "id": 100,
    "interface": "eth0",
    "pools": [ {"pool": "10.213.233.1 - 10.213.233.125"} ],
}

Hope that helps,

Tomek Mrugalski
ISC



More information about the Kea-users mailing list