OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: pbk on February 29, 2024, 09:51:54 PM

Title: API kea/dhcpv4/getSubnet not responding with actual Subnets
Post by: pbk on February 29, 2024, 09:51:54 PM
Hi!

Maybe I'm mistaken but... Sending a request to API endpoint kea/dhcpv4/getSubnet responds with subnet details like DNS servers, routers and NTP. But the subnets configured are not part of the response.

I guess the field "subnet" should contain the CIDR, but it doesn't.

Not sure if this is a known issue, I couldn't find anything in the forum.

Screenshots attached.

OPNsense version is 24.1.2_1

And a small addition: the pools section is empty, too. And if there are more than one subnet defined, only the first one is in the API response.