<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-01-27 23:12 GMT-02:00 Rob Morin <span dir="ltr"><<a href="mailto:rmorin@datavalet.com" target="_blank">rmorin@datavalet.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p class="MsoNormal">Hello all, my first post here, so please be gentle <span style="font-family:Wingdings">
J</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have inherited 2 dhcp servers, one primary(dhcp-1) & one secondary(dhcp-2) running isc-dhcpd-4.2.4 on Ubuntu 14.0(Trusty)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We are having a few issues, and I cannot seem to figure out whats going on. I have a few questions, maybe someone can help me with.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p>Is there a max limit to how many subnets can be used in the pools? As currently we are using just over 6000 subnets<u></u><u></u></p>
<p>Currently our secondary dhcp-server is always in recovery mode, not sure why?<u></u><u></u></p>
<p>Does it matter if a DISCOVER comes in on eth1 but OFFER goes out on eth0?</p></div></div></blockquote><div><br></div><div>Hi Rob, I saw from other messages that you're using bonded interfaces. I understand that, as far as you start using bonded interfaces, you must attach your DHCP server to the logical interfaces (bond0, bond1, etc), not the physical ones. When you do that, the system will direct the packets to one of the physical interfaces in a suitable way.<br><br></div><div>You've also said on other messages that you have two VLANs, and I understand that your servers are capable of sending do1q labeled frames. If so, you must have at least two logical interfaces ontop your bonded interface; if so, you must attach your DHCP server to the vlan interfaces (vlan1, vlan2, etc.). Keep in mind, also, that your L3 Switch (or whatever equipment is doing your inter-vlan routing) may act as a "dhcp relay", so you don't need that your DHCP server talks to all of the vlans, as far as it haves connectivity with the dhcp relay.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div><p><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My primary server /etc/dhcpd.conf file<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">authoritative;<u></u><u></u></p>
<p class="MsoNormal">log-facility local7;<u></u><u></u></p>
<p class="MsoNormal">option domain-name "dyn";<u></u><u></u></p>
<p class="MsoNormal">option domain-name-servers 172.30.64.210, 172.30.64.220;<u></u><u></u></p>
<p class="MsoNormal">default-lease-time 1200; <u></u><u></u></p>
<p class="MsoNormal">max-lease-time 3600; # 1h<u></u><u></u></p>
<p class="MsoNormal">include "/etc/dhcp/dhcpd_pools.conf";<u></u><u></u></p>
<p class="MsoNormal"># Include the primary configuration<u></u><u></u></p>
<p class="MsoNormal">include "/etc/dhcp/dhcpd_primary.conf";<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-indent:.5in">/etc/dhcp/dhcpd_primary has the following<u></u><u></u></p>
<p class="MsoNormal">                              ## PRIMARY<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">failover peer "tdl-dhcp-failover" {<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  primary; # declare this to be the primary server<u></u><u></u></p>
<p class="MsoNormal">               address 172.30.128.9;<u></u><u></u></p>
<p class="MsoNormal">               port 647;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  peer address 172.30.128.10;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  peer port 647;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  max-response-delay 30;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  max-unacked-updates 10;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  load balance max seconds 3;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  mclt 1800;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">  split 128;<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">}<u></u><u></u></p>
<p class="MsoNormal"><u></u></p></div></div></blockquote><div><br></div><div>Could you please show the configuration of your secondary DHCP server? Just the "failover peer section" may be enough.<span style="background:white"></span><br></div></div><br></div></div>