[Kea-users] DHCP4_PACKET_NAK_0001 error for DHCPDISCOVER packet
McBride Lawrence
Lawrence.McBride at imerseyside.nhs.uk
Wed Aug 8 15:43:47 UTC 2018
Hi,
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
The config is as below:
# Global Options for DHCP
# Standard Options
# DNS Servers
"option-data": [
{
"name": "domain-name-servers",
"data": " xx.xx.xx.xx, xx.xx.xx.xx, xx.xx.xx.xx "
},
]
},
# Custom Options
# TFTP Servers
# TFTP option 150 definition
"option-def": [
{
"name": "voice-tftp",
"code": 150,
"space": "vendor-encapsulated-options-space",
"type": "record",
"array": true,
"record-types": "ipv4-address, ipv4-address",
"encapsulate": ""
}
]
},
# TFTP Option Setiings
"option-data": [
{
"space": "vendor-encapsulated-options-space",
"code": 150,
"csv-format": true,
"data": "xx.xx.xx.xx, xx.xx.xx.xx "
},
]
},
# Below an example of the simple subnet declaration. Uncomment to
# enable it. This is a list, denoted with [ ], of structure, denoted
# with { }. Each structure describes a single subnet and may have
# several parameters. One of those parameters is "pools" that is
# also a list of structures.
"subnet4": [
{
"subnet": "10.213.233.0/25",
"id": 100,
"pools": [ {"pool": "10.213.233.1 - 10.213.233.125"} ],
}
]
},
My aim is to use this server for voip so I have my desk phone in the voice vlan the 10.213.233.0/25 is serving but as the error message shows it is unable to get an IP address.
Can anyone offer any help with this?
Lawrence McBride
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20180808/41421977/attachment.htm>
More information about the Kea-users
mailing list