ISC KEA - Option 28, broadcast-address, not inserted in OFFER
DHCPv4 option 28 for "broadcast-address" is not being inserted in OFFERS from the server. I am testing this configuration on ArchLinux 5.2.7.arch1-1 with KEA 1.5.0 installed.
Standard Configuration:
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [ "enp4s0/192.168.168.78" ]
},
"renew-timer": 6800,
"rebind-timer": 7000,
"valid-lifetime": 7200,
"next-server": "192.168.168.78",
"subnet4": [ {
"interface": "enp4s0",
"subnet": "192.168.168.0/24",
"pools": [ { "pool": "192.168.168.200-192.168.168.254" } ],
"option-data": [
{
"code": 6,
"data": "192.168.168.78"
},
{
"code": 12,
"data": "boot.kick"
},
{
"name": "broadcast-address",
"data": "192.168.168.255"
},
{
"name": "boot-file-name",
"data": "..."
},
{
"name": "tftp-server-name",
"data": "192.168.1.1"
},
{
"name": "routers",
"data": "192.168.168.78"
}
]
} ]
}
}
All other options are being inserted except for 28. I have tried different methods of configuring the option, e.g.:
{
"code": "28,
"data": "192.168.168.255"
},
{
"code": "28,
"csv-format": false,
"data": "c0a8a8ff"
},
"option-def": [ {
"space": "test",
"name": "broadcast-address",
"code": 28,
"type": "ipv4-address",
} ],
...
{
"space": "test",
"code": "28,
"data": "192.168.168.255"
},
The OFFERS still won't include the option 28. Logging output:
2019-08-20 15:37:38.832 DEBUG [kea-dhcp4.packets/6415] DHCP4_PACKET_SEND [hwtype=1 dc:8c:37:92:6a:01], cid=[00:46:4f:43:32:33:31:30:52:30:38:30], tid=0x1a7e70a4: trying to send packet DHCPOFFER (type 2) from 192.168.168.78:67 to 255.255.255.255:68 on interface enp4s0
2019-08-20 15:37:38.832 DEBUG [kea-dhcp4.packets/6415] DHCP4_RESPONSE_DATA [hwtype=1 dc:8c:37:92:6a:01], cid=[00:46:4f:43:32:33:31:30:52:30:38:30], tid=0x1a7e70a4: responding with packet DHCPOFFER (type 2), packet details: local_address=192.168.168.78:67, remote_address=255.255.255.255:68, msg_type=DHCPOFFER (2), transid=0x1a7e70a4,
options:
type=001, len=004: 4294967040 (uint32)
type=003, len=004: 192.168.168.78
type=006, len=004: 192.168.168.78
type=012, len=009: "boot.kick" (string)
type=051, len=004: 7200 (uint32)
type=053, len=001: 2 (uint8)
type=054, len=004: 192.168.168.78
type=058, len=004: 6800 (uint32)
type=059, len=004: 7000 (uint32)
type=061, len=012: 00:46:4f:43:32:33:31:30:52:30:38:30
type=066, len=011: "192.168.1.1" (string)
type=067, len=012: "..." (string)