<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Not really sure how you have your network setup. </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
But in my belief, if you want dhcp to work without RELAY you have to make sure your DHCP server is directly connected to all the LANs. So your DHCP server will need to have multiple Nics. </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Is  there a particular reason you do not want to have a dhcp relay? </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I have a kinda similar setup and am using DHCP relay. It is operating as expected and without problems.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
It is also wise to share the output of your log file with the error you are receiving. </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Tis helps in pinpointing the problem.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Regards</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature" style="color: inherit;">
<p style="text-align: left; line-height: normal; background-color: rgb(255, 255, 255); margin: 0px; min-height: 13px; font-family: Helvetica; font-size: 11px;">
<br>
</p>
<p style="text-align: left; line-height: normal; background-color: rgb(255, 255, 255); margin: 0px; font-family: Helvetica; font-size: 11px;">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt;">Ronald </span></p>
<p style="line-height: normal; margin: 0px; min-height: 12px; font-family: "Times New Roman"; font-size: 11px;">
<br>
</p>
<div style="line-height: normal; margin: 0px; min-height: 12px; font-family: "Times New Roman"; font-size: 11px; color: rgb(0, 0, 0);">
<br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of Ubence Quevedo <thatrat@gmail.com><br>
<b>Sent:</b> Monday, July 15, 2024 00:26<br>
<b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> [Kea-users] Need to have DHCP Relay in order for Kea to work...?</font>
<div> </div>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border:0; display:table; width:100%; table-layout:fixed; border-collapse:seperate; float:none">
<tbody style="display:block">
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px; background-color:#A6A6A6">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%; background-color:#EAEAEA; padding:7px 5px 7px 15px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
<div>U ontvangt niet vaak e-mail van thatrat@gmail.com. <a href="https://aka.ms/LearnAboutSenderIdentification">
Meer informatie over waarom dit belangrijk is</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px; background-color:#EAEAEA; padding:7px 5px 7px 5px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
</td>
</tr>
</tbody>
</table>
<div>
<div dir="ltr">
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
Hi Everyone,</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I’ve been using Kea for just under a year for a home setup on a Linux Ubuntu server.  I switched from isc dhcp since it was end of life.  My setup has a lot of MAC address reservations with some general pools for systems that don’t have IP reservations.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I also have a few vlans set up with the reservations for devices on each of the vlans.  I’m using pfSense as my gateway with some Unifi equipment that is vlan aware.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I’m running into an issue and I’m not sure why and would love some advice on how to look into this.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I have the interfaces on the system setup that is running Kea, to advertise on the untagged network [mostly some servers], vlan 11 [user systems], and vlan12 [IoT devices].</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I don’t have the firewall in pfSense to block traffic between these networks yet, so they can all freely talk to each other.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
Even though I have my Kea configured to advertise on all of the interfaces [untagged, 11, 12], I can’t seem to get anything to work unless I have the DHCP Relay service setup on the pfSense device to redirect all DHCP traffic to the Kea system’s untagged IP
 address [192.168.10.3].</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I can verify through nmap that udp port 67 is running on all three interfaces.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
If I turn off the DHCP Relay service, I was expecting the interfaces to pick up on the DHCP requests from devices on all of these networks.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
This doesn’t happen and devices don’t get addresses.  I’ve even watched the logs I’ve split out and nothing is written for the duration that the relay service is turned off.  As soon as I turn it back on, I start seeing traffic again.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I’m running Kea 2.6.0.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
I’d love to turn the DHCP Relay off to then try to troubleshoot another issue I’m having with bridging interfaces to VMs and then having the VM interface assigned to a vlan other than the bridged interface.  It seems to work for something else I’m doing, but
 just trying to rule some things out.  Probably another post if I can figure out why the DHCP Relay seems to need to be on.</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
 </p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
Any ideas why I need the DHCP Relay service on another device even though all of the interfaces on each respective vlan are configured to listen for dhcp requests?</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
<br>
</p>
<p class="x_MsoNormal" style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">
-Ubence</p>
</div>
</div>
</div>
</body>
</html>