Bug #15518
closedKea does not send configured TFTP server name
0%
Description
I've a working environment with ISC dhcp server booting a raspberry pi over network. When switching to KEA dhcp the "DHCP Offer" don't contain the TFTP server name. Switching back to ISC dhcp solves the problem. I tried also to apply the soloutin from https://redmine.pfsense.org/issues/15032 but this didn't helped.
Attached the tcpdump with ISC and KEA to show the difference
The file ExtractFrom_kea-dhcp4.conf contains an enxcerpt from my kea config, the "tftp-server-name" is there.
Files
Updated by Lev Prokofev 6 months ago
I can confirm this behavior on 24.03, I was able to fix it by adding the string "code": 66 in the config
Example:
"pools": [
{
"pool": "192.168.200.30 - 192.168.200.100",
"client-class": "pool_opt9_0",
"option-data": [
{
"name": "domain-name-servers",
"data": "192.168.200.1, 1.1.1.1, 8.8.8.8"
},
{
"code": 66,
"name": "tftp-server-name",
"data": "192.168.200.200"
},
Updated by Danilo Zrenjanin 6 months ago
- Status changed from New to Confirmed
I can confirm this behavior on 24.03. The Lev's workaround works.
Updated by Christian McDonald 5 months ago
- Assignee set to Christian McDonald
This is strange because as per Kea documentation:
Note that either name or code is required; there is no need to specify both...
https://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp4-srv.html#standard-dhcpv4-options
Updated by Christian McDonald 5 months ago
- Target version set to CE-Next
- Plus Target Version set to 24.08
Updated by Christian McDonald about 1 month ago
- Status changed from Confirmed to Feedback
Updated by Jim Pingle about 1 month ago
- Plus Target Version changed from 24.08 to 24.11
Updated by Jim Pingle about 1 month ago
- Subject changed from KEA DHCP sends no tftp server name to Kea does not send configured TFTP server name
Updated by Lev Prokofev about 1 month ago
- Status changed from Feedback to Resolved
The issue appears to be fixed in 24.11. I successfully boot devices using legacy and EFI PXE. I marked it as resolved.
Tested on
24.11-ALPHA (amd64) built on Wed Oct 16 9:00:00 MSK 2024 FreeBSD 15.0-CURRENT