<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div class="gmail_quote">On May 20, 2016 4:58:23 PM EDT, Hernan Saltiel <hsaltiel@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi everybody.<div><br /></div><div>Maybe I'm asking something previously answered.</div><div>I configured my new iscp-dhcp-server (Ubuntu 16.04) to server requests from a network of APs.</div><div>Those APs are connected to a Cisco switch, having <a href="http://192.168.120.1/24">192.168.120.1/24</a> as primary address, and a secondary subnet with address <a href="http://10.0.0.1/16">10.0.0.1/16</a> (yes, 16...). It has relay configured, just to send the dhcp requests to 192.168.120.20, a Windows machine.</div><div>Today I have a Windows machine connected there, where I use the AP controller software, and TFTPD64, a thin software that works as a DHCP server. I configured there a range (10.0.0.10 -> 10.0.200.200) and everything works well, but it's Windows, then from time to time, I have to reboot the system.</div><div>This is why I configured the new machine as <a href="http://192.168.120.40/24">192.168.120.40/24</a>, installed isc-dhcp-server package, and
configured the following lines on /etc/dhcp/dhcpd.conf: </div><div><br /></div><div>default lease-time 600;</div><div>max-lease-time 7200;</div><div><br /></div><div>subnet 10.0.0.0 netmask 255.255.0.0 {</div><div>  range 10.0.0.10 10.0.200.200;</div><div>  option subnet-mask 255.255.0.0;</div><div>  option routers 10.0.0.1;</div><div>  option domain-name-servers 8.8.8.8, 8.8.4.4;</div><div>}</div><div><br /></div><div>subnet 192.168.120.0 netmask 255.255.255.0 {</div><div>}</div><div><br /></div><div>When I start the server, I only see it trying to answer requests using network 192.168.120.0, then saying "no free leases", and not serving any <a href="http://10.0.0.0/16">10.0.0.0/16</a> address.</div><div><br /></div><div>Now I'm living with TFTPD64, but I plan to move that to a better solution.</div><div>Does anybody know about this configuration? Is there something I'm doing wrong?</div><div>Thanks a lot in advance, and best regards.<br
clear="all" /><div><br /></div>-- <br /><div class="gmail_signature">HeCSa<br /></div></div>
</div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />dhcp-users mailing list<br />dhcp-users@lists.isc.org<br /><a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre></blockquote></div><br clear="all">Since both networks are on the same wire, I believe that you need to place your two subnet statements within a shared-network statement.  <br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>