<div dir="ltr">Thanks for all of the responses on this.<div><br></div><div>The system that is the Kea DHCP server [an Ubuntu system] has one interface that I've setup with vlan interfaces.</div><div><br></div><div>I can access these other interfaces and verified through nmap that port 67 is open on all interfaces.</div><div><br></div><div>I can't seem to find any kind of ip helper option in the Unifi Controller [v8.2.93 running on a virtual Ubuntu system].</div><div><br></div><div>I've reconfigured the DHCP Relay on the pfSense to point to all of the interfaces, and I'm now seeing the traffic I'm expecting to see, which is fine since. understand a little better of what might be going on.</div><div><br></div><div>Just a little confused as to why the broadcast traffic for DHCP requests doesn't seem to be picked up on the vlan interfaces on the server.</div><div><br></div><div>I do have another question, but I'll put that in a separate post since it doesn't seem to be related to this question at hand.</div><div><br></div><div>-Ubence</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 15, 2024 at 6:59 AM Joe Craig <<a href="mailto:JCraig@applieddigital.com">JCraig@applieddigital.com</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"><div class="msg-5356132953557032457">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_-5356132953557032457WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Question about the setup. On the network switches that the DHCP requests would hit first, do you have IP Helpers configured? In my experience that’s what I’ve had to do to ensure that the packets make it to
the DHCP server without a DHCP Relay. I’m in an environment where I cannot deploy a DHCP Relay service, so I am leveraging the IP Helpers on an L3 switch to forward those requests. This is passing through an Cisco firewall and all that. Hope that helps.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-top:2pt;background:white"><b><span style="font-size:11pt;color:black">Joseph Craig</span></b><span style="font-size:11pt;color:black"><br>
Systems Engineer<br>
</span><span style="color:black"><img width="192" height="51" style="width: 2in; height: 0.5347in;" id="m_-5356132953557032457Picture_x0020_2" src="cid:ii_190bb31a5f54cff311"></span><span style="font-size:11pt;color:black"><br>
<br>
<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Kea-users <<a href="mailto:kea-users-bounces@lists.isc.org" target="_blank">kea-users-bounces@lists.isc.org</a>>
<b>On Behalf Of </b>DDFR | Ronald Blaas<br>
<b>Sent:</b> Monday, July 15, 2024 2:15 AM<br>
<b>To:</b> <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a><br>
<b>Subject:</b> [EXTERNAL] Re: [Kea-users] Need to have DHCP Relay in order for Kea to work...?<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<table border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width:100%">
<tbody>
<tr>
<td style="background:rgb(166,166,166);padding:5.25pt 1.5pt"></td>
<td width="100%" style="width:100%;background:rgb(234,234,234);padding:5.25pt 3.75pt 5.25pt 11.25pt">
<div>
<p class="MsoNormal">
<span style="font-size:9pt;font-family:"Segoe UI",sans-serif;color:rgb(33,33,33)">You don't often get email from
<a href="mailto:ronald.blaas@ddfr.nl" target="_blank">ronald.blaas@ddfr.nl</a>. <a href="https://aka.ms/LearnAboutSenderIdentification" target="_blank">
Learn why this is important</a><u></u><u></u></span></p>
</div>
</td>
<td width="75" style="width:56.25pt;background:rgb(234,234,234);padding:5.25pt 3.75pt">
</td>
</tr>
</tbody>
</table>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Not really sure how you have your network setup. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">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. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Is there a particular reason you do not want to have a dhcp relay? <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">I have a kinda similar setup and am using DHCP relay. It is operating as expected and without problems.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">It is also wise to share the output of your log file with the error you are receiving. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Tis helps in pinpointing the problem.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Regards<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
</div>
<div id="m_-5356132953557032457Signature">
<p style="background:white"><span style="font-size:8.5pt;font-family:Helvetica,sans-serif"><u></u> <u></u></span></p>
<p style="background:white"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black">Ronald </span><span style="font-size:8.5pt;font-family:Helvetica,sans-serif"><u></u><u></u></span></p>
<p style="min-height:12px"><span style="font-size:8.5pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Times New Roman",serif;color:black"><u></u> <u></u></span></p>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="m_-5356132953557032457divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black"> Kea-users <<a href="mailto:kea-users-bounces@lists.isc.org" target="_blank">kea-users-bounces@lists.isc.org</a>>
on behalf of Ubence Quevedo <<a href="mailto:thatrat@gmail.com" target="_blank">thatrat@gmail.com</a>><br>
<b>Sent:</b> Monday, July 15, 2024 00:26<br>
<b>To:</b> <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a> <<a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a>><br>
<b>Subject:</b> [Kea-users] Need to have DHCP Relay in order for Kea to work...?</span>
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width:100%;display:table;float:none">
<tbody>
<tr>
<td style="background:rgb(166,166,166);padding:5.25pt 1.5pt"></td>
<td width="100%" style="width:100%;background:rgb(234,234,234);padding:5.25pt 3.75pt 5.25pt 11.25pt">
<div>
<p class="MsoNormal">
<span style="font-size:9pt;font-family:"Segoe UI",sans-serif;color:rgb(33,33,33)">U ontvangt niet vaak e-mail van
<a href="mailto:thatrat@gmail.com" target="_blank">thatrat@gmail.com</a>. <a href="https://aka.ms/LearnAboutSenderIdentification" target="_blank">
Meer informatie over waarom dit belangrijk is</a><u></u><u></u></span></p>
</div>
</td>
<td width="75" style="width:56.25pt;background:rgb(234,234,234);padding:5.25pt 3.75pt">
</td>
</tr>
</tbody>
</table>
<div>
<div>
<p class="m_-5356132953557032457xmsonormal">Hi Everyone,<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">I’m running into an issue and I’m not sure why and would love some advice on how to look into this.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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].<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">I don’t have the firewall in pfSense to block traffic between these networks yet, so they can all freely talk to each other.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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].<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">I can verify through nmap that udp port 67 is running on all three interfaces.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">I’m running Kea 2.6.0.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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.<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"> <u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal">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?<u></u><u></u></p>
<p class="m_-5356132953557032457xmsonormal"><u></u> <u></u></p>
<p class="m_-5356132953557032457xmsonormal">-Ubence<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
-- <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">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">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">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div></blockquote></div>