<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey Denis, thanks for the response...<br>
    <br>
    I was just using apt to install isc-dchp server on ubuntu 14.04<br>
    Server is quad core xeon with 8 gigs of ram with a software raid 1
    disks<br>
    <br>
    But maybe i should consider your way...<br>
    <br>
    I was just doing some testing using a ramdisk for the
    /var/lib/dhcp/dchpd.leases files<br>
    <br>
    Our leases are short for special reasons... 20 minutes<br>
    <br>
    so on a dev machine i created a ramdisk of 2 gigs, and backup the
    leases files to  a hard disk each 5 mins, and on restart the
    /etc/init/isc-dhcp-server.conf will  copy the files from backup to
    /ramdisk  then start dhcp<br>
    <br>
    on dev it works fine... but i may consider your way now...<br>
    <br>
    we tend to shy away from compiling stuff.. :(<br>
    <br>
    Even after 24 hours after start of  the peer never came out of
    recovery mode, not sure why..<br>
    <br>
    Currently we made dhcp-2 a standalone server and it currently has
    217335 leases in it, but i will need to double that at least in
    coming weeks..<br>
    <br>
    Server is currently ....<br>
    <br>
    top - 10:55:08 up 22:55,  2 users,  load average: 2.00, 1.99, 1.93<br>
    Tasks: 116 total,   1 running, 115 sleeping,   0 stopped,   0 zombie<br>
    %Cpu0  :  0.9 us,  0.5 sy,  0.0 ni, 25.8 id, 72.8 wa,  0.0 hi,  0.0
    si,  0.0 st<br>
    %Cpu1  :  1.4 us,  0.5 sy,  0.0 ni, 74.3 id, 23.4 wa,  0.0 hi,  0.5
    si,  0.0 st<br>
    %Cpu2  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0
    si,  0.0 st<br>
    %Cpu3  :  0.5 us,  0.0 sy,  0.0 ni, 99.5 id,  0.0 wa,  0.0 hi,  0.0
    si,  0.0 st<br>
    KiB Mem:   8092320 total,  5007076 used,  3085244 free,   164496
    buffers<br>
    KiB Swap:  7810044 total,        0 used,  7810044 free.  4129916
    cached Mem<br>
    <br>
      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+
    COMMAND                                                                                                                                                                 
    <br>
    12979 root      20   0  565060 559220   2524 D   2.3  6.9  15:08.17
    dhcpd                                                                                                                                                                   
    <br>
     1713 syslog    20   0  255848   2924   2428 S   0.9  0.0   3:16.05
    rsyslogd                                                                                                                                                                
    <br>
      215 root      20   0       0      0      0 S   0.5  0.0   2:00.89
    jbd2/md2-8                                                                                                                                                              
    <br>
      412 root       0 -20       0      0      0 S   0.5  0.0   1:13.95
    kworker/0:1H                                                                                                                                                            
    <br>
    14300 root      20   0       0      0      0 S   0.5  0.0   0:41.33
    kworker/0:2                                                                                                                                                             
    <br>
        1 root      20   0   33620   4284   2824 S   0.0  0.1   0:01.19
    init       <br>
    <br>
    I will try your suggestion on dev machine<br>
    Do you use or know of a tool that i can use to simulate dhcp request
    for testing on my dev machine?<br>
    <br>
    Thanks for your help!<br>
    <pre class="moz-signature" cols="72">Rob Morin
Montreal, Canada
 
CE COURRIEL AINSI QUE CES DOCUMENTS JOINTS peuvent contenir des renseignements confidentiels et privilégiés. Si vous n’êtes pas le destinataire désigné, veuillez nous en informer immédiatement et effacer toute copie. Merci.
THIS EMAIL AND THE DOCUMENTS ATTACHED may contain privileged or confidential information. If the reader of this message is not the intended recipient, please notify the sender immediately and delete the original message. Thank you.

</pre>
    <div class="moz-cite-prefix">On 2016-01-29 9:58 AM, Denis Laventure
      wrote:<br>
    </div>
    <blockquote
      cite="mid:123B7A0675D6F14CAD2B8A35CECFA1CE1271CD2460@exmbox-a.uqac.ca"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">Hi Rob, <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">I can't
            help for issue on your interface problem but I think I can
            help with the performance.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">I used to
            have performance problem with my failover setup and someone
            at ISC told me to change some value in the code to get debug
            information about memory usage.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">Add this to
            the file "includes/dhcpd.h"<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">#if
            !defined (REPORT_HASH_PERFORMANCE)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US"># define
            REPORT_HASH_PERFORMANCE 1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">#endif<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">Compile and
            start the daemon and you should get something like this on
            screen and in the log:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            DHCP name hash: Contents/Size (%): 106/401 (26%). Min/max:
            0/2<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            DHCP code hash: Contents/Size (%): 106/254 (41%). Min/max:
            0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            NWIP name hash: Contents/Size (%): 11/17 (64%). Min/max: 0/2<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            NWIP code hash: Contents/Size (%): 11/17 (64%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            FQDN name hash: Contents/Size (%): 8/13 (61%). Min/max: 0/2<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            FQDN code hash: Contents/Size (%): 8/13 (61%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            VIVCO name hash: Contents/Size (%): 1/127 (0%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            VIVCO code hash: Contents/Size (%): 1/127 (0%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            VIVSO name hash: Contents/Size (%): 1/127 (0%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            VIVSO code hash: Contents/Size (%): 1/127 (0%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            ISC name hash: Contents/Size (%): 2/3 (66%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            ISC code hash: Contents/Size (%): 2/3 (66%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Relay Agent name hash: Contents/Size (%): 5/11 (45%).
            Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Relay Agent code hash: Contents/Size (%): 5/11 (45%).
            Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Server-Config Option name hash: Contents/Size (%): 67/136
            (49%). Min/max: 0/4<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Server-Config Option code hash: Contents/Size (%): 67/136
            (49%). Min/max: 0/1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            data: hardware: no raw packet or lease is available<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            data: hardware: no raw packet or lease is available<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            data: hardware: no raw packet or lease is available<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            data: hardware: no raw packet or lease is available<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            data: hardware: no raw packet or lease is available<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            data: hardware: no raw packet or lease is available<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Config file: /dhcpd/dhcpd.conf<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Database file: /dhcpd/dhcpd.leases<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            PID file: /var/run/dhcpd.pid<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Wrote 0 class decls to leases file.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Wrote 0 deleted host decls to leases file.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Wrote 0 new dynamic host decls to leases file.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Wrote 48578 leases to leases file.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Host HW hash:   Contents/Size (%): 1420/22501 (6%). Min/max:
            0/4<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Host UID hash:  No table.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Lease IP hash:  Contents/Size (%): 70324/100003 (70%).
            Min/max: 0/5<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Lease UID hash: Contents/Size (%): 8708/100003 (8%).
            Min/max: 0/3<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">dhcpd:
            Lease HW hash:  Contents/Size (%): 9036/100003 (9%).
            Min/max: 0/3<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">"Lease IP
            hash" is where you should look.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">By default
            the server use a lease hash size value of 100003. I had over
            350000 leases so I was exceeding that value and the server
            was very slow to start.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">To change
            the size you must edit the file "includes/dhcpd.h" and find
            LEASE_HASH_SIZE and replace the value. This value must be a
            prime number (I used 400009).<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">-#
            define LEASE_HASH_SIZE       100003<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";color:#1F497D;mso-fareast-language:EN-US">+#
            define LEASE_HASH_SIZE       400009<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">Compile and
            start again. That was the answer for me. <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">One other
            thing with the failover setup, the peer will always be in
            recover state when starting for the duration of the "MCLT"
            (time in second) in your failover definition (1800 in your
            case), so it will be in recover start for 30 minutes. I use
            300 (5 minutes).<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">Le texte
            aurait été plus facile à écrire en français mais comme la
            liste est en anglais et que ça peut aider d'autres personnes
            alors je me suis forcé. En espérant que ce soit clair pour
            toi !<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">Denis
            Laventure<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US">Université
            du Québec à Chicoutimi<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span lang="FR">De :</span></b><span
                lang="FR"> <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users-bounces@lists.isc.org">dhcp-users-bounces@lists.isc.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:dhcp-users-bounces@lists.isc.org">mailto:dhcp-users-bounces@lists.isc.org</a>] <b>De la part
                  de</b> Rob Morin<br>
                <b>Envoyé :</b> 27 janvier 2016 20:12<br>
                <b>À :</b> <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
                <b>Objet :</b> ISC-dhcp subnet limit?<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="EN-US">Hello all, my first post
            here, so please be gentle </span><span
            style="font-family:Wingdings" lang="EN-US">J</span><span
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">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)<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"><span lang="EN-US">Is there a max
            limit to how many subnets can be used in the pools? As
            currently we are using just over 6000 subnets<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span lang="EN-US">Currently our
            secondary dhcp-server is always in recovery mode, not sure
            why?<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span lang="EN-US">Does it matter if
            a DISCOVER comes in on eth1 but OFFER goes out on eth0?<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">My primary server
            /etc/dhcpd.conf file<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">authoritative;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">log-facility local7;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">option domain-name
            "dyn";<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">option
            domain-name-servers 172.30.64.210, 172.30.64.220;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">default-lease-time 1200;
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">max-lease-time 3600; #
            1h<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">include
            "/etc/dhcp/dhcpd_pools.conf";<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"># Include the primary
            configuration<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">include
            "/etc/dhcp/dhcpd_primary.conf";<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">/etc/dhcp/dhcpd_primary has the following<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">                             
            ## PRIMARY<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">failover peer "tdl-dhcp-failover" {<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  primary; # declare this to be the primary
            server<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">               address
            172.30.128.9;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">               port 647;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  peer address 172.30.128.10;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  peer port 647;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  max-response-delay 30;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  max-unacked-updates 10;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  load balance max seconds 3;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  mclt 1800;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">  split 128;<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><span
            lang="EN-US">}<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Exert from dhcpd_pools
            file, starts like this….<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">                             
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">subnet 10.32.0.0 netmask
            255.255.255.0 {<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">  option routers
            10.32.0.1;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">  pool {<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        failover peer
            "dhcp-failover";<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        range 10.32.0.5
            10.32.0.254;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">  }<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">}<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">And finishes like this,
            with all the subnets in between…<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">subnet 10.57.255.0
            netmask 255.255.255.0 {<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">  option routers
            10.57.255.1;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">  pool {<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        failover peer
            "dhcp-failover";<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        range
            10.57.255.5 10.57.255.254;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">  }<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">}<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Example Exert from logs
            on both serves of a client that could not get an IP<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:black" lang="EN-US"><br>
            <span style="background:white">from dhcp-1<span
                class="apple-converted-space"> </span></span><br>
            <span style="background:white">Jan 27 18:30:31 dhcp-1 dhcpd:
              DHCPDISCOVER from fc:e9:98:bc:a8:7b (iPhone) via
              10.50.170.1<span class="apple-converted-space"> </span></span><br>
            <span style="background:white">Jan 27 18:30:31 dhcp-1 dhcpd:
              DHCPOFFER on 10.50.170.93 to fc:e9:98:bc:a8:7b (iPhone)
              via 10.50.170.1<span class="apple-converted-space"> </span></span><br>
            <br>
            <span style="background:white">from dhcp-2<span
                class="apple-converted-space"> </span></span><br>
            <span style="background:white">Jan 27 18:53:55 dhcp-2 dhcpd:
              DHCPDISCOVER from fc:e9:98:bc:a8:7b via 10.50.170.1: peer
              holds all free leases<span class="apple-converted-space"> </span></span><br>
            <span style="background:white">Jan 27 18:54:04 dhcp-2 dhcpd:
              DHCPDISCOVER from fc:e9:98:bc:a8:7b via 10.50.170.1: peer
              holds all free leases<span class="apple-converted-space"> </span></span></span><span
            class="apple-converted-space"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:black;background:white"><o:p></o:p></span></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="EN-US">Never see the ACK.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Any suggestion would be
            greatly appreciated.. :<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Thanks…<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Rob <o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Montreal Canada<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>