Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    kea DHCP incorrect parse of multiple entries in sytem config.

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 205 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      geoffb
      last edited by

      kea fails to start.

      I think I found a bug when switching to the kea DHCP implementation. It reads the various name servers and so forth in the Services-> DHCP Server->LAN setting, I had 2 ntp servers listed and kea would fail with a syntax error, inspecting the kea-dhcp4.conf file, it had improperly parsed and concatenated the 2 ntp sever entries as like this in the conf file:

      {
      "name": "ntp-servers",
      "data": "172.16.20.150, pool.ntp.org" < note the missing close quote on first entry and missing opening quote on the second.
      }

      I manually changed it to this and all is fine, just FYI.

      {
      "name": "ntp-servers",
      "data": "17x.16.20.150", "pool.ntp.org"
      }

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.