<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hello Kevin:<br>
<br>
Kea is now up to version 1.3.0 with many new features added since
1.1.0 so you may wish to consider upgrading. However, Kea 1.1.0
should function using MySQL for lease storage. Kea servers can
emit a great deal of logging detail, provided you have it
enabled. With sufficient logging enabled, you should see some
sort of response from Kea to client packets. Even if Kea elects
to drop a packet, you should still it's arrival logged and an
explanation for why it was dropped.<br>
<br>
I would suggest, as a starting point that you dial up the logging
detail. The following logger configuration will give you maximum
output to stdout (for more information on logging please see the
Logging chapter in the Kea Admin guide):<br>
<br>
<br>
"Logging":<br>
{<br>
"loggers": [<br>
{<br>
"name": "kea-dhcp4",<br>
"output_options": [<br>
{<br>
"output": "stdout"<br>
}<br>
],<br>
"severity": "INFO",<br>
"debuglevel":99<br>
}<br>
]<br>
}<br>
<br>
I have attached a log excerpt from a Kea 1.1.0 server I configured
to use MySQL lease storage so you can see what to expect.<br>
<br>
<br>
<br>
Regards,<br>
<br>
Thomas Markwalder<br>
ISC Software Engineering<br>
<br>
<br>
</tt><br>
<div class="moz-cite-prefix">On 03/18/2018 06:02 PM, Kevin Olbrich
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+gLzy9TMCi11ir4xN-OMLbY4Zcew4KmmaSRx2xb8s3vMTdr+w@mail.gmail.com">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I set the following as my lease-db:</div>
<div><br>
</div>
<div>
<div> "lease-database": {</div>
<div> "type": "mysql",</div>
<div> "name": "dc_dhcp",</div>
<div> "host": "192.168.30.2",</div>
<div> "user": "dc_dhcp",</div>
<div> "password": "xxxxxxxxxxxxxx"</div>
<div># "type": "memfile",</div>
<div># "persist": true,</div>
<div># "name": "/tmp/kea-leases4.csv",</div>
<div># "lfc-interval": 1800</div>
<div> },</div>
</div>
<div><br>
</div>
<div>If I use MySQL, no lease is ever created. The server also
never answers any DHCP request.</div>
<div><br>
</div>
<div>Changing from mysql to memfile (commented out code above),
everything works fine.</div>
<div>No error is logged, "it just dont work" with mysql.</div>
<div><br>
</div>
<div>
<div>root@dhcp01:~# kea-dhcp4 -v</div>
<div>1.1.0</div>
</div>
<div><br>
</div>
<div>Debian Stretch, main repo.</div>
<div><br>
</div>
<div>Is this a known issue?</div>
<div><br>
</div>
<div>Kind regards,</div>
<div>Kevin</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kea-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>
</pre>
</blockquote>
<br>
</body>
</html>