<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">I just figured out that although dnsmasq is
      disabled according to systemd something is starting it at boot
      time.  I think libvirtd or gnome-boxes.  Removed those and kea now
      starts up as expected.</font><br>
    <br>
    <div class="moz-cite-prefix">On 2/18/2022 8:58 AM, Dan Oachs wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAE4qXG-pvffixLe87PNbRUkzNiuZ+pv-NTfnhYoJKsukHqBJ8w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small">I am running
          kea 2.0.1 on Rocky Linux 8.5.  <br>
        </div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">My interfaces
          option is set to:<br>
                "interfaces": ["eth0"]</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">And I have ip
          helper addresses set for all the vlans to point dhcp traffic
          to this server.</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">Are you 100%
          sure there is not some other process or dhcp server listening
          on port 67 on your server?</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">I also have a
          second kea 2.0.1 server ( setup in HA mode with this server). 
          The second server has an interface on each vlan so it can get
          the dhcp requests directly and not need them forwarded from
          the router.</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">On this
          server the interfaces option looks like this:<br>
                 "interfaces": ["*"]</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">--Dan</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Feb 18, 2022 at 8:33
          AM Stephen Berg, Code 7309 via Kea-users <<a
            href="mailto:kea-users@lists.isc.org" moz-do-not-send="true"
            class="moz-txt-link-freetext">kea-users@lists.isc.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm
          evaluating kea 1.8 to eventually integrate into my network. 
          I've <br>
          got 6 subnets that I'll be managing eventually.  Relay agents
          will be on <br>
          all but one subnet. An initial install and test setup with
          mysql backend <br>
          went okay but I have one show stopper problem now.<br>
          <br>
          Whenever I start the service I see in the log:<br>
          DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: failed to open
          socket on <br>
          interface eth0, reason: failed to bind fallback socket to
          address <br>
          <serverIP>, port 67, reason: Address already in use - is
          another DHCP <br>
          server running?<br>
          2022-02-18 08:23:27.547 WARN
          [kea-dhcp4.dhcpsrv/3416.140158564502848] <br>
          DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to
          DHCP traffic<br>
          <br>
          I changed dhcp-socket-type to udp to see if that would change
          the <br>
          behavior and got this:<br>
          2022-02-18 08:14:13.653 WARN
          [kea-dhcp4.dhcpsrv/3218.139637232491840] <br>
          DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: failed to open
          socket on <br>
          interface eth0, reason: Failed to bind socket 15 to
          <serverIP>/port=67<br>
          2022-02-18 08:14:13.653 WARN
          [kea-dhcp4.dhcpsrv/3218.139637232491840] <br>
          DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to
          DHCP traffic<br>
          <br>
          This is running on a virtual machine, rocky linux 8.5. 
          Selinux and <br>
          firewall have been disabled for testing.  Network seems fine
          on the <br>
          system other than this.  My initial config is just a couple of
          reserved <br>
          address based on mac address and no pool.  If I can get this
          working I <br>
          plan to add reservations for all clients in each of the
          subnets.<br>
          <br>
          -- <br>
          Stephen Berg, IT Specialist, Ocean Sciences Division, Code
          7309<br>
          Naval Research Laboratory<br>
          W:   (228) 688-5738<br>
          DSN: (312) 823-5738<br>
          C:   (228) 365-0162<br>
          Email: <a href="mailto:stephen.berg@nrlssc.navy.mil"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">stephen.berg@nrlssc.navy.mil</a> 
          <- (Preferred contact)<br>
          Flank Speed: <a href="mailto:stephen.p.berg.civ@us.navy.mil"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">stephen.p.berg.civ@us.navy.mil</a><br>
          <br>
          -- <br>
          ISC funds the development of this software with paid support
          subscriptions. Contact us at <a
            href="https://www.isc.org/contact/" rel="noreferrer"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://www.isc.org/contact/</a>
          for more information.<br>
          <br>
          To unsubscribe visit <a
            href="https://lists.isc.org/mailman/listinfo/kea-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
          <br>
          Kea-users mailing list<br>
          <a href="mailto:Kea-users@lists.isc.org" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Kea-users@lists.isc.org</a><br>
          <a href="https://lists.isc.org/mailman/listinfo/kea-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Stephen Berg, IT Specialist, Ocean Sciences Division, Code 7309
Naval Research Laboratory
W:   (228) 688-5738
DSN: (312) 823-5738
C:   (228) 365-0162
Email: <a class="moz-txt-link-abbreviated" href="mailto:stephen.berg@nrlssc.navy.mil">stephen.berg@nrlssc.navy.mil</a>  <- (Preferred contact)
Flank Speed: <a class="moz-txt-link-abbreviated" href="mailto:stephen.p.berg.civ@us.navy.mil">stephen.p.berg.civ@us.navy.mil</a></pre>
  </body>
</html>