<div dir="ltr">Thanks a lot!<div>I tried that configuration, and now it's working like a charm!</div><div>Best regards,</div><div><br></div><div>HeCSa.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 6:54 PM, Patrick Trapp <span dir="ltr"><<a href="mailto:ptrapp@nex-tech.com" target="_blank">ptrapp@nex-tech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Also, if you are intending for addresses to be made available from both of the subnets, I believe you may need to define those pools as a shared network. Look up shared-network
in your handy DHCP documentation, but I would wonder if something like this would make a difference:<span class=""><br>
<br>
<div>default lease-time 600;</div>
<div>max-lease-time 7200;</div>
</span><div><br>
shared-network Combined-pools {<br>
</div><span class="">
<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>
<br>
<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>
</span><div>}<br>
<br>
}<br>
<br>
Or, so be more generic<br>
<br>
shared-network shared-network-label<br>
{ <br>
subnet1 x.x.x.x netmask 255.x.x.x <br>
{<br>
} (to close subnet1)<br>
subnet2 y.y.y.y netmask 255.y.y.y<br>
{<br>
} (to close subnet2)<br>
} (to close the shared-network declaration)<br>
</div>
<div><br>
</div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> <a href="mailto:dhcp-users-bounces@lists.isc.org" target="_blank">dhcp-users-bounces@lists.isc.org</a> [<a href="mailto:dhcp-users-bounces@lists.isc.org" target="_blank">dhcp-users-bounces@lists.isc.org</a>] on behalf of José Queiroz [<a href="mailto:zekkerj@gmail.com" target="_blank">zekkerj@gmail.com</a>]<br>
<b>Sent:</b> Friday, May 20, 2016 4:46 PM<br>
<b>To:</b> Users of ISC DHCP<br>
<b>Subject:</b> Re: DHCP server behing Cisco relay<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div>
<div>Hi Hernan,<br>
<br>
</div>
Could you please post the Cisco Switch's relevant configuration, also? Including the VLAN interfaces serving the
<a href="http://10.0.0.0/16" target="_blank">10.0.0.0/16</a> network.<br>
<br>
</div>
By the way, does this switch have conectivity with your dhcp server? This is mandatory for the DHCP relay to work, as the relay agent needs to forward DHCP messages for clients in unicast to the DHCP server; and the reverse path must be available also, once
you're checking the direct path, give some time checking this also.<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-05-20 17:58 GMT-03:00 Hernan Saltiel <span dir="ltr">
<<a href="mailto:hsaltiel@gmail.com" target="_blank">hsaltiel@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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" target="_blank">
192.168.120.1/24</a> as primary address, and a secondary subnet with address <a href="http://10.0.0.1/16" target="_blank">
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" target="_blank">
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" target="_blank">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.<span><font color="#888888"><br clear="all">
<div><br>
</div>
-- <br>
<div>HeCSa<br>
</div>
</font></span></div>
</div>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">HeCSa</div>
</div>